adaptingresolve.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 702 行 · 第 1/3 页
HTML
702 行
<HR><A NAME="resolve(java.lang.Class, org.geotools.util.ProgressListener)"><!-- --></A><H3>resolve</H3><PRE>public final <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>resolve</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> adaptee, <A HREF="../../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A> 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><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>Blocking method which is used to resolve into an instance of a particular class. <p> Required adaptions will be listed in Abstract Classes that implement this interface. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/Resolve.html#resolve(java.lang.Class, org.geotools.util.ProgressListener)">resolve</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.<DD><CODE>monitor</CODE> - Progress monitor used to report status while blocking. May be null.<DT><B>Returns:</B><DD>Instance of type adaptee, or null if the resolve is unsuported.<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="parent(org.geotools.util.ProgressListener)"><!-- --></A><H3>parent</H3><PRE>public final <A HREF="../../../../org/geotools/catalog/Resolve.html" title="interface in org.geotools.catalog">Resolve</A> <B>parent</B>(<A HREF="../../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A> 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><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>Blocking method which resolves this instance into its parent. This method may return null if the parent can not be determined.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/Resolve.html#parent(org.geotools.util.ProgressListener)">parent</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>The parent Resolve, or null if the parent can be obtained.<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="getStatus()"><!-- --></A><H3>getStatus</H3><PRE>public <A HREF="../../../../org/geotools/catalog/Resolve.Status.html" title="class in org.geotools.catalog">Resolve.Status</A> <B>getStatus</B>()</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>Status of the resolve. Resolving into other types of objects often involves connecting to a remote service or resource. This method is provided to indicate the state of any connections.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/Resolve.html#getStatus()">getStatus</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>Returns:</B><DD>One of <A HREF="../../../../org/geotools/catalog/Resolve.Status.html#BROKEN"><CODE>Resolve.Status.BROKEN</CODE></A>,<A HREF="../../../../org/geotools/catalog/Resolve.Status.html#CONNECTED"><CODE>Resolve.Status.CONNECTED</CODE></A>, or <A HREF="../../../../org/geotools/catalog/Resolve.Status.html#NOTCONNECTED"><CODE>Resolve.Status.NOTCONNECTED</CODE></A>.</DL></DD></DL><HR><A NAME="getMessage()"><!-- --></A><H3>getMessage</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> <B>getMessage</B>()</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>In the event that an error occurs during a resolve, that error can be reported back with this method. This method returns a value when <A HREF="../../../../org/geotools/catalog/Resolve.html#getStatus()"><CODE>Resolve.getStatus()</CODE></A> returns <A HREF="../../../../org/geotools/catalog/Resolve.Status.html#BROKEN"><CODE>Resolve.Status.BROKEN</CODE></A>, otherwise it return null.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/Resolve.html#getMessage()">getMessage</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>Returns:</B><DD>An exception that occured during a resolve, otherwise null.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/catalog/Resolve.Status.html" title="class in org.geotools.catalog"><CODE>Resolve.Status</CODE></A></DL></DD></DL><HR><A NAME="getIdentifier()"><!-- --></A><H3>getIdentifier</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URI.html" title="class or interface in java.net">URI</A> <B>getIdentifier</B>()</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>Returns a URI which uniqley identifies the Resolve.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/Resolve.html#getIdentifier()">getIdentifier</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>Returns:</B><DD>Id of the Resolve, should never be null.</DL></DD></DL><HR><A NAME="addListener(org.geotools.catalog.ResolveChangeListener)"><!-- --></A><H3>addListener</H3><PRE>public void <B>addListener</B>(<A HREF="../../../../org/geotools/catalog/ResolveChangeListener.html" title="interface in org.geotools.catalog">ResolveChangeListener</A> listener) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</A></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>Adds a listener to the Resolve. Support for event notification is up to the specific implementation.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/Resolve.html#addListener(org.geotools.catalog.ResolveChangeListener)">addListener</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>listener</CODE> - The observer.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - When event notification is not supported.</DL></DD></DL><HR><A NAME="removeListener(org.geotools.catalog.ResolveChangeListener)"><!-- --></A><H3>removeListener</H3><PRE>public void <B>removeListener</B>(<A HREF="../../../../org/geotools/catalog/ResolveChangeListener.html" title="interface in org.geotools.catalog">ResolveChangeListener</A> listener)</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>Removes a listener from the Resolve. Support for event notification is up to the specific implementation.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/Resolve.html#removeListener(org.geotools.catalog.ResolveChangeListener)">removeListener</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>listener</CODE> - The observer.</DL></DD></DL><HR><A NAME="fire(org.geotools.catalog.ResolveChangeEvent)"><!-- --></A><H3>fire</H3><PRE>public void <B>fire</B>(<A HREF="../../../../org/geotools/catalog/ResolveChangeEvent.html" title="interface in org.geotools.catalog">ResolveChangeEvent</A> event)</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>Fires a change event against the Resolve. Support for event notification is up to the specific implementation.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/Resolve.html#fire(org.geotools.catalog.ResolveChangeEvent)">fire</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>event</CODE> - The event describing the change.</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/AdaptingResolve.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/adaptable/AdaptingGeoResource.html" title="class in org.geotools.catalog.adaptable"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/catalog/adaptable/AdaptingService.html" title="class in org.geotools.catalog.adaptable"><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="AdaptingResolve.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> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | 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 + =
减小字号Ctrl + -
显示快捷键?