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

📄 abstractfactory.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/factory/AbstractFactory.html#NORMAL_PRIORITY">NORMAL_PRIORITY</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default priority, which is 50.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/factory/AbstractFactory.html#priority">priority</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The priority for this factory, as a number between <A HREF="../../../org/geotools/factory/AbstractFactory.html#MINIMUM_PRIORITY"><CODE>MINIMUM_PRIORITY</CODE></A> and <A HREF="../../../org/geotools/factory/AbstractFactory.html#MAXIMUM_PRIORITY"><CODE>MAXIMUM_PRIORITY</CODE></A> inclusive. </TD></TR></TABLE>&nbsp;<!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected </CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/factory/AbstractFactory.html#AbstractFactory()">AbstractFactory</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new factory with the <A HREF="../../../org/geotools/factory/AbstractFactory.html#NORMAL_PRIORITY">default priority</A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected </CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/factory/AbstractFactory.html#AbstractFactory(int)">AbstractFactory</A></B>(int&nbsp;priority)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a factory with the specified priority.</TD></TR></TABLE>&nbsp;<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/factory/AbstractFactory.html#equals(java.lang.Object)">equals</A></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;object)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compares this factory with the specified object for equality. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/factory/AbstractFactory.html#getImplementationHints()">getImplementationHints</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collections.html#unmodifiableMap(java.util.Map)" title="class or interface in java.util">unmodifiable</A> view of <A HREF="../../../org/geotools/factory/AbstractFactory.html#hints">hints</A>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/factory/AbstractFactory.html#getPriority()">getPriority</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the priority for this factory, as a number between <A HREF="../../../org/geotools/factory/AbstractFactory.html#MINIMUM_PRIORITY"><CODE>MINIMUM_PRIORITY</CODE></A> and <A HREF="../../../org/geotools/factory/AbstractFactory.html#MAXIMUM_PRIORITY"><CODE>MAXIMUM_PRIORITY</CODE></A> inclusive. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/factory/AbstractFactory.html#hashCode()">hashCode</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a hash value for this factory. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/factory/AbstractFactory.html#onDeregistration(javax.imageio.spi.ServiceRegistry, java.lang.Class)">onDeregistration</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html" title="class or interface in javax.imageio.spi">ServiceRegistry</A>&nbsp;registry,                 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;category)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called when this factory is removed from the given  of the given . </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/factory/AbstractFactory.html#onRegistration(javax.imageio.spi.ServiceRegistry, java.lang.Class)">onRegistration</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html" title="class or interface in javax.imageio.spi">ServiceRegistry</A>&nbsp;registry,               <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;category)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called when this factory is added to the given  of the given . </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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/factory/AbstractFactory.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this factory. </TD></TR></TABLE>&nbsp;<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#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>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="MINIMUM_PRIORITY"><!-- --></A><H3>MINIMUM_PRIORITY</H3><PRE>public static final int <B>MINIMUM_PRIORITY</B></PRE><DL><DD>The minimum priority for a factory, which is 1. Factories with lowest priority will be used only if there is no other factory in the same <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#getCategories()" title="class or interface in javax.imageio.spi">category</A>.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../org/geotools/factory/AbstractFactory.html#priority"><CODE>priority</CODE></A>, <A HREF="../../../org/geotools/factory/AbstractFactory.html#onRegistration(javax.imageio.spi.ServiceRegistry, java.lang.Class)"><CODE>onRegistration(javax.imageio.spi.ServiceRegistry, java.lang.Class)</CODE></A>, <A HREF="../../../constant-values.html#org.geotools.factory.AbstractFactory.MINIMUM_PRIORITY">Constant Field Values</A></DL></DL><HR><A NAME="NORMAL_PRIORITY"><!-- --></A><H3>NORMAL_PRIORITY</H3><PRE>public static final int <B>NORMAL_PRIORITY</B></PRE><DL><DD>The default priority, which is 50.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../org/geotools/factory/AbstractFactory.html#priority"><CODE>priority</CODE></A>, <A HREF="../../../org/geotools/factory/AbstractFactory.html#onRegistration(javax.imageio.spi.ServiceRegistry, java.lang.Class)"><CODE>onRegistration(javax.imageio.spi.ServiceRegistry, java.lang.Class)</CODE></A>, <A HREF="../../../constant-values.html#org.geotools.factory.AbstractFactory.NORMAL_PRIORITY">Constant Field Values</A></DL></DL><HR><A NAME="MAXIMUM_PRIORITY"><!-- --></A><H3>MAXIMUM_PRIORITY</H3><PRE>public static final int <B>MAXIMUM_PRIORITY</B></PRE><DL><DD>The maximum priority for a factory, which is 100. Factories with highest priority will be preferred to any other factory in the same <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#getCategories()" title="class or interface in javax.imageio.spi">category</A>.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../org/geotools/factory/AbstractFactory.html#priority"><CODE>priority</CODE></A>, <A HREF="../../../org/geotools/factory/AbstractFactory.html#onRegistration(javax.imageio.spi.ServiceRegistry, java.lang.Class)"><CODE>onRegistration(javax.imageio.spi.ServiceRegistry, java.lang.Class)</CODE></A>, <A HREF="../../../constant-values.html#org.geotools.factory.AbstractFactory.MAXIMUM_PRIORITY">Constant Field Values</A></DL></DL><HR><A NAME="priority"><!-- --></A><H3>priority</H3><PRE>protected final int <B>priority</B></PRE><DL><DD>The priority for this factory, as a number between <A HREF="../../../org/geotools/factory/AbstractFactory.html#MINIMUM_PRIORITY"><CODE>MINIMUM_PRIORITY</CODE></A> and <A HREF="../../../org/geotools/factory/AbstractFactory.html#MAXIMUM_PRIORITY"><CODE>MAXIMUM_PRIORITY</CODE></A> inclusive. Priorities are used by <A HREF="../../../org/geotools/factory/FactoryRegistry.html" title="class in org.geotools.factory"><CODE>FactoryRegistry</CODE></A> for selecting a preferred factory when many are found for the same service.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../org/geotools/factory/AbstractFactory.html#getPriority()"><CODE>getPriority()</CODE></A></DL></DL><HR><A NAME="hints"><!-- --></A><H3>hints</H3><PRE>protected final <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>hints</B></PRE><DL><DD>The <A HREF="../../../org/geotools/factory/Factory.html#getImplementationHints()">implementation hints</A>. This map should be filled by subclasses at construction time. If possible, constructors should not copy blindly all user-provided hints. They should select only the relevant hints and resolve them as of <A HREF="../../../org/geotools/factory/Factory.html#getImplementationHints()">implementation hints</A> contract. <p> <strong>Reminder:</strong> the primary use of this map is to check if this factory can be reused. It is not for creating new factories. This explain why this field is not an instance of <A HREF="../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory"><CODE>Hints</CODE></A>. An other reason is to allow for null values, as of <A HREF="../../../org/geotools/factory/Factory.html#getImplementationHints()">implementation hints</A> contract. <p> Once the hints are accessibles to the user (this usually means when the subclass construction is finished), this map should not change anymore.<P><DL></DL></DL><!-- ========= 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="AbstractFactory()"><!-- --></A><H3>AbstractFactory</H3><PRE>protected <B>AbstractFactory</B>()</PRE><DL><DD>Creates a new factory with the <A HREF="../../../org/geotools/factory/AbstractFactory.html#NORMAL_PRIORITY">default priority</A>.<P></DL><HR><A NAME="AbstractFactory(int)"><!-- --></A><H3>

⌨️ 快捷键说明

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