wmsgeoresource.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 545 行 · 第 1/2 页
HTML
545 行
</TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="WMSGeoResource(org.geotools.catalog.wms.WMSService, org.geotools.data.ows.Layer)"><!-- --></A><H3>WMSGeoResource</H3><PRE>public <B>WMSGeoResource</B>(<A HREF="../../../../org/geotools/catalog/wms/WMSService.html" title="class in org.geotools.catalog.wms">WMSService</A> parent, <A HREF="../../../../org/geotools/data/ows/Layer.html" title="class in org.geotools.data.ows">Layer</A> layer)</PRE><DL><DD>Construct <code>WMSGeoResourceImpl</code>.<P><DT><B>Parameters:</B><DD><CODE>parent</CODE> - <DD><CODE>layer</CODE> - </DL><!-- ============ 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="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> 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 class: <CODE><A HREF="../../../../org/geotools/catalog/AbstractGeoResource.html" title="class in org.geotools.catalog">AbstractGeoResource</A></CODE></B></DD><DD>This method is shorthand for <pre> <code> return (Service) resolve(Service.class, monitor); </code> </pre><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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/AbstractGeoResource.html#parent(org.geotools.util.ProgressListener)">parent</A></CODE> in class <CODE><A HREF="../../../../org/geotools/catalog/AbstractGeoResource.html" title="class in org.geotools.catalog">AbstractGeoResource</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>monitor</CODE> - DOCUMENT ME!<DT><B>Returns:</B><DD>The service containg the resource, an object of type Service.<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> - DOCUMENT ME!<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/catalog/GeoResource.html#resolve(java.lang.Class, org.geotools.util.ProgressListener)"><CODE>GeoResource.resolve(Class, ProgressListener)</CODE></A></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>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="getInfo(org.geotools.util.ProgressListener)"><!-- --></A><H3>getInfo</H3><PRE>public <A HREF="../../../../org/geotools/catalog/GeoResourceInfo.html" title="interface in org.geotools.catalog">GeoResourceInfo</A> <B>getInfo</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/GeoResource.html" title="interface in org.geotools.catalog">GeoResource</A></CODE></B></DD><DD>Blocking operation to describe this service. <p> As an example this method is used by LabelDecorators to aquire title, and icon. </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>monitor</CODE> - DOCUMENT ME!<DT><B>Returns:</B><DD>IGeoResourceInfo resolve(IGeoResourceInfo.class,ProgressListener monitor);<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> - DOCUMENT ME!<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/catalog/GeoResource.html#resolve(java.lang.Class, org.geotools.util.ProgressListener)"><CODE>GeoResource.resolve(Class, ProgressListener)</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>Returns:</B><DD>Id of the Resolve, should never be null.</DL></DD></DL><HR><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> 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/GeoResource.html" title="interface in org.geotools.catalog">GeoResource</A></CODE></B></DD><DD>Blocking operation to resolve into the adaptee, if available. <p> Required adaptions: <ul> <li> IGeoResourceInfo.class </li> <li> IService.class </li> </ul> </p> <p> Example (no casting required): <pre><code> IGeoResourceInfo info = resovle(IGeoResourceInfo.class); </code></pre> </p> <p> Recommendated adaptions: <ul> <li> ImageDescriptor.class (for icon provided by external service) </li> </ul> </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>adaptee</CODE> - <DD><CODE>monitor</CODE> - <DT><B>Returns:</B><DD>instance of adaptee, or null if unavailable (IGeoResourceInfo and IService must be supported)<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> - DOCUMENT ME!<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/catalog/GeoResourceInfo.html" title="interface in org.geotools.catalog"><CODE>GeoResourceInfo</CODE></A>, <CODE>IService</CODE>, <CODE>IResolve#resolve(Class, ProgressListener)</CODE></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> 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>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="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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/AbstractGeoResource.html#getMessage()">getMessage</A></CODE> in class <CODE><A HREF="../../../../org/geotools/catalog/AbstractGeoResource.html" title="class in org.geotools.catalog">AbstractGeoResource</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The cached error message.</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/WMSGeoResource.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"> PREV CLASS <A HREF="../../../../org/geotools/catalog/wms/WMSService.html" title="class in org.geotools.catalog.wms"><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="WMSGeoResource.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="#fields_inherited_from_class_AbstractGeoResource">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: 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 + -
显示快捷键?