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

📄 factorycreator.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<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/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/factory/FactoryCreator.html#getServiceProvider(java.lang.Class, javax.imageio.spi.ServiceRegistry.Filter, org.geotools.factory.Hints, org.geotools.factory.Hints.Key)">getServiceProvider</A></B>(<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,                   <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.Filter.html" title="class or interface in javax.imageio.spi">ServiceRegistry.Filter</A>&nbsp;filter,                   <A HREF="../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory">Hints</A>&nbsp;hints,                   <A HREF="../../../org/geotools/factory/Hints.Key.html" title="class in org.geotools.factory">Hints.Key</A>&nbsp;key)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a provider for the specified category, using the specified map of hints (if any). </TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_FactoryRegistry"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../org/geotools/factory/FactoryRegistry.html" title="class in org.geotools.factory">FactoryRegistry</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/factory/FactoryRegistry.html#getClassLoaders()">getClassLoaders</A>, <A HREF="../../../org/geotools/factory/FactoryRegistry.html#getServiceProviders(java.lang.Class)">getServiceProviders</A>, <A HREF="../../../org/geotools/factory/FactoryRegistry.html#getServiceProviders(java.lang.Class, javax.imageio.spi.ServiceRegistry.Filter, org.geotools.factory.Hints)">getServiceProviders</A>, <A HREF="../../../org/geotools/factory/FactoryRegistry.html#isAcceptable(java.lang.Object, java.lang.Class, org.geotools.factory.Hints)">isAcceptable</A>, <A HREF="../../../org/geotools/factory/FactoryRegistry.html#scanForPlugins()">scanForPlugins</A>, <A HREF="../../../org/geotools/factory/FactoryRegistry.html#setOrdering(java.lang.Class, boolean, javax.imageio.spi.ServiceRegistry.Filter, javax.imageio.spi.ServiceRegistry.Filter)">setOrdering</A>, <A HREF="../../../org/geotools/factory/FactoryRegistry.html#setOrdering(java.lang.Class, java.util.Comparator)">setOrdering</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_ServiceRegistry"><!-- --></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/javax/imageio/spi/ServiceRegistry.html" title="class or interface in javax.imageio.spi">ServiceRegistry</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#contains(java.lang.Object)" title="class or interface in javax.imageio.spi">contains</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#deregisterAll()" title="class or interface in javax.imageio.spi">deregisterAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#deregisterAll(java.lang.Class)" title="class or interface in javax.imageio.spi">deregisterAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#deregisterServiceProvider(java.lang.Object)" title="class or interface in javax.imageio.spi">deregisterServiceProvider</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#deregisterServiceProvider(java.lang.Object, java.lang.Class)" title="class or interface in javax.imageio.spi">deregisterServiceProvider</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#finalize()" title="class or interface in javax.imageio.spi">finalize</A>, <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">getCategories</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#getServiceProviderByClass(java.lang.Class)" title="class or interface in javax.imageio.spi">getServiceProviderByClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#getServiceProviders(java.lang.Class, boolean)" title="class or interface in javax.imageio.spi">getServiceProviders</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#getServiceProviders(java.lang.Class, javax.imageio.spi.ServiceRegistry.Filter, boolean)" title="class or interface in javax.imageio.spi">getServiceProviders</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#lookupProviders(java.lang.Class)" title="class or interface in javax.imageio.spi">lookupProviders</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#lookupProviders(java.lang.Class, java.lang.ClassLoader)" title="class or interface in javax.imageio.spi">lookupProviders</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#registerServiceProvider(java.lang.Object)" title="class or interface in javax.imageio.spi">registerServiceProvider</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#registerServiceProvider(java.lang.Object, java.lang.Class)" title="class or interface in javax.imageio.spi">registerServiceProvider</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#registerServiceProviders(java.util.Iterator)" title="class or interface in javax.imageio.spi">registerServiceProviders</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#setOrdering(java.lang.Class, java.lang.Object, java.lang.Object)" title="class or interface in javax.imageio.spi">setOrdering</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.html#unsetOrdering(java.lang.Class, java.lang.Object, java.lang.Object)" title="class or interface in javax.imageio.spi">unsetOrdering</A></CODE></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#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#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#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>&nbsp;<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="FactoryCreator(java.util.Collection)"><!-- --></A><H3>FactoryCreator</H3><PRE>public <B>FactoryCreator</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>&nbsp;categories)</PRE><DL><DD>Constructs a new registry for the specified categories.<P><DT><B>Parameters:</B><DD><CODE>categories</CODE> - The categories.</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="getServiceProvider(java.lang.Class, javax.imageio.spi.ServiceRegistry.Filter, org.geotools.factory.Hints, org.geotools.factory.Hints.Key)"><!-- --></A><H3>getServiceProvider</H3><PRE>public <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>getServiceProvider</B>(<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,                                 <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/imageio/spi/ServiceRegistry.Filter.html" title="class or interface in javax.imageio.spi">ServiceRegistry.Filter</A>&nbsp;filter,                                 <A HREF="../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory">Hints</A>&nbsp;hints,                                 <A HREF="../../../org/geotools/factory/Hints.Key.html" title="class in org.geotools.factory">Hints.Key</A>&nbsp;key)                          throws <A HREF="../../../org/geotools/factory/FactoryRegistryException.html" title="class in org.geotools.factory">FactoryRegistryException</A></PRE><DL><DD>Returns a provider for the specified category, using the specified map of hints (if any). If a provider matching the requirements is found in the registry, it is returned. Otherwise, a new provider is created and returned. This creation step is the only difference between this method and the <A HREF="../../../org/geotools/factory/FactoryRegistry.html#getServiceProvider(java.lang.Class, javax.imageio.spi.ServiceRegistry.Filter, org.geotools.factory.Hints, org.geotools.factory.Hints.Key)">super-class method</A>.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/factory/FactoryRegistry.html#getServiceProvider(java.lang.Class, javax.imageio.spi.ServiceRegistry.Filter, org.geotools.factory.Hints, org.geotools.factory.Hints.Key)">getServiceProvider</A></CODE> in class <CODE><A HREF="../../../org/geotools/factory/FactoryRegistry.html" title="class in org.geotools.factory">FactoryRegistry</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>category</CODE> - The category to look for.<DD><CODE>filter</CODE> - An optional filter, or  if none.<DD><CODE>hints</CODE> - A <A HREF="../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory">map of hints</A>, or  if none.<DD><CODE>key</CODE> - The key to use for looking for a user-provided instance in the hints, or                   if none.<DT><B>Returns:</B><DD>A factory for the specified category and hints (never ).<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/factory/FactoryNotFoundException.html" title="class in org.geotools.factory">FactoryNotFoundException</A></CODE> - if no factory was found, and the specified hints don't         provide suffisient information for creating a new factory.<DD><CODE><A HREF="../../../org/geotools/factory/FactoryRegistryException.html" title="class in org.geotools.factory">FactoryRegistryException</A></CODE> - if the factory can't be created for some other reason.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/factory/FactoryRegistry.html#getServiceProviders(java.lang.Class)"><CODE>FactoryRegistry.getServiceProviders(java.lang.Class)</CODE></A>, <A HREF="../../../org/geotools/factory/FactoryCreator.html#getServiceProvider(java.lang.Class, javax.imageio.spi.ServiceRegistry.Filter, org.geotools.factory.Hints, org.geotools.factory.Hints.Key)"><CODE>getServiceProvider(java.lang.Class, javax.imageio.spi.ServiceRegistry.Filter, org.geotools.factory.Hints, org.geotools.factory.Hints.Key)</CODE></A></DL></DD></DL><HR><A NAME="createServiceProvider(java.lang.Class, java.lang.Class, org.geotools.factory.Hints)"><!-- --></A><H3>createServiceProvider</H3><PRE>protected <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>createServiceProvider</B>(<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,                                       <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;implementation,                                       <A HREF="../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory">Hints</A>&nbsp;hints)                                throws <A HREF="../../../org/geotools/factory/FactoryRegistryException.html" title="class in org.geotools.factory">FactoryRegistryException</A></PRE><DL><DD>Creates a new instance of the specified factory using the specified hints. The default implementation tries to instantiate the given implementation class using the first of the following constructor found: <p> <ul>   <li>Constructor with a single <A HREF="../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory"><CODE>Hints</CODE></A> argument.</li>   <li>No-argument constructor.</li> </ul><P><DD><DL><DT><B>Parameters:</B><DD><CODE>category</CODE> - The category to instantiate.<DD><CODE>implementation</CODE> - The factory class to instantiate.<DD><CODE>hints</CODE> - The implementation hints.<DT><B>Returns:</B><DD>The factory.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/factory/FactoryRegistryException.html" title="class in org.geotools.factory">FactoryRegistryException</A></CODE> - if the factory creation failed.</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/FactoryCreator.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/factory/BasicFactories.html" title="class in org.geotools.factory"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/geotools/factory/FactoryFinder.html" title="class in org.geotools.factory"><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="FactoryCreator.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;<A HREF="#nested_classes_inherited_from_class_javax.imageio.spi.ServiceRegistry">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_FactoryRegistry">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;FIELD&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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -