|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.carto.WMSServer
The WMS Server Object Extension.
The Class represents the WMS Server Object Extension
| Constructor Summary | |
WMSServer()
Constructs a WMSServer using ArcGIS Engine. |
|
WMSServer(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| Method Summary | |
void |
activate()
Activates the object. |
void |
construct(IPropertySet props)
Two phase object construction. |
void |
deactivate()
Deactivates the object. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
ILogSupport |
getAsILogSupport()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IObjectActivate |
getAsIObjectActivate()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IObjectConstruct |
getAsIObjectConstruct()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IServerObjectExtension |
getAsIServerObjectExtension()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IWMSServer |
getAsIWMSServer()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
static java.lang.String |
getClsid()
|
byte[] |
getData(java.lang.String capabilities,
java.lang.String request,
java.lang.String[] pMimeType)
Handle WMS Server binary request. |
java.lang.String |
getToPost(java.lang.String sGet)
Handle translation from Get to Post. |
int |
hashCode()
the hashcode for this object |
void |
init(IServerObjectHelper pSOH)
Initializes and starts the server object specified by the IServerObjectHelper reference. |
void |
initLogging(ILog log)
Initializes an object with a log. |
void |
setParameters(java.lang.String name,
java.lang.String value)
Handle setting WMS Server parameters. |
void |
shutdown()
Stops the server object specified by the IServerObjectHelper reference. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WMSServer()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public WMSServer(java.lang.Object obj)
throws java.io.IOException
obj to WMSServer. WMSServer theWMSServer = (WMSServer) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public IServerObjectExtension getAsIServerObjectExtension()
public IObjectConstruct getAsIObjectConstruct()
public IObjectActivate getAsIObjectActivate()
public ILogSupport getAsILogSupport()
public IWMSServer getAsIWMSServer()
public boolean equals(java.lang.Object o)
public int hashCode()
public void init(IServerObjectHelper pSOH)
throws java.io.IOException,
AutomationException
IServerObjectExtension
init in interface IServerObjectExtensionpSOH - A reference to a com.esri.arcgis.server.IServerObjectHelper (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void shutdown()
throws java.io.IOException,
AutomationException
IServerObjectExtension
shutdown in interface IServerObjectExtensionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void construct(IPropertySet props)
throws java.io.IOException,
AutomationException
IObjectConstruct
construct in interface IObjectConstructprops - A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void activate()
throws java.io.IOException,
AutomationException
IObjectActivate
activate in interface IObjectActivatejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deactivate()
throws java.io.IOException,
AutomationException
IObjectActivate
deactivate in interface IObjectActivateAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void initLogging(ILog log)
throws java.io.IOException,
AutomationException
ILogSupport
initLogging in interface ILogSupportlog - A reference to a com.esri.arcgis.system.ILog (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getToPost(java.lang.String sGet)
throws java.io.IOException,
AutomationException
IWMSServerConvert a WMS request string (query string used in WMS HTTP GET request mode) to an WMS request XML (XML used in WMS HTTP POST request mode)
According to OGC WMS Implementation Specification, A WMS Server should be able to accept WMS request in both HTTP GET (requests are WMS URL appended by key-value pairs) mode and HTTP Post mode (requests are XML whose DTD or shchema are defined in WMS Specification). To simplify the logic of WMS Server Object Extension, all WMS requests will be converted to XML before they reach the server object, so method GetToPost() is used whenever a WMS request in HTTP GET mode is received.
getToPost in interface IWMSServersGet - The sGet (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public byte[] getData(java.lang.String capabilities,
java.lang.String request,
java.lang.String[] pMimeType)
throws java.io.IOException,
AutomationException
IWMSServerParse WMS requests and get responses from Server Object.
Responses can either be normal XML document containing meta information, feature information and exception information, or images
getData in interface IWMSServercapabilities - The capabilities (in)request - The request (in)pMimeType - The pMimeType (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setParameters(java.lang.String name,
java.lang.String value)
throws java.io.IOException,
AutomationException
IWMSServer
setParameters in interface IWMSServername - The name (in)value - The value (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||