featuretypes.html

来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 826 行 · 第 1/4 页

HTML
826 行
字号
</DL><HR><A NAME="newFeatureType(org.geotools.feature.AttributeType[], java.lang.String)"><!-- --></A><H3>newFeatureType</H3><PRE>public static <A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> <B>newFeatureType</B>(<A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A>[]&nbsp;types,                                         <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;name)                                  throws <A HREF="../../../org/geotools/factory/FactoryConfigurationError.html" title="class in org.geotools.factory">FactoryConfigurationError</A>,                                         <A HREF="../../../org/geotools/feature/SchemaException.html" title="class in org.geotools.feature">SchemaException</A></PRE><DL><DD>Create a new FeatureType with the given AttributeTypes. A short cut for calling <code>newFeatureType(types,name,null,false,null)</code>. Useful for test cases or datasources which may not allow a namespace.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>types</CODE> - The AttributeTypes to create the FeatureType with.<DD><CODE>name</CODE> - The typeName of the FeatureType. Required, may not be null.<DT><B>Returns:</B><DD>A new FeatureType created from the given arguments.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/factory/FactoryConfigurationError.html" title="class in org.geotools.factory">FactoryConfigurationError</A></CODE> - If there are problems creating a factory.<DD><CODE><A HREF="../../../org/geotools/feature/SchemaException.html" title="class in org.geotools.feature">SchemaException</A></CODE> - If the AttributeTypes provided are invalid in some way.</DL></DD></DL><HR><A NAME="isDecendedFrom(org.geotools.feature.FeatureType, java.net.URI, java.lang.String)"><!-- --></A><H3>isDecendedFrom</H3><PRE>public static boolean <B>isDecendedFrom</B>(<A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;featureType,                                     <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;namespace,                                     <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>A query of the the types ancestor information. <p> This utility method may be used as common implementation for <code>FeatureType.isDecendedFrom( namespace, typeName )</code>, however for specific uses, such as GML, an implementor may be able to provide a more efficient implemenation based on prior knolwege. </p> <p> This is a proper check, if the provided FeatureType matches the given namespace and typename it is <b>not </b> considered to be decended from itself. </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>featureType</CODE> - typeName with parentage in question<DD><CODE>namespace</CODE> - namespace to match against, or null for a "wildcard"<DD><CODE>typeName</CODE> - typename to match against, or null for a "wildcard"<DT><B>Returns:</B><DD>true if featureType is a decendent of the indicated namespace & typeName</DL></DD></DL><HR><A NAME="isDecendedFrom(org.geotools.feature.FeatureType, org.geotools.feature.FeatureType)"><!-- --></A><H3>isDecendedFrom</H3><PRE>public static boolean <B>isDecendedFrom</B>(<A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;featureType,                                     <A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;isParentType)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="equals(org.geotools.feature.FeatureType, org.geotools.feature.FeatureType)"><!-- --></A><H3>equals</H3><PRE>public static boolean <B>equals</B>(<A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;typeA,                             <A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;typeB)</PRE><DL><DD>Exact equality based on typeNames, namespace, attributes and ancestors<P><DD><DL></DL></DD></DL><HR><A NAME="equals(org.geotools.feature.AttributeType[], org.geotools.feature.AttributeType[])"><!-- --></A><H3>equals</H3><PRE>public static boolean <B>equals</B>(<A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A>[]&nbsp;attributesA,                             <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A>[]&nbsp;attributesB)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="equalsAncestors(org.geotools.feature.FeatureType, org.geotools.feature.FeatureType)"><!-- --></A><H3>equalsAncestors</H3><PRE>public static boolean <B>equalsAncestors</B>(<A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;typeA,                                      <A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;typeB)</PRE><DL><DD>This method depends on the correct implementation of FeatureType equals <p> We may need to write an implementation that can detect cycles, </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>typeA</CODE> - <DD><CODE>typeB</CODE> - </DL></DD></DL><HR><A NAME="ancestors(org.geotools.feature.FeatureType)"><!-- --></A><H3>ancestors</H3><PRE>public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> <B>ancestors</B>(<A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;featureType)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="equals(org.geotools.feature.AttributeType, org.geotools.feature.AttributeType)"><!-- --></A><H3>equals</H3><PRE>public static boolean <B>equals</B>(<A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A>&nbsp;a,                             <A HREF="../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A>&nbsp;b)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="equalsId(org.geotools.feature.FeatureType, org.geotools.feature.FeatureType)"><!-- --></A><H3>equalsId</H3><PRE>public static boolean <B>equalsId</B>(<A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;typeA,                               <A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;typeB)</PRE><DL><DD>Quick check of namespace and typename<P><DD><DL></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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/FeatureTypes.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../org/geotools/feature/FeatureTypeFactory.html" title="class in org.geotools.feature"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/geotools/feature/MultiAttributeType.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>  &nbsp;&nbsp;<A HREF="FeatureTypes.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

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