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

📄 featuretransformer.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 3 页
字号:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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/FeatureTransformer.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>&nbsp;handler)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a Translator to issue SAXEvents to a ContentHandler.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.FeatureTranslator.html" title="class in org.geotools.gml.producer">FeatureTransformer.FeatureTranslator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.html#createTranslator(org.xml.sax.ContentHandler, java.lang.String, java.lang.String, org.geotools.gml.producer.FeatureTransformer.FeatureTypeNamespaces, org.geotools.xml.transform.TransformerBase.SchemaLocationSupport)">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>&nbsp;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>&nbsp;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>&nbsp;ns,                 <A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.FeatureTypeNamespaces.html" title="class in org.geotools.gml.producer">FeatureTransformer.FeatureTypeNamespaces</A>&nbsp;featureTypeNamespaces,                 <A HREF="../../../../org/geotools/xml/transform/TransformerBase.SchemaLocationSupport.html" title="class in org.geotools.xml.transform">TransformerBase.SchemaLocationSupport</A>&nbsp;schemaLocationSupport)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Template method for creating the translator.</TD></TR><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/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.html#getCollectionNamespace()">getCollectionNamespace</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><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/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.html#getCollectionPrefix()">getCollectionPrefix</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><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/org/xml/sax/helpers/NamespaceSupport.html" title="class or interface in org.xml.sax.helpers">NamespaceSupport</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.html#getFeatureNamespaces()">getFeatureNamespaces</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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.html#getFeatureTypeNamespaces()">getFeatureTypeNamespaces</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.html#setCollectionNamespace(java.lang.String)">setCollectionNamespace</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>&nbsp;nsURI)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.html#setCollectionPrefix(java.lang.String)">setCollectionPrefix</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>&nbsp;prefix)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.html#setFeatureBounding(boolean)">setFeatureBounding</A></B>(boolean&nbsp;featureBounding)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether a gml:boundedBy element should automatically be generated and included.  </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.html#setGmlPrefixing(boolean)">setGmlPrefixing</A></B>(boolean&nbsp;prefixGml)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If Gml Prefixing is enabled then attributes with names that could be prefixed with gml, such as description, pointProperty, and name, will be.  </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.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>&nbsp;lockId)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to set a lockId attribute after a getFeatureWithLock.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.html#setNumDecimals(int)">setNumDecimals</A></B>(int&nbsp;numDecimals)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of decimals to be used in the geometry coordinates of the response.  </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.html#setSrsName(java.lang.String)">setSrsName</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>&nbsp;srsName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to set the srsName attribute of the Geometries to be turned to xml. </TD></TR></TABLE>&nbsp;<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>&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#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>&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="FeatureTransformer()"><!-- --></A><H3>FeatureTransformer</H3><PRE>public <B>FeatureTransformer</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="setCollectionNamespace(java.lang.String)"><!-- --></A><H3>setCollectionNamespace</H3><PRE>public void <B>setCollectionNamespace</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>&nbsp;nsURI)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getCollectionNamespace()"><!-- --></A><H3>getCollectionNamespace</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getCollectionNamespace</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setCollectionPrefix(java.lang.String)"><!-- --></A><H3>setCollectionPrefix</H3><PRE>public void <B>setCollectionPrefix</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>&nbsp;prefix)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getCollectionPrefix()"><!-- --></A><H3>getCollectionPrefix</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getCollectionPrefix</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setNumDecimals(int)"><!-- --></A><H3>setNumDecimals</H3><PRE>public void <B>setNumDecimals</B>(int&nbsp;numDecimals)</PRE><DL><DD>Sets the number of decimals to be used in the geometry coordinates of the response.  This allows for more efficient results, since often the storage format itself won't specify as many decimal places as the response might want.  The default is 4, but should generally be set by the user of this class.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>numDecimals</CODE> - the number of significant digits past the decimal to        include in the response.</DL></DD></DL><HR>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -