Esri Geoportal Server
1.2.9

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

java.lang.Object
  extended by com.esri.gpt.catalog.arcgis.metadata.ServiceHandler
      extended by com.esri.gpt.catalog.arcgis.metadata.MapServerHandler

public class MapServerHandler
extends ServiceHandler

Handles the collection of metadata for an ArcGIS map service (MapServer).


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
MapServerHandler()
          Default constructor.
 
Method Summary
 void appendRecord(Collection<Resource> records, ServiceHandlerFactory factory, ServiceInfo serviceInfo, boolean isNative)
          Creates new record instance (or more record instances) for given ServiceInfo and appends to the collection.
 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.
 
Methods inherited from class com.esri.gpt.catalog.arcgis.metadata.ServiceHandler
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

MapServerHandler

public MapServerHandler()
Default constructor.

Method Detail

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

appendRecord

public void appendRecord(Collection<Resource> records,
                         ServiceHandlerFactory factory,
                         ServiceInfo serviceInfo,
                         boolean isNative)
                  throws Exception
Description copied from class: ServiceHandler
Creates new record instance (or more record instances) for given ServiceInfo and appends to the collection.

Overrides:
appendRecord in class ServiceHandler
Parameters:
records - collection of records
factory - handler factory
serviceInfo - service info
isNative - true to append native record
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.