📄 featuretypetransformer.html
字号:
<P><DL><DT><B>Author:</B></DT> <DD>Simon Raess</DD><DT><B>Module:</B></DT><DD><CODE><B>module/main</B></CODE> (<A HREF="http://maven.geotools.fr/repository/org/geotools/gt2-main/"><CODE>gt2-main.jar</CODE></A>) (<A HREF="http://maven.geotools.fr/reports/main/index.html">Maven report</A>) (<A HREF="http://svn.geotools.org/geotools/tags/2.3.2/module/main/src/org/geotools/gml/producer/FeatureTypeTransformer.java">SVN head</A>)</DD><DT><B>'TODO:'</B></DT> <DD>TODO: Support GeometryCollection., REVISIT: Should support a bit more for the header, like being able to set the schemaLocation. It also should declare and import the gml namespace - it's always used as all extend gml:AbstractFeatureType. Also should be able to set the global substitution group, so that this type can be used directly as a feature.</DD></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><A NAME="nested_class_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Nested Class Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTypeTransformer.FeatureTypeTranslator.html" title="class in org.geotools.gml.producer">FeatureTypeTransformer.FeatureTypeTranslator</A></B></CODE><BR> A FeatureTypeTranslator encodes FeatureTypes as a (hopefully) valid XML schema.</TD></TR></TABLE> <A NAME="nested_classes_inherited_from_class_org.geotools.xml.transform.TransformerBase"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Nested classes inherited from class <A HREF="../../../../org/geotools/xml/transform/TransformerBase.html" title="class in org.geotools.xml.transform">TransformerBase</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/xml/transform/TransformerBase.SchemaLocationSupport.html" title="class in org.geotools.xml.transform">TransformerBase.SchemaLocationSupport</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.Task.html" title="class in org.geotools.xml.transform">TransformerBase.Task</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.TranslatorSupport.html" title="class in org.geotools.xml.transform">TransformerBase.TranslatorSupport</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.XMLReaderSupport.html" title="class in org.geotools.xml.transform">TransformerBase.XMLReaderSupport</A></CODE></TD></TR></TABLE> <!-- =========== FIELD SUMMARY =========== --><!-- ======== 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><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTypeTransformer.html#FeatureTypeTransformer()">FeatureTypeTransformer</A></B>()</CODE><BR> </TD></TR></TABLE> <!-- ========== 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> <A HREF="../../../../org/geotools/xml/transform/Translator.html" title="interface in org.geotools.xml.transform">Translator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTypeTransformer.html#createTranslator(org.xml.sax.ContentHandler)">createTranslator</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/ContentHandler.html" title="class or interface in org.xml.sax">ContentHandler</A> handler)</CODE><BR> Creates a Translator that is capable to translate FeatureType objects into a XML schema fragment.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_TransformerBase"><!-- --></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/xml/transform/TransformerBase.html" title="class in org.geotools.xml.transform">TransformerBase</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/xml/transform/TransformerBase.html#createTransformer()">createTransformer</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.html#createTransformTask(java.lang.Object, javax.xml.transform.stream.StreamResult)">createTransformTask</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.html#createXMLReader(java.lang.Object)">createXMLReader</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.html#getEncoding()">getEncoding</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.html#getIndentation()">getIndentation</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.html#isNamespaceDeclartionEnabled()">isNamespaceDeclartionEnabled</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.html#isOmitXMLDeclaration()">isOmitXMLDeclaration</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.html#setEncoding(java.nio.charset.Charset)">setEncoding</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.html#setIndentation(int)">setIndentation</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.html#setNamespaceDeclarationEnabled(boolean)">setNamespaceDeclarationEnabled</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.html#setOmitXMLDeclaration(boolean)">setOmitXMLDeclaration</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.html#transform(java.lang.Object)">transform</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.html#transform(java.lang.Object, java.io.OutputStream)">transform</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.html#transform(java.lang.Object, javax.xml.transform.stream.StreamResult)">transform</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.html#transform(java.lang.Object, java.io.Writer)">transform</A></CODE></TD></TR></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 =========== --><!-- ========= 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="FeatureTypeTransformer()"><!-- --></A><H3>FeatureTypeTransformer</H3><PRE>public <B>FeatureTypeTransformer</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="createTranslator(org.xml.sax.ContentHandler)"><!-- --></A><H3>createTranslator</H3><PRE>public <A HREF="../../../../org/geotools/xml/transform/Translator.html" title="interface in org.geotools.xml.transform">Translator</A> <B>createTranslator</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/org/xml/sax/ContentHandler.html" title="class or interface in org.xml.sax">ContentHandler</A> handler)</PRE><DL><DD>Creates a Translator that is capable to translate FeatureType objects into a XML schema fragment.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/xml/transform/TransformerBase.html#createTranslator(org.xml.sax.ContentHandler)">createTranslator</A></CODE> in class <CODE><A HREF="../../../../org/geotools/xml/transform/TransformerBase.html" title="class in org.geotools.xml.transform">TransformerBase</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>handler</CODE> - the content handler to use<DT><B>Returns:</B><DD>DOCUMENT ME!</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/FeatureTypeTransformer.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/gml/producer/FeatureTransformer.FeatureTypeNamespaces.html" title="class in org.geotools.gml.producer"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/gml/producer/FeatureTypeTransformer.FeatureTypeTranslator.html" title="class in org.geotools.gml.producer"><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="FeatureTypeTransformer.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: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -