attributetypefactory.html

来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 772 行 · 第 1/4 页

HTML
772 行
字号
<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the default instance of AttributeTypeFactory.</DL></DD></DL><HR><A NAME="newInstance()"><!-- --></A><H3>newInstance</H3><PRE>public static <A HREF="../../../org/geotools/feature/AttributeTypeFactory.html" title="class in org.geotools.feature">AttributeTypeFactory</A> <B>newInstance</B>()</PRE><DL><DD>Returns a new instance of the current AttributeTypeFactory. If no implementations are found then DefaultAttributeTypeFactory is returned.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A new instance of an AttributeTypeFactory.</DL></DD></DL><HR><A NAME="newAttributeType(java.lang.String, java.lang.Class, boolean, int, java.lang.Object)"><!-- --></A><H3>newAttributeType</H3><PRE>public static <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> <B>newAttributeType</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,                                             <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;clazz,                                             boolean&nbsp;isNillable,                                             int&nbsp;fieldLength,                                             <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;defaultValue)</PRE><DL><DD>Creates a new AttributeType with the given name, class and nillable values.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the AttributeType to be created.<DD><CODE>clazz</CODE> - The class that objects will validate against.<DD><CODE>isNillable</CODE> - if nulls are allowed in the new type.<DT><B>Returns:</B><DD>A new AttributeType of name, clazz and isNillable.</DL></DD></DL><HR><A NAME="newAttributeType(java.lang.String, java.lang.Class, boolean, int, java.lang.Object, java.lang.Object)"><!-- --></A><H3>newAttributeType</H3><PRE>public static <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> <B>newAttributeType</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,                                             <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;clazz,                                             boolean&nbsp;isNillable,                                             int&nbsp;fieldLength,                                             <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;defaultValue,                                             <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;metaData)</PRE><DL><DD>Creates a new AttributeType with the addition of MetaData. <p> Currently MetaData is used to supply the CoordinateSequence when making a GeometryAttributeType. </p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - <DD><CODE>clazz</CODE> - <DD><CODE>isNillable</CODE> - <DD><CODE>fieldLength</CODE> - <DD><CODE>defaultValue</CODE> - <DD><CODE>metaData</CODE> - </DL></DD></DL><HR><A NAME="newAttributeType(java.lang.String, java.lang.Class, boolean, org.geotools.filter.Filter, java.lang.Object, java.lang.Object)"><!-- --></A><H3>newAttributeType</H3><PRE>public static <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> <B>newAttributeType</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,                                             <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;clazz,                                             boolean&nbsp;isNillable,                                             <A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A>&nbsp;restriction,                                             <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;defaultValue,                                             <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;metaData)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="newAttributeType(java.lang.String, java.lang.Class, boolean, int)"><!-- --></A><H3>newAttributeType</H3><PRE>public static <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> <B>newAttributeType</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,                                             <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;clazz,                                             boolean&nbsp;isNillable,                                             int&nbsp;fieldLength)</PRE><DL><DD>Creates a new AttributeType with the given name, class and nillable values.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the AttributeType to be created.<DD><CODE>clazz</CODE> - The class that objects will validate against.<DD><CODE>isNillable</CODE> - if nulls are allowed in the new type.<DT><B>Returns:</B><DD>A new AttributeType of name, clazz and isNillable.</DL></DD></DL><HR><A NAME="newAttributeType(java.lang.String, java.lang.Class, boolean)"><!-- --></A><H3>newAttributeType</H3><PRE>public static <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> <B>newAttributeType</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,                                             <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;clazz,                                             boolean&nbsp;isNillable)</PRE><DL><DD>Creates a new AttributeType with the given name, class and nillable values.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the AttributeType to be created.<DD><CODE>clazz</CODE> - The class that objects will validate against.<DD><CODE>isNillable</CODE> - if nulls are allowed in the new type.<DT><B>Returns:</B><DD>A new AttributeType of name, clazz and isNillable.</DL></DD></DL><HR><A NAME="newAttributeType(java.lang.String, java.lang.Class)"><!-- --></A><H3>newAttributeType</H3><PRE>public static <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> <B>newAttributeType</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,                                             <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;clazz)</PRE><DL><DD>Convenience method to just specify name and class.  Nulls are allowed as attributes by default (isNillable = <code>true</code>).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the AttributeType to be created.<DD><CODE>clazz</CODE> - The class that objects will validate against.<DT><B>Returns:</B><DD>A new AttributeType of name and clazz.</DL></DD></DL><HR><A NAME="newAttributeType(java.lang.String, org.geotools.feature.FeatureType, boolean)"><!-- --></A><H3>newAttributeType</H3><PRE>public static <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> <B>newAttributeType</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,                                             <A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;type,                                             boolean&nbsp;isNillable)</PRE><DL><DD>Constucts a new AttributeType that accepts Features (specified by a FeatureType)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the AttributeType to be created.<DD><CODE>type</CODE> - the FeatureType that features will validate agist<DD><CODE>isNillable</CODE> - true iff nulls are allowed.<DT><B>Returns:</B><DD>A new AttributeType of name, type, and isNillable.</DL></DD></DL><HR><A NAME="newAttributeType(java.lang.String, org.geotools.feature.FeatureType)"><!-- --></A><H3>newAttributeType</H3><PRE>public static <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> <B>newAttributeType</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,                                             <A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;type)</PRE><DL><DD>Constucts a new AttributeType that accepts Feature (specified by a FeatureType).  Nulls are allowed as attributes by default (isNillable = <code>true</code>).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the AttributeType to be created.<DD><CODE>type</CODE> - the FeatureType that features will validate agist<DT><B>Returns:</B><DD>A new AttributeType of name and type.</DL></DD></DL><HR>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?