adaptingresolve.html

来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 702 行 · 第 1/3 页

HTML
702 行
字号
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../org/geotools/catalog/Resolve.Status.html" title="class in org.geotools.catalog">Resolve.Status</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/catalog/adaptable/AdaptingResolve.html#getStatus()">getStatus</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Status of the resolve. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/catalog/adaptable/AdaptingResolve.html#members(org.geotools.util.ProgressListener)">members</A></B>(<A HREF="../../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A>&nbsp;monitor)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sublcasses need to override and ensure that returned members are  instances of <A HREF="../../../../org/geotools/catalog/adaptable/AdaptingResolve.html" title="class in org.geotools.catalog.adaptable"><CODE>AdaptingResolve</CODE></A>. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../org/geotools/catalog/Resolve.html" title="interface in org.geotools.catalog">Resolve</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/catalog/adaptable/AdaptingResolve.html#parent(org.geotools.util.ProgressListener)">parent</A></B>(<A HREF="../../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A>&nbsp;monitor)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blocking method which resolves this instance into its parent. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/catalog/adaptable/AdaptingResolve.html#removeListener(org.geotools.catalog.ResolveChangeListener)">removeListener</A></B>(<A HREF="../../../../org/geotools/catalog/ResolveChangeListener.html" title="interface in org.geotools.catalog">ResolveChangeListener</A>&nbsp;listener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a listener from the Resolve. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/catalog/adaptable/AdaptingResolve.html#resolve(java.lang.Class, org.geotools.util.ProgressListener)">resolve</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;adaptee,        <A HREF="../../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A>&nbsp;monitor)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blocking method which is used to resolve into an instance of a particular class. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/catalog/adaptable/AdaptingResolve.html#wrap(java.util.List)">wrap</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&nbsp;members)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wraps a list of catalog handles in an associated "adapting" implemenation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../../org/geotools/catalog/adaptable/AdaptingResolve.html" title="class in org.geotools.catalog.adaptable">AdaptingResolve</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/catalog/adaptable/AdaptingResolve.html#wrap(org.geotools.catalog.Resolve)">wrap</A></B>(<A HREF="../../../../org/geotools/catalog/Resolve.html" title="interface in org.geotools.catalog">Resolve</A>&nbsp;resolve)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wraps a resove handle in an adapting resolve handle.  </TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <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></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <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">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="resolve"><!-- --></A><H3>resolve</H3><PRE>protected <A HREF="../../../../org/geotools/catalog/Resolve.html" title="interface in org.geotools.catalog">Resolve</A> <B>resolve</B></PRE><DL><DD>The wrapped resolve.<P><DL></DL></DL><HR><A NAME="finder"><!-- --></A><H3>finder</H3><PRE>protected <A HREF="../../../../org/geotools/catalog/adaptable/ResolveAdapterFactoryFinder.html" title="class in org.geotools.catalog.adaptable">ResolveAdapterFactoryFinder</A> <B>finder</B></PRE><DL><DD>Adapter used to adapt the resolve.<P><DL></DL></DL><!-- ========= 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="getResolveAdapterFactoryFinder()"><!-- --></A><H3>getResolveAdapterFactoryFinder</H3><PRE>public <A HREF="../../../../org/geotools/catalog/adaptable/ResolveAdapterFactoryFinder.html" title="class in org.geotools.catalog.adaptable">ResolveAdapterFactoryFinder</A> <B>getResolveAdapterFactoryFinder</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="members(org.geotools.util.ProgressListener)"><!-- --></A><H3>members</H3><PRE>public final <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>members</B>(<A HREF="../../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A>&nbsp;monitor)                   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>Sublcasses need to override and ensure that returned members are  instances of <A HREF="../../../../org/geotools/catalog/adaptable/AdaptingResolve.html" title="class in org.geotools.catalog.adaptable"><CODE>AdaptingResolve</CODE></A>. <p> As a convenience the <CODE>#wrap(List, Class)</CODE> method can be used as  follows:  <code> 	<pre> 		return wrap( resolve.members( monitor), AbstractResolve.class ); 	</pre> </code> </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/Resolve.html#members(org.geotools.util.ProgressListener)">members</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/catalog/Resolve.html" title="interface in org.geotools.catalog">Resolve</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>monitor</CODE> - Progress monitor used to report status while blocking.        May  be null.<DT><B>Returns:</B><DD>A list (possibly empty) of members, null if the members could         not be obtained or the instance has not members. Objects in the         returned list implement the Resolve interface.<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> - in the result of an I/O error.</DL></DD></DL><HR><A NAME="wrap(java.util.List)"><!-- --></A><H3>wrap</H3><PRE>protected <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>wrap</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&nbsp;members)</PRE><DL><DD>Wraps a list of catalog handles in an associated "adapting" implemenation.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>members</CODE> - List of catalog handles.<DT><B>Returns:</B><DD>The list of wrapped handles.</DL></DD></DL><HR><A NAME="wrap(org.geotools.catalog.Resolve)"><!-- --></A><H3>wrap</H3><PRE>protected <A HREF="../../../../org/geotools/catalog/adaptable/AdaptingResolve.html" title="class in org.geotools.catalog.adaptable">AdaptingResolve</A> <B>wrap</B>(<A HREF="../../../../org/geotools/catalog/Resolve.html" title="interface in org.geotools.catalog">Resolve</A>&nbsp;resolve)</PRE><DL><DD>Wraps a resove handle in an adapting resolve handle.  <p> If <code>resolve</code> already extends <A HREF="../../../../org/geotools/catalog/adaptable/AdaptingResolve.html" title="class in org.geotools.catalog.adaptable"><CODE>AdaptingResolve</CODE></A>, then it  is not wrapped. This method supports the following "wraps": <ul> 	<li><A HREF="../../../../org/geotools/catalog/Catalog.html" title="interface in org.geotools.catalog"><CODE>Catalog</CODE></A> -> <A HREF="../../../../org/geotools/catalog/adaptable/AdaptingCatalog.html" title="class in org.geotools.catalog.adaptable"><CODE>AdaptingCatalog</CODE></A>.  <li><A HREF="../../../../org/geotools/catalog/Service.html" title="interface in org.geotools.catalog"><CODE>Service</CODE></A> -> <A HREF="../../../../org/geotools/catalog/adaptable/AdaptingService.html" title="class in org.geotools.catalog.adaptable"><CODE>AdaptingService</CODE></A>.  <li><A HREF="../../../../org/geotools/catalog/GeoResource.html" title="interface in org.geotools.catalog"><CODE>GeoResource</CODE></A> -> <A HREF="../../../../org/geotools/catalog/adaptable/AdaptingGeoResource.html" title="class in org.geotools.catalog.adaptable"><CODE>AdaptingGeoResource</CODE></A>. </ul> </p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>resolve</CODE> - The catalog handle being wrapped in an adapting version  of it.<DT><B>Returns:</B><DD>The adapting catalog handle, or null if <code>resolve</code> is  not an instance of Catlaog,Serfvice,or GeoResource.</DL></DD></DL><HR><A NAME="canResolve(java.lang.Class)"><!-- --></A><H3>canResolve</H3><PRE>public final boolean <B>canResolve</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;adaptee)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/catalog/Resolve.html" title="interface in org.geotools.catalog">Resolve</A></CODE></B></DD><DD>Non blocking method which is used to determine if a resolve into an instance of a particular class is supported.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/Resolve.html#canResolve(java.lang.Class)">canResolve</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/catalog/Resolve.html" title="interface in org.geotools.catalog">Resolve</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>adaptee</CODE> - Class of object to resolve into.<DT><B>Returns:</B><DD>true if a resolution for adaptee is avaialble<DT><B>See Also:</B><DD><CODE>IResolve#resolve(Class,ProgressListener)</CODE></DL></DD></DL>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?