wmsservice.html

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

HTML
640 行
字号
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/catalog/wms/WMSService.html#canResolve(java.lang.Class)">canResolve</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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Non blocking method which is used to determine if a resolve into an instance of a particular class is supported.</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/Map.html" title="class or interface in java.util">Map</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/catalog/wms/WMSService.html#getConnectionParams()">getConnectionParams</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Accessor to the set of params used to create this entry. </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/net/URI.html" title="class or interface in java.net">URI</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/catalog/wms/WMSService.html#getIdentifier()">getIdentifier</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a URI which uniqley identifies the Resolve.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../org/geotools/catalog/ServiceInfo.html" title="interface in org.geotools.catalog">ServiceInfo</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/catalog/wms/WMSService.html#getInfo(org.geotools.util.ProgressListener)">getInfo</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;&nbsp;</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/Throwable.html" title="class or interface in java.lang">Throwable</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/catalog/wms/WMSService.html#getMessage()">getMessage</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;In the event that an error occurs during a resolve, that error can be reported back with this method. </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.Status.html" title="class in org.geotools.catalog">Resolve.Status</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/catalog/wms/WMSService.html#getStatus()">getStatus</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default implementation of getStatus. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../../org/geotools/data/wms/WebMapServer.html" title="class in org.geotools.data.wms">WebMapServer</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/catalog/wms/WMSService.html#getWMS(org.geotools.util.ProgressListener)">getWMS</A></B>(<A HREF="../../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A>&nbsp;theUserIsWatching)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Aquire the actual geotools WebMapServer instance.  </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/wms/WMSService.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;Return list of IGeoResources managed by this service. </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/wms/WMSService.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;Will attempt to morph into the adaptee, and return that object. </TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_AbstractService"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../../org/geotools/catalog/AbstractService.html" title="class in org.geotools.catalog">AbstractService</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/catalog/AbstractService.html#addListener(org.geotools.catalog.ResolveChangeListener)">addListener</A>, <A HREF="../../../../org/geotools/catalog/AbstractService.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../org/geotools/catalog/AbstractService.html#fire(org.geotools.catalog.ResolveChangeEvent)">fire</A>, <A HREF="../../../../org/geotools/catalog/AbstractService.html#getMembers()">getMembers</A>, <A HREF="../../../../org/geotools/catalog/AbstractService.html#hashCode()">hashCode</A>, <A HREF="../../../../org/geotools/catalog/AbstractService.html#parent(org.geotools.util.ProgressListener)">parent</A>, <A HREF="../../../../org/geotools/catalog/AbstractService.html#removeListener(org.geotools.catalog.ResolveChangeListener)">removeListener</A>, <A HREF="../../../../org/geotools/catalog/AbstractService.html#setConnectionParams(java.util.Map)">setConnectionParams</A>, <A HREF="../../../../org/geotools/catalog/AbstractService.html#setMembers(java.util.List)">setMembers</A>, <A HREF="../../../../org/geotools/catalog/AbstractService.html#setMessage(java.lang.Throwable)">setMessage</A>, <A HREF="../../../../org/geotools/catalog/AbstractService.html#toString()">toString</A></CODE></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#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#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#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="WMS_URL_KEY"><!-- --></A><H3>WMS_URL_KEY</H3><PRE>public static final <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>WMS_URL_KEY</B></PRE><DL><DD><code>WMS_URL_KEY</code> field Magic param key for Catalog WMS persistence.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.geotools.catalog.wms.WMSService.WMS_URL_KEY">Constant Field Values</A></DL></DL><HR><A NAME="WMS_WMS_KEY"><!-- --></A><H3>WMS_WMS_KEY</H3><PRE>public static final <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>WMS_WMS_KEY</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.geotools.catalog.wms.WMSService.WMS_WMS_KEY">Constant Field Values</A></DL></DL><!-- ========= 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="WMSService(org.geotools.catalog.Catalog, java.net.URI, java.util.Map)"><!-- --></A><H3>WMSService</H3><PRE>public <B>WMSService</B>(<A HREF="../../../../org/geotools/catalog/Catalog.html" title="interface in org.geotools.catalog">Catalog</A>&nbsp;parent,                  <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URI.html" title="class or interface in java.net">URI</A>&nbsp;uri,                  <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>&nbsp;params)</PRE><DL><DD>Construct <code>WMSServiceImpl</code>.<P><DT><B>Parameters:</B><DD><CODE>parent</CODE> - <DD><CODE>uri</CODE> - DOCUMENT ME!<DD><CODE>params</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="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 class: <CODE><A HREF="../../../../org/geotools/catalog/AbstractService.html" title="class in org.geotools.catalog">AbstractService</A></CODE></B></DD><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>AbstractService.setMessage(Throwable)</CODE></A> and  <A HREF="../../../../org/geotools/catalog/AbstractService.html#setMembers(java.util.List)"><CODE>AbstractService.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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/catalog/AbstractService.html#getStatus()">getStatus</A></CODE> in class <CODE><A HREF="../../../../org/geotools/catalog/AbstractService.html" title="class in org.geotools.catalog">AbstractService</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getWMS(org.geotools.util.ProgressListener)"><!-- --></A><H3>getWMS</H3><PRE>protected <A HREF="../../../../org/geotools/data/wms/WebMapServer.html" title="class in org.geotools.data.wms">WebMapServer</A> <B>getWMS</B>(<A HREF="../../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A>&nbsp;theUserIsWatching)                       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>Aquire the actual geotools WebMapServer instance.  <p> Note this method is blocking and throws an IOException to indicate such. </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>theUserIsWatching</CODE> - <DT><B>Returns:</B><DD>WebMapServer instance

⌨️ 快捷键说明

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