defaultresolvedelta.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 610 行 · 第 1/3 页
HTML
610 行
public boolean visit(IResolveDelta delta) { switch (delta.getKind()) { case IDelta.ADDED : case IDelta.REMOVED : case IDelta.CHANGED : case IDelta.REPLACED : list.add( delta ); default: // ignore } return true; } }); return list.toArray(); </code></pre> </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/ResolveDelta.html#getChildren()">getChildren</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/catalog/ResolveDelta.html" title="interface in org.geotools.catalog">ResolveDelta</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A list of type ResolveDelta.</DL></DD></DL><HR><A NAME="getChildren(java.util.Set)"><!-- --></A><H3>getChildren</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getChildren</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> kindMask)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/catalog/ResolveDelta.html" title="interface in org.geotools.catalog">ResolveDelta</A></CODE></B></DD><DD>Finds and returns the delta information for a given resource.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/ResolveDelta.html#getChildren(java.util.Set)">getChildren</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/catalog/ResolveDelta.html" title="interface in org.geotools.catalog">ResolveDelta</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>kindMask</CODE> - Set of IDelta.Kind<DT><B>Returns:</B><DD>List of IGeoResourceDelta</DL></DD></DL><HR><A NAME="getKind()"><!-- --></A><H3>getKind</H3><PRE>public <A HREF="../../../../org/geotools/catalog/ResolveDelta.Kind.html" title="class in org.geotools.catalog">ResolveDelta.Kind</A> <B>getKind</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/catalog/ResolveDelta.html" title="interface in org.geotools.catalog">ResolveDelta</A></CODE></B></DD><DD>Returns the kind of this delta. <p> Normally, one of <code>ADDED</code>, <code>REMOVED</code>, <code>CHANGED</code> or <code>REPLACED</code>. </p> <p> This set is still open, during shutdown we may throw a few more kinds around. Eclipse makes use of PHANTOM, and NON_PHANTOM not sure we care </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/ResolveDelta.html#getKind()">getKind</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/catalog/ResolveDelta.html" title="interface in org.geotools.catalog">ResolveDelta</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the kind of this resource delta<DT><B>See Also:</B><DD><CODE>Kind.ADDED</CODE>, <CODE>Kind.REMOVED</CODE>, <CODE>Kind.CHANGED</CODE>, <CODE>Kind.REPLACED</CODE></DL></DD></DL><HR><A NAME="getResolve()"><!-- --></A><H3>getResolve</H3><PRE>public <A HREF="../../../../org/geotools/catalog/Resolve.html" title="interface in org.geotools.catalog">Resolve</A> <B>getResolve</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/catalog/ResolveDelta.html" title="interface in org.geotools.catalog">ResolveDelta</A></CODE></B></DD><DD>Returns a handle for the affected handle. <p> For additions (<code>ADDED</code>), this handle describes the newly-added resolve; i.e., the one in the "after" state. <p> For changes (<code>CHANGED</code>), this handle also describes the resource in the "after" state. <p> For removals (<code>REMOVED</code>), this handle describes the resource in the "before" state. Even though this handle not normally exist in the current workspace, the type of resource that was removed can be determined from the handle. <p> For removals (<code>REPLACE</code>), this handle describes the resource in the "before" state. The new handle can be determined with getNewResolve(). <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/ResolveDelta.html#getResolve()">getResolve</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/catalog/ResolveDelta.html" title="interface in org.geotools.catalog">ResolveDelta</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the affected resource (handle)</DL></DD></DL><HR><A NAME="getNewResolve()"><!-- --></A><H3>getNewResolve</H3><PRE>public <A HREF="../../../../org/geotools/catalog/Resolve.html" title="interface in org.geotools.catalog">Resolve</A> <B>getNewResolve</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/catalog/ResolveDelta.html" title="interface in org.geotools.catalog">ResolveDelta</A></CODE></B></DD><DD>For replacement (<code>REPLACE</code>), this handle describes the resource in the "after" state. The old handle can be determined with getResolve(). <p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/ResolveDelta.html#getNewResolve()">getNewResolve</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/catalog/ResolveDelta.html" title="interface in org.geotools.catalog">ResolveDelta</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The new resolve replacing the affected handle.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE><DL><DD><DL></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/DefaultResolveDelta.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/catalog/defaults/DefaultResolveChangeEvent.html" title="class in org.geotools.catalog.defaults"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/catalog/defaults/DefaultServiceFactory.html" title="class in org.geotools.catalog.defaults"><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="DefaultResolveDelta.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 | <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 + =
减小字号Ctrl + -
显示快捷键?