anon.pay.xml
Class XMLTransferRequest

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

public class XMLTransferRequest
extends java.lang.Object
implements IXMLEncodable

XML representation of a transfer request, i.e. a MixOperator letting the operator of the BI know that he wants his current balance that he earned by running his Mixes to be transferred to the bank account specified via BankAccountDialog

Author:
Elmar Schraml

Field Summary
private  org.w3c.dom.Document m_docTheRequest
           
private  java.lang.String m_operatorCert
           
private  int m_requested
           
private static java.lang.String ms_strElemName
           
 
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
XMLTransferRequest(byte[] xmldata)
           
XMLTransferRequest(char[] xmldata)
           
XMLTransferRequest(org.w3c.dom.Document xml)
           
XMLTransferRequest(org.w3c.dom.Element xml)
           
XMLTransferRequest(int a_requested)
           
XMLTransferRequest(int a_requested, java.lang.String a_operator)
           
XMLTransferRequest(java.lang.String xml)
           
 
Method Summary
 java.lang.String getOperatorCert()
           
 int getRequested()
           
private  org.w3c.dom.Node internal_toXmlElement(org.w3c.dom.Document a_doc)
           
private  void setValues(org.w3c.dom.Element xml)
           
 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_requested

private int m_requested

m_operatorCert

private java.lang.String m_operatorCert

m_docTheRequest

private org.w3c.dom.Document m_docTheRequest

ms_strElemName

private static java.lang.String ms_strElemName
Constructor Detail

XMLTransferRequest

public XMLTransferRequest(int a_requested)

XMLTransferRequest

public XMLTransferRequest(int a_requested,
                          java.lang.String a_operator)

XMLTransferRequest

public XMLTransferRequest(java.lang.String xml)
                   throws java.lang.Exception
Throws:
java.lang.Exception

XMLTransferRequest

public XMLTransferRequest(char[] xmldata)
                   throws java.lang.Exception
Throws:
java.lang.Exception

XMLTransferRequest

public XMLTransferRequest(byte[] xmldata)
                   throws java.lang.Exception
Throws:
java.lang.Exception

XMLTransferRequest

public XMLTransferRequest(org.w3c.dom.Element xml)
                   throws java.lang.Exception
Throws:
java.lang.Exception

XMLTransferRequest

public XMLTransferRequest(org.w3c.dom.Document xml)
                   throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

setValues

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

getRequested

public int getRequested()

getOperatorCert

public java.lang.String getOperatorCert()

toXmlElement

public org.w3c.dom.Element toXmlElement(org.w3c.dom.Document a_doc)
Return an element that can be appended to the document.

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

internal_toXmlElement

private org.w3c.dom.Node internal_toXmlElement(org.w3c.dom.Document a_doc)