schemafactory.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 525 行 · 第 1/2 页
HTML
525 行
</TABLE> <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#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#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> <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="is"><!-- --></A><H3>is</H3><PRE>protected static <A HREF="../../../org/geotools/xml/SchemaFactory.html" title="class in org.geotools.xml">SchemaFactory</A> <B>is</B></PRE><DL><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="SchemaFactory()"><!-- --></A><H3>SchemaFactory</H3><PRE>public <B>SchemaFactory</B>()</PRE><DL></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="getInstance()"><!-- --></A><H3>getInstance</H3><PRE>protected static <A HREF="../../../org/geotools/xml/SchemaFactory.html" title="class in org.geotools.xml">SchemaFactory</A> <B>getInstance</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getInstance(java.net.URI, java.net.URI)"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../../org/geotools/xml/schema/Schema.html" title="interface in org.geotools.xml.schema">Schema</A> <B>getInstance</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> targetNamespace, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URI.html" title="class or interface in java.net">URI</A> desiredSchema) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/SAXException.html" title="class or interface in org.xml.sax">SAXException</A></PRE><DL><DD>Returns an instance of the desired class. There is no provision for: a) same instances each call b) different instances each call c) this factory being thread safe<P><DD><DL><DT><B>Parameters:</B><DD><CODE>targetNamespace</CODE> - <DD><CODE>desiredSchema</CODE> - URI the uri of which you want a schema instance.<DT><B>Returns:</B><DD>Schema an instance of the desired schema.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/SAXException.html" title="class or interface in org.xml.sax">SAXException</A></CODE></DL></DD></DL><HR><A NAME="getInstance(java.net.URI, java.io.InputStream)"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../../org/geotools/xml/schema/Schema.html" title="interface in org.geotools.xml.schema">Schema</A> <B>getInstance</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> targetNamespace, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> is1) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/SAXException.html" title="class or interface in org.xml.sax">SAXException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/SAXException.html" title="class or interface in org.xml.sax">SAXException</A></CODE></DL></DD></DL><HR><A NAME="getInstance(java.net.URI)"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../../org/geotools/xml/schema/Schema.html" title="interface in org.geotools.xml.schema">Schema</A> <B>getInstance</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> targetNamespace)</PRE><DL><DD>Returns an instance of the targetNamespace if it can be found ... null otherwise. targetNamespaces which can be found are either hard-coded namespaces (SchemaFactory.properties), have already been parsed or were registered.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>targetNamespace</CODE> - <DT><B>See Also:</B><DD><CODE>#registerSchema(Strin,Schema)</CODE></DL></DD></DL><HR><A NAME="getSchemas(java.lang.String)"><!-- --></A><H3>getSchemas</H3><PRE>public static <A HREF="../../../org/geotools/xml/schema/Schema.html" title="interface in org.geotools.xml.schema">Schema</A>[] <B>getSchemas</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> prefix)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getInstance(java.net.URI, java.net.URI, java.util.logging.Level)"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../../org/geotools/xml/schema/Schema.html" title="interface in org.geotools.xml.schema">Schema</A> <B>getInstance</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> targetNamespace, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URI.html" title="class or interface in java.net">URI</A> desiredSchema, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/logging/Level.html" title="class or interface in java.util.logging">Level</A> level) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/SAXException.html" title="class or interface in org.xml.sax">SAXException</A></PRE><DL><DD>Returns an instance of the desired class. There is no provision for: a) same instances each call b) different instances each call c) this factory being thread safe<P><DD><DL><DT><B>Parameters:</B><DD><CODE>targetNamespace</CODE> - The targetNamespace to search for.<DD><CODE>desiredSchema</CODE> - URI the uri of which you want a schema instance.<DD><CODE>level</CODE> - Level<DT><B>Returns:</B><DD>Schema an instance of the desired schema.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/SAXException.html" title="class or interface in org.xml.sax">SAXException</A></CODE> - When something goes wrong</DL></DD></DL><HR><A NAME="getSAXHandler(java.net.URI)"><!-- --></A><H3>getSAXHandler</H3><PRE>protected <A HREF="../../../org/geotools/xml/XSISAXHandler.html" title="class in org.geotools.xml">XSISAXHandler</A> <B>getSAXHandler</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> uri)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getInstance(java.net.URI, java.io.InputStream, java.util.logging.Level)"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../../org/geotools/xml/schema/Schema.html" title="interface in org.geotools.xml.schema">Schema</A> <B>getInstance</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> targetNamespace, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> is1, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/logging/Level.html" title="class or interface in java.util.logging">Level</A> level) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/SAXException.html" title="class or interface in org.xml.sax">SAXException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/SAXException.html" title="class or interface in org.xml.sax">SAXException</A></CODE></DL></DD></DL><HR><A NAME="registerSchema(java.net.URI, org.geotools.xml.schema.Schema)"><!-- --></A><H3>registerSchema</H3><PRE>public static void <B>registerSchema</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> targetNamespace, <A HREF="../../../org/geotools/xml/schema/Schema.html" title="interface in org.geotools.xml.schema">Schema</A> schema)</PRE><DL><DD>Registers a Schema instance with the factory. A clone is NOT created within this method. The Schema passed in is associated with the specified targetNamespace. The Schema is not tested to ensure the intended targetNamespace (schema.getTargetNamespace()) is equal to targetNamespace. The ramifications is that you may hack wildly within the repository, but we aware you may have some 'undocumented features' as a result (odd Schemas being returned).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>targetNamespace</CODE> - <DD><CODE>schema</CODE> - </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/SchemaFactory.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/xml/Parser.html" title="class in org.geotools.xml"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/xml/SchemaGenerator.html" title="class in org.geotools.xml"><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="SchemaFactory.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + =
减小字号Ctrl + -
显示快捷键?