geometricattributetype.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 579 行 · 第 1/3 页
HTML
579 行
CoordinateReferenceSystem override)</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="getCoordinateSystem()"><!-- --></A><H3>getCoordinateSystem</H3><PRE>public CoordinateReferenceSystem <B>getCoordinateSystem</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/feature/GeometryAttributeType.html" title="interface in org.geotools.feature">GeometryAttributeType</A></CODE></B></DD><DD>Retrieve the CS_CoordinateSystem used by this GeometryAttributeType. <p> OUT OF DATE: The class CoordinateSystem holds a GeometryFactory that is used for creating new content. By extension this includes the SRID, PercisionModel and CoordinateSequenceFactory information. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/feature/GeometryAttributeType.html#getCoordinateSystem()">getCoordinateSystem</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/feature/GeometryAttributeType.html" title="interface in org.geotools.feature">GeometryAttributeType</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The coordinate reference system for this GeometryAttributeType</DL></DD></DL><HR><A NAME="getGeometryFactory()"><!-- --></A><H3>getGeometryFactory</H3><PRE>public <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/GeometryFactory.html" title="class or interface in com.vividsolutions.jts.geom">GeometryFactory</A> <B>getGeometryFactory</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/feature/GeometryAttributeType.html" title="interface in org.geotools.feature">GeometryAttributeType</A></CODE></B></DD><DD>The Geometryfactory used for creating new content. <p> Replace with the following code:<pre><code> Map hints = new HashMap(); hints.put( CoordinateReferneceSystem.class, type.getCoordinateSystem() ); GeometryFactory gf = FactoryFinder.getGeometryFactory( Map hints ); // You can now use gf create methods </code></pre><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/feature/GeometryAttributeType.html#getGeometryFactory()">getGeometryFactory</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/feature/GeometryAttributeType.html" title="interface in org.geotools.feature">GeometryAttributeType</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>GeometryFactory used for new Content</DL></DD></DL><HR><A NAME="parse(java.lang.Object)"><!-- --></A><H3>parse</H3><PRE>public <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>parse</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> value) 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/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></CODE></B></DD><DD>Allows this AttributeType to convert an argument to its prefered storage type. If no parsing is possible, returns the original value. If a parse is attempted, yet fails (i.e. a poor decimal format) throw the Exception. This is mostly for use internally in Features, but implementors should simply follow the rules to be safe.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/feature/AttributeType.html#parse(java.lang.Object)">parse</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/feature/DefaultAttributeType.html#parse(java.lang.Object)">parse</A></CODE> in class <CODE><A HREF="../../../../org/geotools/feature/DefaultAttributeType.html" title="class in org.geotools.feature">DefaultAttributeType</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - the object to attempt parsing of.<DT><B>Returns:</B><DD><code>value</code> converted to the preferred storage of this <code>AttributeType</code>. If no parsing was possible then the same object is returned.<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 parsing is attempted and is unsuccessful.</DL></DD></DL><HR><A NAME="duplicate(java.lang.Object)"><!-- --></A><H3>duplicate</H3><PRE>public <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>duplicate</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="../../../../org/geotools/feature/IllegalAttributeException.html" title="class in org.geotools.feature">IllegalAttributeException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></CODE></B></DD><DD>Create a duplicate value of the passed Object. For immutable Objects, it is not neccessary to create a new Object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/feature/AttributeType.html#duplicate(java.lang.Object)">duplicate</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/feature/DefaultAttributeType.html#duplicate(java.lang.Object)">duplicate</A></CODE> in class <CODE><A HREF="../../../../org/geotools/feature/DefaultAttributeType.html" title="class in org.geotools.feature">DefaultAttributeType</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A duplicated Object if the type is mutable or the same Object if it is immutable or null if the passed Object is null.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/feature/IllegalAttributeException.html" title="class in org.geotools.feature">IllegalAttributeException</A></CODE> - if the Object cannot be duplicated.</DL></DD></DL><HR><A NAME="getRestriction()"><!-- --></A><H3>getRestriction</H3><PRE>public <A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> <B>getRestriction</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/feature/GeometryAttributeType.html" title="interface in org.geotools.feature">GeometryAttributeType</A></CODE></B></DD><DD>Restriction is assumed to be in agreement with Geometry class indicated.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/feature/GeometryAttributeType.html#getRestriction()">getRestriction</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/feature/GeometryAttributeType.html" title="interface in org.geotools.feature">GeometryAttributeType</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/feature/DefaultAttributeType.html#getRestriction()">getRestriction</A></CODE> in class <CODE><A HREF="../../../../org/geotools/feature/DefaultAttributeType.html" title="class in org.geotools.feature">DefaultAttributeType</A></CODE></DL></DD><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/GeometricAttributeType.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/feature/type/FeatureAttributeType.html" title="class in org.geotools.feature.type"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/feature/type/ListAttributeType.html" title="class in org.geotools.feature.type"><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="GeometricAttributeType.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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <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 + =
减小字号Ctrl + -
显示快捷键?