com.esri.gpt.catalog.arcgis.metadata
Class GeoDataServerHandler
java.lang.Object
com.esri.gpt.catalog.arcgis.metadata.ServiceHandler
com.esri.gpt.catalog.arcgis.metadata.GeoDataServerHandler
public class GeoDataServerHandler
- extends ServiceHandler
Handles the collection of metadata for an ArcGIS geodatabase service (GeoDataServer).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoDataServerHandler
public GeoDataServerHandler()
- 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
publishMetadata
public void publishMetadata(AGSProcessor processor,
ServiceInfo serviceInfo)
throws Exception
- Publishes metadata associated with a service.
A record is published for the GeoDataServer itself.
Any data element containing an XML will also be published,
the SORCEURI for the element will be: [geodataserver-rest-endpoint]/element.name
- Overrides:
publishMetadata
in class ServiceHandler
- Parameters:
processor
- the ArcGIS Server service processorserviceInfo
- 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
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.