Esri Geoportal Server
1.2.9

com.esri.gpt.catalog.arcgis.metadata
Class OGCServerHandler

java.lang.Object
  extended by com.esri.gpt.catalog.arcgis.metadata.ServiceHandler
      extended by com.esri.gpt.catalog.arcgis.metadata.OGCServerHandler
Direct Known Subclasses:
WCSServerHandler, WFSServerHandler, WMSServerHandler

public class OGCServerHandler
extends ServiceHandler

Handles the collection of metadata for an ArcGIS server service implementing an OGC type (WMS, WFS, WCS).


Nested Class Summary
 
Nested classes/interfaces inherited from class com.esri.gpt.catalog.arcgis.metadata.ServiceHandler
ServiceHandler.ServiceRecord
 
Field Summary
 
Fields inherited from class com.esri.gpt.catalog.arcgis.metadata.ServiceHandler
http
 
Constructor Summary
OGCServerHandler(String type)
          Constructs with a supplied OGC service type (e.g.
 
Method Summary
 void collectMetadata(ServiceHandlerFactory handlerFactory, ServiceInfo serviceInfo)
          Collect metadata associated with a service.
 ServiceInfo createServiceInfo(ServiceInfo parentInfo, com.esri.arcgisws.ServiceDescription desc, String currentRestUrl, String currentSoapUrl)
          Creates service info.
 String getOgcType()
          Gets the OGC service type (e.g.
 void setOgcType(String type)
          Sets the OGC service type (e.g.
 
Methods inherited from class com.esri.gpt.catalog.arcgis.metadata.ServiceHandler
appendRecord, collectMetadata, collectParentMetadata, collectParentMetadata, getCredentials, publishMetadata, setCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OGCServerHandler

public OGCServerHandler(String type)
Constructs with a supplied OGC service type (e.g. WMS, WFS, WCS).

Parameters:
type - the OGC service type
Method Detail

getOgcType

public String getOgcType()
Gets the OGC service type (e.g. WMS, WFS, WCS).

Returns:
the OGC service type

setOgcType

public void setOgcType(String type)
Sets the OGC service type (e.g. WMS, WFS, WCS).

Parameters:
type - the OGC service type

collectMetadata

public void collectMetadata(ServiceHandlerFactory handlerFactory,
                            ServiceInfo serviceInfo)
                     throws Exception
Collect metadata associated with a service.

Specified by:
collectMetadata in class ServiceHandler
Parameters:
handlerFactory - handler factory
serviceInfo - the active service information
Throws:
Exception - if an exception occurs

createServiceInfo

public ServiceInfo createServiceInfo(ServiceInfo parentInfo,
                                     com.esri.arcgisws.ServiceDescription desc,
                                     String currentRestUrl,
                                     String currentSoapUrl)
Description copied from class: ServiceHandler
Creates service info.

Overrides:
createServiceInfo in class ServiceHandler
Parameters:
parentInfo - parent info
desc - service description
currentRestUrl - current REST URL
currentSoapUrl - current SOAP URL
Returns:
service info

Esri Geoportal Server
1.2.9

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.