anon.pay.xml
Class XMLResponse

java.lang.Object
  extended by anon.pay.xml.XMLResponse
All Implemented Interfaces:
IXMLEncodable

public class XMLResponse
extends java.lang.Object
implements IXMLEncodable


Field Summary
private  byte[] m_arbResponse
           
 
Fields inherited from interface anon.util.IXMLEncodable
FIELD_XML_ELEMENT_CONTAINER_NAME, FIELD_XML_ELEMENT_NAME, XML_ATTR_ID, XML_ATTR_LANGUAGE, XML_ATTR_VERSION
 
Constructor Summary
XMLResponse(byte[] sig)
          Creates an XML Response from the supplied signature bytes
XMLResponse(java.lang.String xml)
          Creates a XMLResponse from the XML representation
 
Method Summary
 byte[] getResponse()
           
private  void setValues(org.w3c.dom.Element elemRoot)
           
 org.w3c.dom.Element toXmlElement(org.w3c.dom.Document a_doc)
          Return an element that can be appended to the document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_arbResponse

private byte[] m_arbResponse
Constructor Detail

XMLResponse

public XMLResponse(java.lang.String xml)
            throws java.lang.Exception
Creates a XMLResponse from the XML representation

Throws:
java.lang.Exception

XMLResponse

public XMLResponse(byte[] sig)
            throws java.lang.Exception
Creates an XML Response from the supplied signature bytes

Throws:
java.lang.Exception
Method Detail

setValues

private void setValues(org.w3c.dom.Element elemRoot)
                throws java.lang.Exception
Throws:
java.lang.Exception

getResponse

public byte[] getResponse()

toXmlElement

public org.w3c.dom.Element toXmlElement(org.w3c.dom.Document a_doc)
Description copied from interface: IXMLEncodable
Return an element that can be appended to the document. This Method must not change the document in any way!

Specified by:
toXmlElement in interface IXMLEncodable
Parameters:
a_doc - a document
Returns:
the interface as xml element