⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vpffeatureclass.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<DT><B>Returns:</B><DD>number of distinct attributeTypes available, taking ancestors and taking overrides         into account.</DL></DD></DL><HR><A NAME="getAttributeType(int)"><!-- --></A><H3>getAttributeType</H3><PRE>public <A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> <B>getAttributeType</B>(int&nbsp;position)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A></CODE></B></DD><DD>Gets the schema attributeType at the specified index. <p> The index is specified with respect to the entire Schema (as defined by this FeatureType and it's ancestors). <p> <ul> The index value should not be used with either: <li>FeatureType.getAttributeTypes()[index] - as it defines only attributes contributed by this FeatureType <li>Feature.getAttribute( index ) - as attributes order may or may not be in sequence </ul> </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/feature/FeatureType.html#getAttributeType(int)">getAttributeType</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>position</CODE> - a integer index into the complete schema represented by                  this FeatureType and its ancestors<DT><B>Returns:</B><DD>the attribute type at the specified position</DL></DD></DL><HR><A NAME="isDescendedFrom(java.net.URI, java.lang.String)"><!-- --></A><H3>isDescendedFrom</H3><PRE>public boolean <B>isDescendedFrom</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URI.html" title="class or interface in java.net">URI</A>&nbsp;nsURI,                               <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;typeName)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A></CODE></B></DD><DD>Test to determine whether this FeatureType is descended from the given FeatureType. Think of this relationship likes the "extends" relationship in java.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/feature/FeatureType.html#isDescendedFrom(java.net.URI, java.lang.String)">isDescendedFrom</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>nsURI</CODE> - The namespace URI to use.<DD><CODE>typeName</CODE> - The typeName.<DT><B>Returns:</B><DD>true if descendant, false otherwise.</DL></DD></DL><HR><A NAME="isDescendedFrom(org.geotools.feature.FeatureType)"><!-- --></A><H3>isDescendedFrom</H3><PRE>public boolean <B>isDescendedFrom</B>(<A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;type)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A></CODE></B></DD><DD>A convenience method for calling <br> <code><pre> FeatureType f1; FeatureType f2; f1.isDescendedFrom(f2.getNamespace(), f2.getName()); </pre></code> <p> Question: this method duplicates the information provided by getAncestors(). </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/feature/FeatureType.html#isDescendedFrom(org.geotools.feature.FeatureType)">isDescendedFrom</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - The type to compare to.<DT><B>Returns:</B><DD>true if descendant, false otherwise.</DL></DD></DL><HR><A NAME="isAbstract()"><!-- --></A><H3>isAbstract</H3><PRE>public boolean <B>isAbstract</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A></CODE></B></DD><DD>Is this FeatureType an abstract type? <p> When true is returned instances of this Feature cannot be created, instead a child FeatureType must use this FeatureType as its ancestor. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/feature/FeatureType.html#isAbstract()">isAbstract</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if abstract, false otherwise.</DL></DD></DL><HR><A NAME="getAncestors()"><!-- --></A><H3>getAncestors</H3><PRE>public <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>[] <B>getAncestors</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A></CODE></B></DD><DD>Obtain an array of this FeatureType's direct ancestors. Implementors should return a non-null array (may be of length 0). <p> <ul> <li>length 0 - a root FeatureType <li>length 1 - singe inhieratance <li>length 1+ - multiple inheiratance, order is not significant </ul> </p> GetAncestors() indicates *just* the direct parents of this FeatureType. It capures the inheirtance relationship from the OGC overview document. </p> <p> Example Code:<pre><code> public FeatureType getAncestors()}     return new FeatureType[]{ getSuper(), }; } </code></pre> </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/feature/FeatureType.html#getAncestors()">getAncestors</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>An array of ancestors.</DL></DD></DL><HR><A NAME="duplicate(org.geotools.feature.Feature)"><!-- --></A><H3>duplicate</H3><PRE>public <A HREF="../../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> <B>duplicate</B>(<A HREF="../../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A>&nbsp;feature)                  throws <A HREF="../../../../org/geotools/feature/IllegalAttributeException.html" title="class in org.geotools.feature">IllegalAttributeException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A></CODE></B></DD><DD>Create a duplicate of the provided feature, must delegate to an appropriate FeatureFactory create method. <p> The implementation is assumed to make use of AttributeType duplicate as required for a deep copy. </p> //@deprecated This method will be removed in 2.2, please use FeatureFactory obtained from FactoryFinder<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/feature/FeatureType.html#duplicate(org.geotools.feature.Feature)">duplicate</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>feature</CODE> - <DT><B>Returns:</B><DD>a deep copy of feature<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/feature/IllegalAttributeException.html" title="class in org.geotools.feature">IllegalAttributeException</A></CODE></DL></DD></DL><HR><A NAME="create(java.lang.Object[])"><!-- --></A><H3>create</H3><PRE>public <A HREF="../../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> <B>create</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>[]&nbsp;attributes)               throws <A HREF="../../../../org/geotools/feature/IllegalAttributeException.html" title="class in org.geotools.feature">IllegalAttributeException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A></CODE></B></DD><DD>Creates a new feature, with a generated unique featureID. <p> Generating a FeatureID is less than ideal, as a FeatureID should be something special about the "real world object" being modeled as a feature. <p> As an example: the "Effiel Tower" is a great feature id (there is only one) and we can use that Feature ID in serveral systems: <ul> <li>In a tour guide FeatureTypes one which records (NAME, LOCATION, COST); and <li>In a historical referenc

⌨️ 快捷键说明

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