|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
com.esri.gpt.migration.to1.RemoteGetDocumentRequest
public class RemoteGetDocumentRequest
Retrieves a document executing a request against an ArcIMS metadata publish service.
| Constructor Summary | |
|---|---|
RemoteGetDocumentRequest(String serviceUrl,
String userName,
String password)
Constructor |
|
| Method Summary | |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Sets text node characters for a SAX element. |
void |
endElement(String uri,
String localName,
String qName)
Ends a SAX element. |
void |
executeGet(String docUuid)
Executes a GET_METADATA_DOCUMENT request against an ArcIMS metadata publish service. |
protected void |
executeRequest(CredentialProvider provider,
String serviceUrl,
String requestBody)
Executes an ArcIMS service request and parses the response. |
Timestamp |
getUpdateDate()
Gets the update date. |
String |
getUuid()
Gets the document uuid. |
String |
getXml()
Gets the document xml. |
protected void |
onEndSaxElement(String lowerCaseTagName,
String characters)
Triggered when a SAX element is ended during the parsing of an axl response. |
protected void |
onStartSaxElement(String lowerCaseTagName,
Attributes attributes)
Triggered when a SAX element is started during the parsing of an axl response. |
protected void |
parseAxlResponse(String axlResponse)
Starts a SAX parser on an ArcIMS axl response. |
void |
reset()
Resets the request. |
protected void |
setUpdateTimestamp(Timestamp updateDate)
Sets the update date. |
protected void |
setXml(String xml)
Sets the document xml. |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes)
Starts a SAX element. |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteGetDocumentRequest(String serviceUrl,
String userName,
String password)
serviceUrl - the arcims metadata service http endpointuserName - the arcims metadata service usernamepassword - the arcims metadata service password| Method Detail |
|---|
public Timestamp getUpdateDate()
protected void setUpdateTimestamp(Timestamp updateDate)
updateDate - the update datepublic String getUuid()
public String getXml()
protected void setXml(String xml)
xml - the document xml
public void executeGet(String docUuid)
throws Exception
docUuid - the metatata document uuid of the record to load
Exception
PublishServiceException - if an exception occurs
protected void executeRequest(CredentialProvider provider,
String serviceUrl,
String requestBody)
throws Exception
Exception
protected void parseAxlResponse(String axlResponse)
throws ParserConfigurationException,
SAXException,
IOException
axlResponse - the ArcIMS axl response
ParserConfigurationException - if the exception occurs
SAXException - if the exception occurs
IOException - if the exception occurs
protected void onStartSaxElement(String lowerCaseTagName,
Attributes attributes)
lowerCaseTagName - the lower-case tag name of the elementattributes - the element attributespublic void reset()
public void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerch - the array of charactersstart - the starting position within the arraylength - the number of characters to read from the array
SAXException - if the exception occurs
public void endElement(String uri,
String localName,
String qName)
throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandleruri - the uri namespace for the elementlocalName - the local name for the elementqName - the qualified name for the element
SAXException - if a SAXException occurs
protected void onEndSaxElement(String lowerCaseTagName,
String characters)
lowerCaseTagName - the lower-case tag name of the elementcharacters - the text node value of the element
public void startElement(String uri,
String localName,
String qName,
Attributes attributes)
throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandleruri - the uri namespace for the elementlocalName - the local name for the elementqName - the qualified name for the elementattributes - the attributes for the element
SAXException - if a SAXException occurs
|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||