Package org.dlese.dpc.ndr.apiproxy
Class InfoXML
java.lang.Object
org.dlese.dpc.ndr.apiproxy.InfoXML
This class represents the abstraction of the return data from the NDR.
- Author:
- kmaull
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InfoXML
Constructs the infoXML abstraction based on the input given.- Parameters:
_xml-
-
-
Method Details
-
hasErrors
public boolean hasErrors()Determine if the InfoXML is an error response.- Returns:
- - true if the InfoXML is an error
-
getError
Get the error from the InfoXML object.- Returns:
- - the error string in the
section of the return XML
-
getHandle
Get the handle for the return object.- Returns:
- - the handle of the non-error return XML
-
getCount
public int getCount() -
getRequestUrl
-
getResultData
public org.dom4j.Element getResultData() -
getHandleList
-
getCommand
-
getResponse
Get the raw response string InfoXML from the server.- Returns:
- - the response string from the server
-