|
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.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 processpublic 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 processMethod Detail |
---|
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 |