📄 featuretransformer.featuretranslator.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.FeatureTranslator.html#endFeatureCollection(org.geotools.feature.FeatureCollection)">endFeatureCollection</A></B>(<A HREF="../../../../org/geotools/feature/FeatureCollection.html" title="interface in org.geotools.feature">FeatureCollection</A> collection)</CODE><BR> Sends sax for the ending of a feature collection.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.FeatureTypeNamespaces.html" title="class in org.geotools.gml.producer">FeatureTransformer.FeatureTypeNamespaces</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.FeatureTranslator.html#getFeatureTypeNamespaces()">getFeatureTypeNamespaces</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.FeatureTranslator.html#handleAttribute(org.geotools.feature.AttributeType, java.lang.Object)">handleAttribute</A></B>(<A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> type, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value)</CODE><BR> handles sax for an attribute.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.FeatureTranslator.html#handleFeature(org.geotools.feature.Feature)">handleFeature</A></B>(<A HREF="../../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> f)</CODE><BR> Handles sax for a feature.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.FeatureTranslator.html#handleFeatureCollection(org.geotools.feature.FeatureCollection)">handleFeatureCollection</A></B>(<A HREF="../../../../org/geotools/feature/FeatureCollection.html" title="interface in org.geotools.feature">FeatureCollection</A> collection)</CODE><BR> Prints up the gml for a featurecollection.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.FeatureTranslator.html#handleFeatureReader(org.geotools.data.FeatureReader)">handleFeatureReader</A></B>(<A HREF="../../../../org/geotools/data/FeatureReader.html" title="interface in org.geotools.data">FeatureReader</A> r)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.FeatureTranslator.html#setLockId(java.lang.String)">setLockId</A></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> lockId)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.FeatureTranslator.html#startFeatureCollection()">startFeatureCollection</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.FeatureTranslator.html#writeBounds(com.vividsolutions.jts.geom.Envelope)">writeBounds</A></B>(<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A> bounds)</CODE><BR> writes the <code>gml:boundedBy</code> element to output based on <code>fc.getBounds()</code></TD></TR></TABLE> <A NAME="methods_inherited_from_class_TransformerBase.TranslatorSupport"><!-- --></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.TranslatorSupport.html" title="class in org.geotools.xml.transform">TransformerBase.TranslatorSupport</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/xml/transform/TransformerBase.TranslatorSupport.html#abort()">abort</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.TranslatorSupport.html#addNamespaceDeclarations(org.geotools.xml.transform.TransformerBase.TranslatorSupport)">addNamespaceDeclarations</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.TranslatorSupport.html#cdata(java.lang.String)">cdata</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.TranslatorSupport.html#chars(java.lang.String)">chars</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.TranslatorSupport.html#element(java.lang.String, java.lang.String)">element</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.TranslatorSupport.html#element(java.lang.String, java.lang.String, org.xml.sax.Attributes)">element</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.TranslatorSupport.html#end(java.lang.String)">end</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.TranslatorSupport.html#getDefaultNamespace()">getDefaultNamespace</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.TranslatorSupport.html#getDefaultPrefix()">getDefaultPrefix</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.TranslatorSupport.html#getNamespaceSupport()">getNamespaceSupport</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.TranslatorSupport.html#getSchemaLocationSupport()">getSchemaLocationSupport</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.TranslatorSupport.html#start(java.lang.String)">start</A>, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.TranslatorSupport.html#start(java.lang.String, org.xml.sax.Attributes)">start</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="FeatureTransformer.FeatureTranslator(org.xml.sax.ContentHandler, java.lang.String, java.lang.String, org.geotools.gml.producer.FeatureTransformer.FeatureTypeNamespaces, org.geotools.xml.transform.TransformerBase.SchemaLocationSupport)"><!-- --></A><H3>FeatureTransformer.FeatureTranslator</H3><PRE>public <B>FeatureTransformer.FeatureTranslator</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, <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, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> ns, <A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.FeatureTypeNamespaces.html" title="class in org.geotools.gml.producer">FeatureTransformer.FeatureTypeNamespaces</A> types, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.SchemaLocationSupport.html" title="class in org.geotools.xml.transform">TransformerBase.SchemaLocationSupport</A> schemaLoc)</PRE><DL><DD>Constructor with handler.<P><DT><B>Parameters:</B><DD><CODE>handler</CODE> - the handler to use.<DD><CODE>prefix</CODE> - DOCUMENT ME!<DD><CODE>ns</CODE> - DOCUMENT ME!<DD><CODE>types</CODE> - DOCUMENT ME!<DD><CODE>schemaLoc</CODE> - DOCUMENT ME!</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="setLockId(java.lang.String)"><!-- --></A><H3>setLockId</H3><PRE>public void <B>setLockId</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> lockId)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getFeatureTypeNamespaces()"><!-- --></A><H3>getFeatureTypeNamespaces</H3><PRE>public <A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.FeatureTypeNamespaces.html" title="class in org.geotools.gml.producer">FeatureTransformer.FeatureTypeNamespaces</A> <B>getFeatureTypeNamespaces</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="encode(java.lang.Object)"><!-- --></A><H3>encode</H3><PRE>public void <B>encode</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> o) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/xml/transform/Translator.html" title="interface in org.geotools.xml.transform">Translator</A></CODE></B></DD><DD>Encode the object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/xml/transform/Translator.html#encode(java.lang.Object)">encode</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/xml/transform/Translator.html" title="interface in org.geotools.xml.transform">Translator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>o</CODE> - The Object to encode.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the Object is not encodeable.</DL></DD></DL><HR><A NAME="handleFeatureReader(org.geotools.data.FeatureReader)"><!-- --></A><H3>handleFeatureReader</H3><PRE>public void <B>handleFeatureReader</B>(<A HREF="../../../../org/geotools/data/FeatureReader.html" title="interface in org.geotools.data">FeatureReader</A> r) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="startFeatureCollection()"><!-- --></A><H3>startFeatureCollection</H3><PRE>public void <B>startFeatureCollection</B>()</PRE><DL><DD><DL></DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -