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

📄 wfsfeaturestore.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<A NAME="addFeatures(org.geotools.feature.FeatureCollection)"><!-- --></A><H3>addFeatures</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> <B>addFeatures</B>(<A HREF="../../../../org/geotools/feature/FeatureCollection.html" title="interface in org.geotools.feature">FeatureCollection</A>&nbsp;collection)                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><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/FeatureStore.html" title="interface in org.geotools.data">FeatureStore</A></CODE></B></DD><DD>Adds all features from the passed feature collection to the datasource.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureStore.html#addFeatures(org.geotools.feature.FeatureCollection)">addFeatures</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureStore.html" title="interface in org.geotools.data">FeatureStore</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>collection</CODE> - The collection of features to add.<DT><B>Returns:</B><DD>the FeatureIds of the newly added features.<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 anything goes wrong.</DL></DD></DL><HR><A NAME="removeFeatures(org.geotools.filter.Filter)"><!-- --></A><H3>removeFeatures</H3><PRE>public void <B>removeFeatures</B>(<A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A>&nbsp;filter2)                    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><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/FeatureStore.html" title="interface in org.geotools.data">FeatureStore</A></CODE></B></DD><DD>Removes all of the features specificed by the passed filter from the collection.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureStore.html#removeFeatures(org.geotools.filter.Filter)">removeFeatures</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureStore.html" title="interface in org.geotools.data">FeatureStore</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>filter2</CODE> - An OpenGIS filter; specifies which features to remove.<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 anything goes wrong.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/FeatureStore.html#removeFeatures(org.geotools.filter.Filter)"><CODE>FeatureStore.removeFeatures(org.geotools.filter.Filter)</CODE></A></DL></DD></DL><HR><A NAME="modifyFeatures(org.geotools.feature.AttributeType[], java.lang.Object[], org.geotools.filter.Filter)"><!-- --></A><H3>modifyFeatures</H3><PRE>public void <B>modifyFeatures</B>(<A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A>[]&nbsp;type,                           <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;value,                           <A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A>&nbsp;filter2)                    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><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/FeatureStore.html" title="interface in org.geotools.data">FeatureStore</A></CODE></B></DD><DD>Modifies the passed attribute types with the passed objects in all features that correspond to the passed OGS filter.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureStore.html#modifyFeatures(org.geotools.feature.AttributeType[], java.lang.Object[], org.geotools.filter.Filter)">modifyFeatures</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureStore.html" title="interface in org.geotools.data">FeatureStore</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - The attributes to modify.<DD><CODE>value</CODE> - The values to put in the attribute types.<DD><CODE>filter2</CODE> - An OGC filter to note which attributes to modify.<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 the attribute and object arrays are not eqaul         length, if the object types do not match the attribute types,         or if there are backend errors.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/FeatureStore.html#modifyFeatures(org.geotools.feature.AttributeType[], java.lang.Object[], org.geotools.filter.Filter)"><CODE>FeatureStore.modifyFeatures(org.geotools.feature.AttributeType[], java.lang.Object[], org.geotools.filter.Filter)</CODE></A></DL></DD></DL><HR><A NAME="modifyFeatures(org.geotools.feature.AttributeType, java.lang.Object, org.geotools.filter.Filter)"><!-- --></A><H3>modifyFeatures</H3><PRE>public void <B>modifyFeatures</B>(<A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A>&nbsp;type,                           <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;value,                           <A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A>&nbsp;filter)                    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><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/FeatureStore.html" title="interface in org.geotools.data">FeatureStore</A></CODE></B></DD><DD>Modifies the passed attribute types with the passed objects in all features that correspond to the passed OGS filter.  A convenience method for single attribute modifications.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureStore.html#modifyFeatures(org.geotools.feature.AttributeType, java.lang.Object, org.geotools.filter.Filter)">modifyFeatures</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureStore.html" title="interface in org.geotools.data">FeatureStore</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - The attributes to modify.<DD><CODE>value</CODE> - The values to put in the attribute types.<DD><CODE>filter</CODE> - An OGC filter to note which attributes to modify.<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 modificaton is not supported, if the object type         do not match the attribute type.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/FeatureStore.html#modifyFeatures(org.geotools.feature.AttributeType, java.lang.Object, org.geotools.filter.Filter)"><CODE>FeatureStore.modifyFeatures(org.geotools.feature.AttributeType, java.lang.Object, org.geotools.filter.Filter)</CODE></A></DL></DD></DL><HR><A NAME="setFeatures(org.geotools.data.FeatureReader)"><!-- --></A><H3>setFeatures</H3><PRE>public void <B>setFeatures</B>(<A HREF="../../../../org/geotools/data/FeatureReader.html" title="interface in org.geotools.data">FeatureReader</A>&nbsp;reader)                 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><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/FeatureStore.html" title="interface in org.geotools.data">FeatureStore</A></CODE></B></DD><DD>Deletes the all the current Features of this datasource and adds the new collection.  Primarily used as a convenience method for file datasources.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureStore.html#setFeatures(org.geotools.data.FeatureReader)">setFeatures</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureStore.html" title="interface in org.geotools.data">FeatureStore</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>reader</CODE> - - the collection to be written<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 there are any datasource errors.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/FeatureStore.html#setFeatures(org.geotools.data.FeatureReader)"><CODE>FeatureStore.setFeatures(org.geotools.data.FeatureReader)</CODE></A></DL></DD></DL><HR><A NAME="setTransaction(org.geotools.data.Transaction)"><!-- --></A><H3>setTransaction</H3><PRE>public void <B>setTransaction</B>(<A HREF="../../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A>&nbsp;transaction)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/FeatureStore.html" title="interface in org.geotools.data">FeatureStore</A></CODE></B></DD><DD>Provides a transaction for commit/rollback control of this FeatureStore. <p> This method operates as a replacement for setAutoCommitMode.  When a transaction is provided you are no longer automatically committing. </p> <p> In order to return to AutoCommit mode supply the Transaction.AUTO_COMMIT to this method. Since this represents a return to AutoCommit mode the previous Transaction will be commited. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureStore.html#setTransaction(org.geotools.data.Transaction)">setTransaction</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureStore.html" title="interface in org.geotools.data">FeatureStore</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>transaction</CODE> - DOCUMENT ME!<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/FeatureStore.html#setTransaction(org.geotools.data.Transaction)"><CODE>FeatureStore.setTransaction(org.geotools.data.Transaction)</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/WFSFeatureStore.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../org/geotools/data/wfs/WFSFeatureSource.WFSFeatureResults.html" title="class in org.geotools.data.wfs"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/geotools/data/wfs/WFSSchemaFactory.html" title="class in org.geotools.data.wfs"><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>  &nbsp;&nbsp;<A HREF="WFSFeatureStore.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;<A HREF="#nested_classes_inherited_from_class_org.geotools.data.wfs.WFSFeatureSource">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 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 + -