|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.catalog.publication.ResourceProcessor
com.esri.gpt.catalog.publication.SingleXmlProcessor
public class SingleXmlProcessor
A processor compatible with a resource defined by a single XML.
| Constructor Summary | |
|---|---|
SingleXmlProcessor(ProcessingContext context,
File file)
Constructs with an associated processing context and file. |
|
SingleXmlProcessor(ProcessingContext context,
String systemId,
String resourceXml)
Constructs with an associated processing context. |
|
| Method Summary | |
|---|---|
Query |
createQuery(IterationContext context,
Criteria criteria)
Creates iteration query. |
Native |
getNativeResource(IterationContext context)
Gets native resource. |
void |
process()
Invokes processing against the resource. |
| 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 SingleXmlProcessor(ProcessingContext context,
File file)
context - the processing contextfile - the file containing metadata for the resource to process
public SingleXmlProcessor(ProcessingContext context,
String systemId,
String resourceXml)
context - the procesing contextsystemId - the system id of the resource (file path or URL)resourceXml - the resource XML to process| Method Detail |
|---|
public void process()
throws Exception
process in class ResourceProcessorException - if an exception occurs
public Query createQuery(IterationContext context,
Criteria criteria)
ResourceProcessor
createQuery in class ResourceProcessorcontext - iteration contextcriteria - query criteria or null if no criteria
public Native getNativeResource(IterationContext context)
ResourceProcessorPublishable and each repository has to be able to
provide one.
getNativeResource in class ResourceProcessorcontext - iteration context
|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||