📄 factoryfinder.html
字号:
<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="getGeometryFactory(org.geotools.factory.Hints)"><!-- --></A><H3>getGeometryFactory</H3><PRE>public static <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/GeometryFactory.html" title="class or interface in com.vividsolutions.jts.geom">GeometryFactory</A> <B>getGeometryFactory</B>(<A HREF="../../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory">Hints</A> hints) throws <A HREF="../../../../org/geotools/factory/FactoryRegistryException.html" title="class in org.geotools.factory">FactoryRegistryException</A></PRE><DL><DD>Returns the first implementation of <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/GeometryFactory.html" title="class or interface in com.vividsolutions.jts.geom"><CODE>GeometryFactory</CODE></A> matching the specified hints. If no implementation matches, a new one is created if possible or an exception is thrown otherwise. <p> Hints that may be understood includes <A HREF="../../../../org/geotools/factory/Hints.html#JTS_COORDINATE_SEQUENCE_FACTORY"><CODE>JTS_COORDINATE_SEQUENCE_FACTORY</CODE></A>, <A HREF="../../../../org/geotools/factory/Hints.html#JTS_PRECISION_MODEL"><CODE>JTS_PRECISION_MODEL</CODE></A> and <A HREF="../../../../org/geotools/factory/Hints.html#JTS_SRID"><CODE>JTS_SRID</CODE></A>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>hints</CODE> - An optional map of hints, or if none.<DT><B>Returns:</B><DD>The first geometry factory that matches the supplied hints.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/factory/FactoryRegistryException.html" title="class in org.geotools.factory">FactoryRegistryException</A></CODE> - if no implementation was found or can be created for the <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/GeometryFactory.html" title="class or interface in com.vividsolutions.jts.geom"><CODE>GeometryFactory</CODE></A> category and the given hints.</DL></DD></DL><HR><A NAME="getGeometryFactories()"><!-- --></A><H3>getGeometryFactories</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>getGeometryFactories</B>()</PRE><DL><DD>Returns a set of all available implementations for the <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/GeometryFactory.html" title="class or interface in com.vividsolutions.jts.geom"><CODE>GeometryFactory</CODE></A> category.<P><DD><DL><DT><B>Returns:</B><DD>Set of available geometry factory implementations.</DL></DD></DL><HR><A NAME="getPrecisionModel(org.geotools.factory.Hints)"><!-- --></A><H3>getPrecisionModel</H3><PRE>public static <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/PrecisionModel.html" title="class or interface in com.vividsolutions.jts.geom">PrecisionModel</A> <B>getPrecisionModel</B>(<A HREF="../../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory">Hints</A> hints) throws <A HREF="../../../../org/geotools/factory/FactoryRegistryException.html" title="class in org.geotools.factory">FactoryRegistryException</A></PRE><DL><DD>Returns the first implementation of <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/PrecisionModel.html" title="class or interface in com.vividsolutions.jts.geom"><CODE>PrecisionModel</CODE></A> matching the specified hints. If no implementation matches, a new one is created if possible or an exception is thrown otherwise.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>hints</CODE> - An optional map of hints, or if none.<DT><B>Returns:</B><DD>The first precision model that matches the supplied hints.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/factory/FactoryRegistryException.html" title="class in org.geotools.factory">FactoryRegistryException</A></CODE> - if no implementation was found or can be created for the <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/PrecisionModel.html" title="class or interface in com.vividsolutions.jts.geom"><CODE>PrecisionModel</CODE></A> category and the given hints.</DL></DD></DL><HR><A NAME="getPrecisionModels()"><!-- --></A><H3>getPrecisionModels</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>getPrecisionModels</B>()</PRE><DL><DD>Returns a set of all available implementations for the <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/PrecisionModel.html" title="class or interface in com.vividsolutions.jts.geom"><CODE>PrecisionModel</CODE></A> category.<P><DD><DL><DT><B>Returns:</B><DD>Set of available precision model implementations.</DL></DD></DL><HR><A NAME="getCoordinateSequenceFactory(org.geotools.factory.Hints)"><!-- --></A><H3>getCoordinateSequenceFactory</H3><PRE>public static <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/CoordinateSequenceFactory.html" title="class or interface in com.vividsolutions.jts.geom">CoordinateSequenceFactory</A> <B>getCoordinateSequenceFactory</B>(<A HREF="../../../../org/geotools/factory/Hints.html" title="class in org.geotools.factory">Hints</A> hints) throws <A HREF="../../../../org/geotools/factory/FactoryRegistryException.html" title="class in org.geotools.factory">FactoryRegistryException</A></PRE><DL><DD>Returns the first implementation of <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/CoordinateSequenceFactory.html" title="class or interface in com.vividsolutions.jts.geom"><CODE>CoordinateSequenceFactory</CODE></A> matching the specified hints. If no implementation matches, a new one is created if possible or an exception is thrown otherwise.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>hints</CODE> - An optional map of hints, or if none.<DT><B>Returns:</B><DD>The first coordinate sequence factory that matches the supplied hints.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/factory/FactoryRegistryException.html" title="class in org.geotools.factory">FactoryRegistryException</A></CODE> - if no implementation was found or can be created for the <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/CoordinateSequenceFactory.html" title="class or interface in com.vividsolutions.jts.geom"><CODE>CoordinateSequenceFactory</CODE></A> interface and the given hints.</DL></DD></DL><HR><A NAME="getCoordinateSequenceFactories()"><!-- --></A><H3>getCoordinateSequenceFactories</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>getCoordinateSequenceFactories</B>()</PRE><DL><DD>Returns a set of all available implementations for the <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/CoordinateSequenceFactory.html" title="class or interface in com.vividsolutions.jts.geom"><CODE>CoordinateSequenceFactory</CODE></A> interface.<P><DD><DL><DT><B>Returns:</B><DD>Set of available coordinate sequence factory implementations.</DL></DD></DL><HR><A NAME="scanForPlugins()"><!-- --></A><H3>scanForPlugins</H3><PRE>public static void <B>scanForPlugins</B>()</PRE><DL><DD>Scans for factory plug-ins on the application class path. This method is needed because the application class path can theoretically change, or additional plug-ins may become available. Rather than re-scanning the classpath on every invocation of the API, the class path is scanned automatically only on the first invocation. Clients can call this method to prompt a re-scan. Thus this method need only be invoked by sophisticated applications which dynamically make new plug-ins available at runtime.<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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FactoryFinder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/geotools/geometry/jts/DefaultCoordinateSequenceTransformer.html" title="class in org.geotools.geometry.jts"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/geometry/jts/GeometryCoordinateSequenceTransformer.html" title="class in org.geotools.geometry.jts"><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> <A HREF="FactoryFinder.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 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 + -