abstractservice.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 727 行 · 第 1/3 页
HTML
727 行
<DD><DL><DT><B>Returns:</B><DD>The cached members.</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>The cached error message.<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="setMessage(java.lang.Throwable)"><!-- --></A><H3>setMessage</H3><PRE>protected void <B>setMessage</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> msg)</PRE><DL><DD>Sets the cached error message.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>msg</CODE> - An exception which occured when connecting to the service.</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>Default implementation of getStatus. <p> The following rules are used to determine the status: <ol> <li>If <CODE>#msg</CODE> is non-null, then the service handle is <CODE>Status#BROKEN</CODE>. <li>If above is false, then if <A HREF="../../../org/geotools/catalog/Service.html#members(org.geotools.util.ProgressListener)"><CODE>Service.members(org.geotools.util.ProgressListener)</CODE></A> is non-null then the service handle is <CODE>Status#CONNECTED</CODE> <li>If non of the above hold, the service handle is <CODE>Status#NOTCONNECTED</CODE>. </ol> </p> <p> Subclasses can control this method by setting the members <CODE>#msg</CODE> and <A HREF="../../../org/geotools/catalog/Service.html#members(org.geotools.util.ProgressListener)"><CODE>Service.members(org.geotools.util.ProgressListener)</CODE></A> with <A HREF="../../../org/geotools/catalog/AbstractService.html#setMessage(java.lang.Throwable)"><CODE>setMessage(Throwable)</CODE></A> and <A HREF="../../../org/geotools/catalog/AbstractService.html#setMembers(java.util.List)"><CODE>setMembers(List)</CODE></A> respectivley. Or subclasses may wish to override this method entirley. </p><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="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public final boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> other)</PRE><DL><DD>This should represent the identifier<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - <DT><B>See Also:</B><DD><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"><CODE>Object.equals(java.lang.Object)</CODE></A></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)</PRE><DL><DD>This method does nothing. Sublcasses should override if events are supported.<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> - DOCUMENT ME!</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>This method does nothing. Sublcasses should override if events are supported.<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> - DOCUMENT ME!</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>This method does nothing. Sublcasses should override if events are supported.<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> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public final int <B>hashCode</B>()</PRE><DL><DD>This should represent the identified<P><DD><DL></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang"><CODE>Object.hashCode()</CODE></A></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>Indicate class and id.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>string representing this IResolve</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/AbstractService.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/AbstractGeoResource.html" title="class in org.geotools.catalog"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/catalog/DataStoreService.html" title="class 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> <A HREF="AbstractService.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> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <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 + -
显示快捷键?