featureattributetype.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 449 行 · 第 1/2 页
HTML
449 行
<BR> <B>Deprecated.</B> <I>repalce with: <code>type instanceof GeometryAttributeType</code></I></TD></TR></TABLE> <A NAME="methods_inherited_from_class_AttributeType"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/feature/AttributeType.html#getMaxOccurs()">getMaxOccurs</A>, <A HREF="../../../org/geotools/feature/AttributeType.html#getMinOccurs()">getMinOccurs</A>, <A HREF="../../../org/geotools/feature/AttributeType.html#getName()">getName</A>, <A HREF="../../../org/geotools/feature/AttributeType.html#isNillable()">isNillable</A>, <A HREF="../../../org/geotools/feature/AttributeType.html#parse(java.lang.Object)">parse</A>, <A HREF="../../../org/geotools/feature/AttributeType.html#validate(java.lang.Object)">validate</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="createDefaultValue()"><!-- --></A><H3>createDefaultValue</H3><PRE>public <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>createDefaultValue</B>()</PRE><DL><DD>Method should delegate responsibility to a FeatureFactory.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/feature/AttributeType.html#createDefaultValue()">createDefaultValue</A></CODE> in interface <CODE><A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Default value, note may be null if isNillable is true<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/feature/AttributeType.html#createDefaultValue()"><CODE>AttributeType.createDefaultValue()</CODE></A></DL></DD></DL><HR><A NAME="duplicate(java.lang.Object)"><!-- --></A><H3>duplicate</H3><PRE>public <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>duplicate</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> src) throws <A HREF="../../../org/geotools/feature/IllegalAttributeException.html" title="class in org.geotools.feature">IllegalAttributeException</A></PRE><DL><DD>Method should return getSchema().duplicate( feature ) <p> Exampe implementation: <pre><code> <b>return</b> getSchema().duplicate( (Feature) getValue() ); </code></pre> It is understood that FeatureType.duplicate </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/feature/AttributeType.html#duplicate(java.lang.Object)">duplicate</A></CODE> in interface <CODE><A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>src</CODE> - The Object to duplicate.<DT><B>Returns:</B><DD>Duplicate of provided object<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/feature/IllegalAttributeException.html" title="class in org.geotools.feature">IllegalAttributeException</A></CODE> - If the src Object is not the correct type.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/feature/AttributeType.html#duplicate(java.lang.Object)"><CODE>AttributeType.duplicate(java.lang.Object)</CODE></A></DL></DD></DL><HR><A NAME="getType()"><!-- --></A><H3>getType</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> <B>getType</B>()</PRE><DL><DD>Method must return type Feature.class. <p> Exampe implementation: <pre><code> <b>return</b> Feature.class; </code></pre> </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/feature/AttributeType.html#getType()">getType</A></CODE> in interface <CODE><A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Type.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/feature/AttributeType.html#getType()"><CODE>AttributeType.getType()</CODE></A></DL></DD></DL><HR><A NAME="getSchema()"><!-- --></A><H3>getSchema</H3><PRE>public <A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> <B>getSchema</B>()</PRE><DL><DD>Retrieve the schema for this FeatureType<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>CS_CoordinateSystem for this GeometryAttributeType</DL></DD></DL><HR><A NAME="isGeometry()"><!-- --></A><H3>isGeometry</H3><PRE>public boolean <B>isGeometry</B>()</PRE><DL><DD><B>Deprecated.</B> <I>repalce with: <code>type instanceof GeometryAttributeType</code></I><P><DD>Must return <code>false</code>.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>DOCUMENT ME!<DT><B>See Also:</B><DD><CODE>org.geotools.feature.AttributeType#isGeometry()</CODE></DL></DD></DL><HR><A NAME="getRestriction()"><!-- --></A><H3>getRestriction</H3><PRE>public <A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> <B>getRestriction</B>()</PRE><DL><DD>Filter must indicate value is required to be a member of getSchema(). <p> TODO: We need a Filter code snipit describing how to enforce the indicated relationship. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/feature/AttributeType.html#getRestriction()">getRestriction</A></CODE> in interface <CODE><A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Filter, or Filter.NONE if no restriction is needed.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/feature/AttributeType.html#getRestriction()"><CODE>AttributeType.getRestriction()</CODE></A></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/FeatureAttributeType.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/Feature.html" title="interface in org.geotools.feature"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/feature/FeatureCollection.html" title="interface 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="FeatureAttributeType.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -
显示快捷键?