Class InfoXML

java.lang.Object
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 Details

    • InfoXML

      public InfoXML(String _xml)
      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

      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 org.dom4j.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