defaultattributetypefactory.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 487 行 · 第 1/3 页
HTML
487 行
<A NAME="createAttributeType(java.lang.String, org.geotools.feature.FeatureType, boolean)"><!-- --></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="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> type, boolean isNillable)</PRE><DL><DD>Creates the DefaultAttributeType.Feature<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/feature/AttributeTypeFactory.html#createAttributeType(java.lang.String, org.geotools.feature.FeatureType, boolean)">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>type</CODE> - To use for validation.<DD><CODE>isNillable</CODE> - whether the AttributeType should allow nulls.<DT><B>Returns:</B><DD>the newly created feature AttributeType.</DL></DD></DL><HR><A NAME="length(int, java.lang.String)"><!-- --></A><H3>length</H3><PRE>protected <A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> <B>length</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)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="createAttributeType(java.lang.String, java.lang.Class, boolean, int, java.lang.Object)"><!-- --></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, <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)</PRE><DL><DD>Implementation of AttributeType creation.<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, java.lang.Object)">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 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>the new AttributeType</DL></DD></DL><HR><A NAME="createAttributeType(java.lang.String, java.lang.Class, boolean, org.geotools.filter.Filter, java.lang.Object, java.lang.Object)"><!-- --></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, <A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter, <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)</PRE><DL><DD>Implementation of AttributeType creation.<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, org.geotools.filter.Filter, java.lang.Object, java.lang.Object)">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 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.<DD><CODE>filter</CODE> - Used to limit the valid values<DT><B>Returns:</B><DD>the new AttributeType</DL></DD></DL><HR><A NAME="createAttributeType(java.lang.String, java.lang.Class, boolean, int, java.lang.Object, java.lang.Object)"><!-- --></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, <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)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../org/geotools/feature/AttributeTypeFactory.html" title="class in org.geotools.feature">AttributeTypeFactory</A></CODE></B></DD><DD>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.<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, java.lang.Object, java.lang.Object)">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 be created.<DD><CODE>clazz</CODE> - The FeatureType that Features will validate against.<DD><CODE>isNillable</CODE> - if nulls are allowed in the new type.<DD><CODE>defaultValue</CODE> - default value, may be null if isNilable is true<DD><CODE>metaData</CODE> - metadata for attribute type (such as CoordianteReferenceSystem)<DT><B>Returns:</B><DD>the new AttributeType</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DefaultAttributeTypeFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/geotools/feature/DefaultAttributeType.html" title="class in org.geotools.feature"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/feature/DefaultFeature.html" title="class in org.geotools.feature"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="DefaultAttributeTypeFactory.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?