|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.catalog.publication.ResourceProcessor com.esri.gpt.catalog.arcgis.metadata.AGSProcessor
public class AGSProcessor
Processes resources associated with an ArcGIS server.
Constructor Summary | |
---|---|
AGSProcessor(ProcessingContext context)
Constructs with an associated processing context. |
Method Summary | |
---|---|
Query |
createQuery(IterationContext context,
Criteria criteria)
Creates iteration query. |
UsernamePasswordCredentials |
getCredentials()
Gets credentials. |
ServiceHandlerFactory |
getHandlerFactory()
Gets the ArcGIS server service handler factory. |
Native |
getNativeResource(IterationContext context)
Gets native resource. |
AGSTarget |
getTarget()
Gets the targeted ArcGIS server and resource. |
boolean |
interrogate(URL url,
String response)
Interrogates the character response from a target resource URL attempting to determine the REST and SOAP endpoints for an ArcGIS server services catalog. |
void |
process()
Invokes processing against the resource. |
void |
setCredentials(UsernamePasswordCredentials credentials)
Sets credentials. |
Methods inherited from class com.esri.gpt.catalog.publication.ResourceProcessor |
---|
collectExistingSourceURIs, deleteUnreferencedSourceURIs, getContext, getPublicationMethod, publishMetadata, publishMetadata, setPublicationMethod |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AGSProcessor(ProcessingContext context)
context
- the procesing contextMethod Detail |
---|
public ServiceHandlerFactory getHandlerFactory()
public AGSTarget getTarget()
public UsernamePasswordCredentials getCredentials()
public void setCredentials(UsernamePasswordCredentials credentials)
credentials
- credentialspublic boolean interrogate(URL url, String response) throws IOException
url
- the target URL associated with the resource being interrogatedresponse
- the character based response previously returned from the target URL
true
if the target was recognized as an ArcGIS server endpoint
IOException
public void process() throws Exception
process
in class ResourceProcessor
Exception
- if an exception occurspublic Query createQuery(IterationContext context, Criteria criteria)
ResourceProcessor
createQuery
in class ResourceProcessor
context
- iteration contextcriteria
- query criteria or null
if no criteria
public Native getNativeResource(IterationContext context)
ResourceProcessor
Publishable
and each repository has to be able to
provide one.
getNativeResource
in class ResourceProcessor
context
- iteration context
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |