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

📄 featuretypetransformer.featuretypetranslator.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTypeTransformer.FeatureTypeTranslator.html#encode(org.geotools.feature.FeatureType)">encode</A></B>(<A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;type)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encode the supplied feature type.</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/FeatureTypeTransformer.FeatureTypeTranslator.html#encode(java.lang.Object)">encode</A></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>&nbsp;o)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encode object o, which must be an instance of FeatureType. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTypeTransformer.FeatureTypeTranslator.html#encodeBoolean(org.geotools.feature.AttributeType)">encodeBoolean</A></B>(<A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A>&nbsp;attribute)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encode an AttributeType whose value type is a Boolean.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTypeTransformer.FeatureTypeTranslator.html#encodeDate(org.geotools.feature.AttributeType)">encodeDate</A></B>(<A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A>&nbsp;attribute)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encode an AttributeType whose value type is a Date.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTypeTransformer.FeatureTypeTranslator.html#encodeGeometry(org.geotools.feature.AttributeType)">encodeGeometry</A></B>(<A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A>&nbsp;attribute)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encode an AttributeType whose value type is a Geometry.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTypeTransformer.FeatureTypeTranslator.html#encodeNumber(org.geotools.feature.AttributeType)">encodeNumber</A></B>(<A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A>&nbsp;attribute)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encode an AttributeType whose value type is a Number.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTypeTransformer.FeatureTypeTranslator.html#encodeString(org.geotools.feature.AttributeType)">encodeString</A></B>(<A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A>&nbsp;attribute)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encode an AttributeType whose value type is a String.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTypeTransformer.FeatureTypeTranslator.html#endSchemaType()">endSchemaType</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End the schema fragment for a feature type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/gml/producer/FeatureTypeTransformer.FeatureTypeTranslator.html#startSchemaType(java.lang.String, java.net.URI)">startSchemaType</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;name,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URI.html" title="class or interface in java.net">URI</A>&nbsp;namespace)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start the schema fragment for a feature type.</TD></TR></TABLE>&nbsp;<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>&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="FeatureTypeTransformer.FeatureTypeTranslator(org.xml.sax.ContentHandler)"><!-- --></A><H3>FeatureTypeTransformer.FeatureTypeTranslator</H3><PRE>public <B>FeatureTypeTransformer.FeatureTypeTranslator</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)</PRE><DL><DD>Creates a new FeatureTypeTranslator. The default prefix is "xs" and the default namespace is "http://www.w3.org/2001/XMLSchema".<P><DT><B>Parameters:</B><DD><CODE>handler</CODE> - the content handler that receives the SAX events</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="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>&nbsp;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>Encode object o, which must be an instance of FeatureType. If it is not an IllegalArgumentException will be thrown.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>o</CODE> - DOCUMENT ME!<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 supplied object is not an         instance of FeatureType<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/xml/transform/Translator.html#encode(java.lang.Object)"><CODE>Translator.encode(java.lang.Object)</CODE></A></DL></DD></DL><HR><A NAME="encode(org.geotools.feature.FeatureType)"><!-- --></A><H3>encode</H3><PRE>protected void <B>encode</B>(<A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;type)</PRE><DL><DD>Encode the supplied feature type.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - the feature type to encode<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang">RuntimeException</A></CODE> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="startSchemaType(java.lang.String, java.net.URI)"><!-- --></A><H3>startSchemaType</H3><PRE>protected void <B>startSchemaType</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;name,                               <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URI.html" title="class or interface in java.net">URI</A>&nbsp;namespace)                        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>Start the schema fragment for a feature type.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - <DD><CODE>namespace</CODE> - DOCUMENT ME!<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="endSchemaType()"><!-- --></A><H3>endSchemaType</H3><PRE>protected void <B>endSchemaType</B>()                      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>End the schema fragment for a feature type.<P>

⌨️ 快捷键说明

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