featuretypebuilder.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 1,355 行 · 第 1/5 页
HTML
1,355 行
<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#equals(java.lang.Object)" title="class or interface in java.lang">equals</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#hashCode()" title="class or interface in java.lang">hashCode</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#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="FeatureTypeBuilder()"><!-- --></A><H3>FeatureTypeBuilder</H3><PRE>public <B>FeatureTypeBuilder</B>()</PRE><DL><DD><B>Deprecated.</B> <I></I> <P><DD>An empty public constructor. Subclasses should not provide a constructor.<P></DL><HR><A NAME="FeatureTypeBuilder(java.util.Map)"><!-- --></A><H3>FeatureTypeBuilder</H3><PRE>public <B>FeatureTypeBuilder</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> hints)</PRE><DL><DD>An empty public constructor. Subclasses should not provide a constructor.<P></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="getImplementationHints()"><!-- --></A><H3>getImplementationHints</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>getImplementationHints</B>()</PRE><DL><DD>Returns the implementation hints. The default implementation returns en empty map. <p> Since the building of a FeatureType involves the collaboration of may Factory classes (that may be discovered over the course of the build process) we are forced to indicate that *all* hints are used. </p> <p> Strictly this is a Builder (not a factory) and has no need declair which hints are used (as one can never *keep* this builder in a factory registery. (It is stateful and cannot be used concurrently for example).<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/factory/Factory.html#getImplementationHints()">getImplementationHints</A></CODE> in interface <CODE><A HREF="../../../org/geotools/factory/Factory.html" title="interface in org.geotools.factory">Factory</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The map of hints, or an <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collections.html#EMPTY_MAP" title="class or interface in java.util">empty map</A> if none.</DL></DD></DL><HR><A NAME="newInstance(java.lang.String)"><!-- --></A><H3>newInstance</H3><PRE>public static <A HREF="../../../org/geotools/feature/FeatureTypeFactory.html" title="class in org.geotools.feature">FeatureTypeFactory</A> <B>newInstance</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) throws <A HREF="../../../org/geotools/factory/FactoryConfigurationError.html" title="class in org.geotools.factory">FactoryConfigurationError</A></PRE><DL><DD>Create a new FeatureTypeFactory with the given typeName.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The typeName of the feature to create.<DT><B>Returns:</B><DD>A new FeatureTypeFactory instance.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/factory/FactoryConfigurationError.html" title="class in org.geotools.factory">FactoryConfigurationError</A></CODE> - If there exists a configuration error.</DL></DD></DL><HR><A NAME="importType(org.geotools.feature.FeatureType, boolean)"><!-- --></A><H3>importType</H3><PRE>public void <B>importType</B>(<A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> type, boolean strict) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Import all of the AttributeTypes from the given FeatureType into this factory. <p> If strict is true, non-uniquely named AttributeTypes will throw an exception. </p> <p> If strict is false, these will be silently ignored, but not added. </p> <p> No other information is imported. </p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - The FeatureType to import from.<DD><CODE>strict</CODE> - Enforce namespace restrictions.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - If strict is true and there are naming problems.</DL></DD></DL><HR><A NAME="setSuperTypes(java.util.Collection)"><!-- --></A><H3>setSuperTypes</H3><PRE>public final void <B>setSuperTypes</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A> types)</PRE><DL><DD>Set the super types of this factory. The types will be copied into a Set.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>types</CODE> - A Collection of types.</DL></DD></DL><HR><A NAME="getSuperTypes()"><!-- --></A><H3>getSuperTypes</H3><PRE>public final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A> <B>getSuperTypes</B>()</PRE><DL><DD>Obtain the super types of this factory. Any user types will be appended to the built in types of this factory.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A Collection representing the super types of the FeatureType this factory will create.</DL></DD></DL><HR><A NAME="importType(org.geotools.feature.FeatureType)"><!-- --></A><H3>importType</H3><PRE>public void <B>importType</B>(<A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> type)</PRE><DL><DD>A convienence method for importing AttributeTypes, simply calls<br> <code> importType(type,false) </code><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - The type to import.</DL></DD></DL><HR><A NAME="setName(java.lang.String)"><!-- --></A><H3>setName</H3><PRE>public void <B>setName</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)</PRE><DL><DD>Set the name of the FeatureType this factory will produce.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The new name. May be null.</DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getName</B>()</PRE><DL><DD>Get the current configuration of the name of this factory.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The current name. May be null.</DL></DD></DL><HR><A NAME="setNamespace(java.net.URI)"><!-- --></A><H3>setNamespace</H3><PRE>public void <B>setNamespace</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> namespace)</PRE><DL><DD>Set the namespace of the FeatureType this factory will produce.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>namespace</CODE> - The new namespace. May be null.</DL></DD></DL><HR><A NAME="getNamespace()"><!-- --></A><H3>getNamespace</H3><PRE>public final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URI.html" title="class or interface in java.net">URI</A> <B>getNamespace</B>()</PRE><DL><DD>Get the current configuration of the namespace of this factory.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The current namespace. May be null.</DL></DD></DL><HR><A NAME="isAbstract()"><!-- --></A><H3>isAbstract</H3><PRE>public final boolean <B>isAbstract</B>()</PRE><DL><DD>Is this factory configured to be abstract?<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>True if it is, false if it aint.</DL></DD></DL><HR>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?