📄 featuretransformer.html
字号:
<A NAME="getFeatureNamespaces()"><!-- --></A><H3>getFeatureNamespaces</H3><PRE>public <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> <B>getFeatureNamespaces</B>()</PRE><DL><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></DL><HR><A NAME="addSchemaLocation(java.lang.String, java.lang.String)"><!-- --></A><H3>addSchemaLocation</H3><PRE>public void <B>addSchemaLocation</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> nsURI, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> uri)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setSrsName(java.lang.String)"><!-- --></A><H3>setSrsName</H3><PRE>public void <B>setSrsName</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> srsName)</PRE><DL><DD>Used to set the srsName attribute of the Geometries to be turned to xml. For now we can only have all with the same srsName.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>srsName</CODE> - DOCUMENT ME!<DT><B>'TODO:'</B></DT> <DD>REVISIT: once we have better srs support in our feature model this should be rethought, as it's a rather blunt approach.</DD></DL></DD></DL><HR><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>Used to set a lockId attribute after a getFeatureWithLock.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>lockId</CODE> - The lockId of the lock on the WFS.<DT><B>'TODO:'</B></DT> <DD>REVISIT: Ian, this is probably the most wfs specific addition. If you'd like I can subclass and add it there. It has to be added as an attribute to FeatureCollection, to report a GetFeatureWithLock</DD></DL></DD></DL><HR><A NAME="setGmlPrefixing(boolean)"><!-- --></A><H3>setGmlPrefixing</H3><PRE>public void <B>setGmlPrefixing</B>(boolean prefixGml)</PRE><DL><DD>If Gml Prefixing is enabled then attributes with names that could be prefixed with gml, such as description, pointProperty, and name, will be. So if an attribute called name is encountered, instead of prepending the default prefix (say gt2:name), it will turn out as gml:name. Right now this is fairly hacky, as the gml:name, gml:description, ect., should be in the first attributes by default. The actualy geometry encodings will always be prefixed with the proper gml, like gml:coordinates. This only applies to attributes, that could also be part of the features normal schema (for example a pointProperty could be declared in the gt2 namespace, instead of a gml:pointProperty it would be a gt2:pointProperty.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>prefixGml</CODE> - <tt>true</tt> if prefixing gml should be enabled. Default is disabled, no gml prefixing.<DT><B>'TODO:'</B></DT> <DD>REVISIT: only prefix name, description, and boundedBy if they occur in their proper places. Right now names always get gml prefixed if the gmlPrefixing is on, which is less than ideal., REVISIT: The other approach is to allow for generic mapping, users would set which attributes they wanted to have different prefixes.</DD></DL></DD></DL><HR><A NAME="setFeatureBounding(boolean)"><!-- --></A><H3>setFeatureBounding</H3><PRE>public void <B>setFeatureBounding</B>(boolean featureBounding)</PRE><DL><DD>Sets whether a gml:boundedBy element should automatically be generated and included. The element will not be updateable, and is simply derived from the geometries present in the feature. <p> Note that the <tt>setGmlPrefixing()</tt> interacts with this occasionally, since it will hack in a gml prefix to a boundedBy attribute included in the featureType. If gml prefixing is on, and featureBounding is on, then the bounds from the attribute will be used. If gml prefixing is off, then that boundedBy attribute will presumably be in its own namespace, and so the automatic gml boundedBy will not conflict, so both will be printed, with the automatic one deriving its bounds from the boundedBy attribute and any other geometries in the feature </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>featureBounding</CODE> - <tt>true</tt> if the bounds of the feature should be automatically calculated and included as a gml:boundedBy in the gml output. Note this puts a good bit of bandwidth overhead on the output. Default is <tt>false</tt></DL></DD></DL><HR><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><B>Description copied from class: <CODE><A HREF="../../../../org/geotools/xml/transform/TransformerBase.html" title="class in org.geotools.xml.transform">TransformerBase</A></CODE></B></DD><DD>Create a Translator to issue SAXEvents to a ContentHandler.<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></DL></DD></DL><HR><A NAME="createTranslator(org.xml.sax.ContentHandler, java.lang.String, java.lang.String, org.geotools.gml.producer.FeatureTransformer.FeatureTypeNamespaces, org.geotools.xml.transform.TransformerBase.SchemaLocationSupport)"><!-- --></A><H3>createTranslator</H3><PRE>protected <A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.FeatureTranslator.html" title="class in org.geotools.gml.producer">FeatureTransformer.FeatureTranslator</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, <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> featureTypeNamespaces, <A HREF="../../../../org/geotools/xml/transform/TransformerBase.SchemaLocationSupport.html" title="class in org.geotools.xml.transform">TransformerBase.SchemaLocationSupport</A> schemaLocationSupport)</PRE><DL><DD>Template method for creating the translator.<P><DD><DL></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/FeatureTransformer.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/CoordinateWriter.html" title="class in org.geotools.gml.producer"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/gml/producer/FeatureTransformer.FeatureTranslator.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="FeatureTransformer.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 + -