com.esri.gpt.catalog.arcgis.metadata
Class MapServerHandler
java.lang.Object
com.esri.gpt.catalog.arcgis.metadata.ServiceHandler
com.esri.gpt.catalog.arcgis.metadata.MapServerHandler
public class MapServerHandler
- extends ServiceHandler
Handles the collection of metadata for an ArcGIS map service (MapServer).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapServerHandler
public MapServerHandler()
- Default constructor.
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 factoryserviceInfo
- 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 recordsfactory
- handler factoryserviceInfo
- service infoisNative
- 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 infodesc
- service descriptioncurrentRestUrl
- current REST URLcurrentSoapUrl
- current SOAP URL
- Returns:
- service info
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.