📄 vpffeaturetype.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/feature/GeometryAttributeType.html" title="interface in org.geotools.feature">GeometryAttributeType</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/vpf/VPFFeatureType.html#getDefaultGeometry()">getDefaultGeometry</A></B>()</CODE><BR> Gets the default geometry AttributeType. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/vpf/VPFFeatureType.html#getDirectoryName()">getDirectoryName</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/vpf/VPFFeatureType.html#getFaccCode()">getFaccCode</A></B>()</CODE><BR> The FACC code, a two-letter, 3-number code identifying the feature type</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/data/vpf/VPFFeatureClass.html" title="class in org.geotools.data.vpf">VPFFeatureClass</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/vpf/VPFFeatureType.html#getFeatureClass()">getFeatureClass</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/vpf/VPFFeatureType.html#getFileList()">getFileList</A></B>()</CODE><BR> Returns a list of file objects</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/vpf/VPFFeatureType.html#getJoinList()">getJoinList</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URI.html" title="class or interface in java.net">URI</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/vpf/VPFFeatureType.html#getNamespace()">getNamespace</A></B>()</CODE><BR> Gets the global schema namespace. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/vpf/VPFFeatureType.html#getTypeName()">getTypeName</A></B>()</CODE><BR> Gets the type name for this schema. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/vpf/VPFFeatureType.html#hasAttributeType(java.lang.String)">hasAttributeType</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> xPath)</CODE><BR> This is only used twice in the whole geotools code base, and one of those is for a test, so we're removing it from the interface. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/vpf/VPFFeatureType.html#hashCode()">hashCode</A></B>()</CODE><BR> Hascode based on namespace, typeName, attributes and ancestors. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/vpf/VPFFeatureType.html#isAbstract()">isAbstract</A></B>()</CODE><BR> Is this FeatureType an abstract type? </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/vpf/VPFFeatureType.html#isDescendedFrom(org.geotools.feature.FeatureType)">isDescendedFrom</A></B>(<A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> type)</CODE><BR> A convenience method for calling <br> <code> FeatureType f1; FeatureType f2; f1.isDescendedFrom(f2.getNamespace(), f2.getName()); </code> Question: this method duplicates the information provided by getAncestors(). </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/vpf/VPFFeatureType.html#isDescendedFrom(java.net.URI, java.lang.String)">isDescendedFrom</A></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> 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> typeName)</CODE><BR> Test to determine whether this FeatureType is descended from the given FeatureType. </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#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#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="VPFFeatureType(org.geotools.data.vpf.VPFFeatureClass, org.geotools.feature.Feature)"><!-- --></A><H3>VPFFeatureType</H3><PRE>public <B>VPFFeatureType</B>(<A HREF="../../../../org/geotools/data/vpf/VPFFeatureClass.html" title="class in org.geotools.data.vpf">VPFFeatureClass</A> cFeatureClass, <A HREF="../../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> cFeature)</PRE><DL><DD>Constructor<P><DT><B>Parameters:</B><DD><CODE>cFeatureClass</CODE> - The owning feature class<DD><CODE>cFeature</CODE> - A <code>Feature</code> from the char.vdt file with more detailed information for this feature type</DL><HR><A NAME="VPFFeatureType(org.geotools.data.vpf.VPFFeatureClass)"><!-- --></A><H3>VPFFeatureType</H3><PRE>public <B>VPFFeatureType</B>(<A HREF="../../../../org/geotools/data/vpf/VPFFeatureClass.html" title="class in org.geotools.data.vpf">VPFFeatureClass</A> cFeatureClass)</PRE><DL><DD>A constructor for feature types with no information in a char.vdt file.<P><DT><B>Parameters:</B><DD><CODE>cFeatureClass</CODE> - The owning feature class</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="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>[] 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 reference (NAME, LOCATION, HIEGHT, DATE, HISTORY) </ul> <p> Explicitly a FeatureID should be persistant over time, and between systems. <p> The FeatureIDs "generated" by this method are generally created by a datasource. This method is more for testing that doesn't need featureID. </p> <p> Warning: This class does not follow the geotools guidelines of sepearting out Interface from Factory, in geotools 2.3 there will be a formal FeatureFactory allowing you to provide application specific FeatureImplementations as an orthogonal concern to definition of type. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/feature/FeatureType.html#create(java.lang.Object[])">create</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>attributes</CODE> - the array of attribute values<DT><B>Returns:</B><DD>The created feature<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/feature/IllegalAttributeException.html" title="class in org.geotools.feature">IllegalAttributeException</A></CODE> - if the FeatureType does not validate the attributes.</DL></DD></DL><HR><A NAME="create(java.lang.Object[], java.lang.String)"><!-- --></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>[] attributes, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> featureID) 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>Scheduled for removal in Geotools 2.2, please use FeatureFactory. <p> Creates a new feature, with the indicated featureID. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/feature/FeatureType.html#create(java.lang.Object[], java.lang.String)">create</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>attributes</CODE> - the array of attribute values.<DD><CODE>featureID</CODE> - the feature ID.<DT><B>Returns:</B><DD>the created feature.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/feature/IllegalAttributeException.html" title="class in org.geotools.feature">IllegalAttributeException</A></CODE> - if the FeatureType does not validate the attributes.</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> 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="find(org.geotools.feature.AttributeType)"><!-- --></A><H3>find</H3><PRE>public int <B>find</B>(<A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> 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>Find the position of a given AttributeType. <p> Match is based on attribute type name, the resulting index may be used with getAttributeType( index ). </p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -