anon.pay.xml
Class XMLPriceCertificateList
java.lang.Object
anon.pay.xml.XMLPriceCertificateList
- All Implemented Interfaces:
- IXMLEncodable
public class XMLPriceCertificateList
- extends java.lang.Object
- implements IXMLEncodable
XML representation of a Vector of XMLPriceCertificates
used by the BI to send all price certificates of one MixOperator to the MixConfig tool
Note: the "List" in the name has nothing to do with the data structure of the same name,
it uses a Vector internally
"XMLPriceCertificates" would have been to easy to confuse with XMLPriceCertificate (a single price certificate)
- Author:
- Elmar Schraml
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_thePriceCerts
private java.util.Vector m_thePriceCerts
m_docThePriceCerts
private org.w3c.dom.Document m_docThePriceCerts
ms_strElemName
private static final java.lang.String ms_strElemName
- See Also:
- Constant Field Values
XMLPriceCertificateList
public XMLPriceCertificateList(java.util.Vector a_priceCerts)
- XMLPriceCertificateList
- Parameters:
a_priceCerts
- Vector: should contain one PriceCertificate per Mix of a Cascade
XMLPriceCertificateList
public XMLPriceCertificateList(java.lang.String xml)
throws java.lang.Exception
- Throws:
java.lang.Exception
XMLPriceCertificateList
public XMLPriceCertificateList(byte[] xmldata)
throws java.lang.Exception
- Throws:
java.lang.Exception
XMLPriceCertificateList
public XMLPriceCertificateList(org.w3c.dom.Element xml)
throws java.lang.Exception
- Throws:
java.lang.Exception
XMLPriceCertificateList
public XMLPriceCertificateList(org.w3c.dom.Document xml)
throws java.lang.Exception
- Throws:
java.lang.Exception
internal_toXmlElement
private org.w3c.dom.Document internal_toXmlElement(org.w3c.dom.Document a_doc)
- internal_toXmlElement
- Parameters:
m_docThePriceCerts
- Document
- Returns:
- Node
getPriceCerts
public java.util.Vector getPriceCerts()
getXMLElementName
public static java.lang.String getXMLElementName()
getPriceCertHashes
public java.util.Vector getPriceCertHashes()
setValues
private void setValues(org.w3c.dom.Element root)
throws java.lang.Exception
- Throws:
java.lang.Exception
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