defaultattributetypefactory.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 487 行 · 第 1/3 页
HTML
487 行
<BR> Implementation of AttributeType creation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/feature/DefaultAttributeTypeFactory.html#createAttributeType(java.lang.String, java.lang.Class, boolean, int)">createAttributeType</A></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> 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> clazz, boolean isNillable, int fieldLength)</CODE><BR> Create an AttributeType with the given name, Class, nillability, and fieldLength meta-data. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/feature/DefaultAttributeTypeFactory.html#createAttributeType(java.lang.String, java.lang.Class, boolean, int, java.lang.Object)">createAttributeType</A></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> 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> clazz, boolean isNillable, int 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> defaultValue)</CODE><BR> Implementation of AttributeType creation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/feature/DefaultAttributeTypeFactory.html#createAttributeType(java.lang.String, java.lang.Class, boolean, int, java.lang.Object, java.lang.Object)">createAttributeType</A></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> 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> clazz, boolean isNillable, int 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> 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> metaData)</CODE><BR> Create a Feature AttributeType which holds the a Feature instance which is of the given FeatureType or null if any arbitrary Feature can be held.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/feature/DefaultAttributeTypeFactory.html#createAttributeType(java.lang.String, org.geotools.feature.FeatureType, boolean)">createAttributeType</A></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> name, <A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> type, boolean isNillable)</CODE><BR> Creates the DefaultAttributeType.Feature</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/feature/DefaultAttributeTypeFactory.html#length(int, java.lang.String)">length</A></B>(int fieldLength, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> attributeXPath)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/feature/DefaultAttributeTypeFactory.html#setFilterFactory(org.geotools.filter.FilterFactory)">setFilterFactory</A></B>(<A HREF="../../../org/geotools/filter/FilterFactory.html" title="interface in org.geotools.filter">FilterFactory</A> factory)</CODE><BR> </TD></TR></TABLE> <A NAME="methods_inherited_from_class_AttributeTypeFactory"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../org/geotools/feature/AttributeTypeFactory.html" title="class in org.geotools.feature">AttributeTypeFactory</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/feature/AttributeTypeFactory.html#defaultInstance()">defaultInstance</A>, <A HREF="../../../org/geotools/feature/AttributeTypeFactory.html#getImplementationHints()">getImplementationHints</A>, <A HREF="../../../org/geotools/feature/AttributeTypeFactory.html#newAttributeType(java.lang.String, java.lang.Class)">newAttributeType</A>, <A HREF="../../../org/geotools/feature/AttributeTypeFactory.html#newAttributeType(java.lang.String, java.lang.Class, boolean)">newAttributeType</A>, <A HREF="../../../org/geotools/feature/AttributeTypeFactory.html#newAttributeType(java.lang.String, java.lang.Class, boolean, org.geotools.filter.Filter, java.lang.Object, java.lang.Object)">newAttributeType</A>, <A HREF="../../../org/geotools/feature/AttributeTypeFactory.html#newAttributeType(java.lang.String, java.lang.Class, boolean, int)">newAttributeType</A>, <A HREF="../../../org/geotools/feature/AttributeTypeFactory.html#newAttributeType(java.lang.String, java.lang.Class, boolean, int, java.lang.Object)">newAttributeType</A>, <A HREF="../../../org/geotools/feature/AttributeTypeFactory.html#newAttributeType(java.lang.String, java.lang.Class, boolean, int, java.lang.Object, java.lang.Object)">newAttributeType</A>, <A HREF="../../../org/geotools/feature/AttributeTypeFactory.html#newAttributeType(java.lang.String, org.geotools.feature.FeatureType)">newAttributeType</A>, <A HREF="../../../org/geotools/feature/AttributeTypeFactory.html#newAttributeType(java.lang.String, org.geotools.feature.FeatureType, boolean)">newAttributeType</A>, <A HREF="../../../org/geotools/feature/AttributeTypeFactory.html#newInstance()">newInstance</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="DefaultAttributeTypeFactory()"><!-- --></A><H3>DefaultAttributeTypeFactory</H3><PRE>public <B>DefaultAttributeTypeFactory</B>()</PRE><DL></DL><HR><A NAME="DefaultAttributeTypeFactory(org.geotools.filter.FilterFactory)"><!-- --></A><H3>DefaultAttributeTypeFactory</H3><PRE>public <B>DefaultAttributeTypeFactory</B>(<A HREF="../../../org/geotools/filter/FilterFactory.html" title="interface in org.geotools.filter">FilterFactory</A> factory)</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setFilterFactory(org.geotools.filter.FilterFactory)"><!-- --></A><H3>setFilterFactory</H3><PRE>public void <B>setFilterFactory</B>(<A HREF="../../../org/geotools/filter/FilterFactory.html" title="interface in org.geotools.filter">FilterFactory</A> factory)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="createAttributeType(java.lang.String, java.lang.Class, boolean, int)"><!-- --></A><H3>createAttributeType</H3><PRE>protected <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> <B>createAttributeType</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> 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> clazz, boolean isNillable, int fieldLength)</PRE><DL><DD>Create an AttributeType with the given name, Class, nillability, and fieldLength meta-data. This method will itself call <code> createAttributeType(String,Class,boolean,int,Object) </code> with null as the default value. To use your own default value, use the above method, providing your default value.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/feature/AttributeTypeFactory.html#createAttributeType(java.lang.String, java.lang.Class, boolean, int)">createAttributeType</A></CODE> in class <CODE><A HREF="../../../org/geotools/feature/AttributeTypeFactory.html" title="class in org.geotools.feature">AttributeTypeFactory</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the AttributeType to create.<DD><CODE>clazz</CODE> - the class of the AttributeType to create.<DD><CODE>isNillable</CODE> - whether the AttributeType should allow nulls.<DT><B>Returns:</B><DD>the newly created AttributeType</DL></DD></DL><HR>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?