anon.pay.xml
Class XMLResponse
java.lang.Object
anon.pay.xml.XMLResponse
- All Implemented Interfaces:
- IXMLEncodable
public class XMLResponse
- extends java.lang.Object
- implements IXMLEncodable
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 |
m_arbResponse
private byte[] m_arbResponse
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
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