|
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.server.csw.provider.InsertProvider
public class InsertProvider
Provides the CSW Transaction/Insert operation.
Constructor Summary | |
---|---|
InsertProvider()
Default constructor |
Method Summary | |
---|---|
void |
generateResponse(OperationContext context)
Generates the response. |
void |
handleGet(OperationContext context,
HttpServletRequest request)
Handles a URL based request (HTTP GET). |
void |
handleXML(OperationContext context,
Node root,
XPath xpath)
Handles an XML based request (normally HTTP POST). |
void |
processDocumentNodes(OperationContext context,
Publisher publisher,
String typeName,
String handle,
NodeList xmlNodes)
Processes and publishes the XML document child nodes associated with the parent action. |
void |
publishDocument(OperationContext context,
Publisher publisher,
String typeName,
String handle,
String xml)
Publishes a document to the catalog. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InsertProvider()
Method Detail |
---|
public void generateResponse(OperationContext context) throws Exception
context
- the operation context
Exception
- if a processing exception occurspublic void handleGet(OperationContext context, HttpServletRequest request) throws Exception
handleGet
in interface IOperationProvider
context
- the operation contextrequest
- the HTTP request
Exception
- if a processing exception occurspublic void handleXML(OperationContext context, Node root, XPath xpath) throws Exception
handleXML
in interface IOperationProvider
context
- the operation contextroot
- the root nodexpath
- an XPath to enable queries (properly configured with name spaces)
Exception
- if a processing exception occurspublic void processDocumentNodes(OperationContext context, Publisher publisher, String typeName, String handle, NodeList xmlNodes) throws Exception
context
- the operation contextpublisher
- the authenticated publishertypeName
- the CSW collection typehandle
- a client supplied name (can be echoed within the response)xmlNodes
- a list of child nodes containing XML's to publish
Exception
- if a processing exception occurspublic void publishDocument(OperationContext context, Publisher publisher, String typeName, String handle, String xml) throws Exception
context
- the operation contextpublisher
- the authenticated publishertypeName
- the CSW collection typehandle
- a client supplied name (can be echoed within the response)xml
- the document XML to publish
Exception
- if a processing exception occurs
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |