resolve.html

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

HTML
540 行
字号
</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/Resolve.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></TABLE>&nbsp;<P><!-- ============ 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="resolve(java.lang.Class, org.geotools.util.ProgressListener)"><!-- --></A><H3>resolve</H3><PRE>public <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>&nbsp;adaptee,                      <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>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>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="canResolve(java.lang.Class)"><!-- --></A><H3>canResolve</H3><PRE>public 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>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>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><HR><A NAME="parent(org.geotools.util.ProgressListener)"><!-- --></A><H3>parent</H3><PRE>public <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>&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>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>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="members(org.geotools.util.ProgressListener)"><!-- --></A><H3>members</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>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>Blocking method which resolves this instance into its members (children). This method returns null if the instance does not have any children, or  the children could be determined.<P><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="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>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>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>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>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>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>Returns a URI which uniqley identifies the Resolve.<P><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>&nbsp;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>Adds a listener to the Resolve. Support for event notification is up to the specific implementation.<P><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>&nbsp;listener)</PRE><DL><DD>Removes a listener from the Resolve. Support for event notification is up  to the specific implementation.<P><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>&nbsp;event)</PRE><DL><DD>Fires a change event against the Resolve. Support for event notification is up to the specific implementation.<P><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>&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/Resolve.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/catalog/GeoResourceInfo.html" title="interface in org.geotools.catalog"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/geotools/catalog/ResolveAdapterFactory.html" title="interface in org.geotools.catalog"><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="Resolve.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_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&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 + =
减小字号Ctrl + -
显示快捷键?