DLESE Tools
v1.6.0

org.dlese.dpc.ndr.apiproxy
Class InfoXML

java.lang.Object
  extended by org.dlese.dpc.ndr.apiproxy.InfoXML

public class InfoXML
extends Object

This class represents the abstraction of the return data from the NDR.

Author:
kmaull

Constructor Summary
InfoXML(String _xml)
          Constructs the infoXML abstraction based on the input given.
 
Method Summary
 String getCommand()
           
 int getCount()
           
 String getError()
          Get the error from the InfoXML object.
 String getHandle()
          Get the handle for the return object.
 List getHandleList()
           
 String getRequestUrl()
           
 String getResponse()
          Get the raw response string InfoXML from the server.
 Element getResultData()
           
 boolean hasErrors()
          Determine if the InfoXML is an error response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoXML

public InfoXML(String _xml)
Constructs the infoXML abstraction based on the input given.

Parameters:
_xml -
Method Detail

hasErrors

public boolean hasErrors()
Determine if the InfoXML is an error response.

Returns:
- true if the InfoXML is an error

getError

public String getError()
Get the error from the InfoXML object.

Returns:
- the error string in the section of the return XML

getHandle

public String getHandle()
Get the handle for the return object.

Returns:
- the handle of the non-error return XML

getCount

public int getCount()

getRequestUrl

public String getRequestUrl()

getResultData

public Element getResultData()

getHandleList

public List getHandleList()

getCommand

public String getCommand()

getResponse

public String getResponse()
Get the raw response string InfoXML from the server.

Returns:
- the response string from the server

DLESE Tools
v1.6.0