📄 typeentry.html
字号:
<!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="getDisplayName()"><!-- --></A><H3>getDisplayName</H3><PRE>public InternationalString <B>getDisplayName</B>()</PRE><DL><DD><DL><DT><B>Returns:</B><DD>user name for this feature collection</DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public InternationalString <B>getDescription</B>()</PRE><DL><DD><DL><DT><B>Returns:</B><DD>Description of this feature collection</DL></DD></DL><HR><A NAME="getFeatureType()"><!-- --></A><H3>getFeatureType</H3><PRE>public <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> <B>getFeatureType</B>() 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><DT><B>Returns:</B><DD>Schema of this feature collection<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> - If resoruce is unavailable</DL></DD></DL><HR><A NAME="getBounds()"><!-- --></A><H3>getBounds</H3><PRE>public <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> <B>getBounds</B>()</PRE><DL><DD>Bounding box for associated Feature Collection, will be calcualted as needed. <p> Note bounding box is returned in lat/long - the coordinate system of the default geometry is used to provide this reprojection. </p><P><DD><DL><DT><B>Returns:</B><DD>Enveloper for this FeatureCollection/FeatureType</DL></DD></DL><HR><A NAME="getCount()"><!-- --></A><H3>getCount</H3><PRE>public int <B>getCount</B>()</PRE><DL><DD>Number of features in associated Feature Collection, will be calcualted as needed<P><DD><DL><DT><B>Returns:</B><DD>number of features, may block while value is calculated, -1 indicates resource is unavailable</DL></DD></DL><HR><A NAME="getFeatureSource()"><!-- --></A><H3>getFeatureSource</H3><PRE>public <A HREF="../../../../org/geotools/data/FeatureSource.html" title="interface in org.geotools.data">FeatureSource</A> <B>getFeatureSource</B>() 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>Create a new FeatueSource allowing interaction with content. <p> Subclass may optionally implement: <ul> <li>FeatureStore - to allow read/write access <li>FeatureLocking - for locking support </ul> This choice may even be made a runtime (allowing the api to represent a readonly file). </p> <p> Several default implemenations are provided<P><DD><DL><DT><B>Returns:</B><DD>FeatureLocking allowing access to content.<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="fireAdded(org.geotools.feature.Feature, org.geotools.data.Transaction)"><!-- --></A><H3>fireAdded</H3><PRE>public void <B>fireAdded</B>(<A HREF="../../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> newFeature, <A HREF="../../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A> transaction)</PRE><DL><DD>Change notifcation<P><DD><DL><DT><B>Parameters:</B><DD><CODE>newFeature</CODE> - <DD><CODE>transaction</CODE> - </DL></DD></DL><HR><A NAME="fireRemoved(org.geotools.feature.Feature, org.geotools.data.Transaction)"><!-- --></A><H3>fireRemoved</H3><PRE>public void <B>fireRemoved</B>(<A HREF="../../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> removedFeature, <A HREF="../../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A> transaction)</PRE><DL><DD>Change notifcation<P><DD><DL><DT><B>Parameters:</B><DD><CODE>removedFeature</CODE> - <DD><CODE>transaction</CODE> - </DL></DD></DL><HR><A NAME="fireChanged(org.geotools.feature.Feature, org.geotools.feature.Feature, org.geotools.data.Transaction)"><!-- --></A><H3>fireChanged</H3><PRE>public void <B>fireChanged</B>(<A HREF="../../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> before, <A HREF="../../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> after, <A HREF="../../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A> transaction)</PRE><DL><DD>Change notifcation<P><DD><DL><DT><B>Parameters:</B><DD><CODE>before</CODE> - <DD><CODE>after</CODE> - <DD><CODE>transaction</CODE> - </DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</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> obj)</PRE><DL><DD>Equals based only on resource definition information (not connection information).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - <DT><B>Returns:</B><DD>true if TypeEntry represents the same resource<DT><B>See Also:</B><DD><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"><CODE>Object.equals(java.lang.Object)</CODE></A></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>This hashcode is *VERY* important! <p> The hascode must be dependent only on the parameters that "define" the resource, not those that control opperation. <ul> <li>when representing a URL the hashcode must be: url.hashCode() <li>when representing a File the hashcode must be: file.toURL().hashcode() <li>when representing a database connection: hascode of jdbc url w/ out username, password </ul> </p> <p> Implemetnation tip - URL.hashCode is a blocking operation, so you calculate and cache when the URL changes, rather than block this method. </p><P><DD><DL><DT><B>Returns:</B><DD>hashCode based on resource definition<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang"><CODE>Object.hashCode()</CODE></A></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/TypeEntry.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"> PREV CLASS NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="TypeEntry.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -