anon.pay.xml
Class XMLPriceCertificateList

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

Field Summary
private  org.w3c.dom.Document m_docThePriceCerts
           
private  java.util.Vector m_thePriceCerts
           
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
XMLPriceCertificateList(byte[] xmldata)
           
XMLPriceCertificateList(org.w3c.dom.Document xml)
           
XMLPriceCertificateList(org.w3c.dom.Element xml)
           
XMLPriceCertificateList(java.lang.String xml)
           
XMLPriceCertificateList(java.util.Vector a_priceCerts)
          XMLPriceCertificateList
 
Method Summary
 java.util.Vector getPriceCertHashes()
           
 java.util.Vector getPriceCerts()
           
static java.lang.String getXMLElementName()
           
private  org.w3c.dom.Document internal_toXmlElement(org.w3c.dom.Document a_doc)
          internal_toXmlElement
private  void setValues(org.w3c.dom.Element root)
           
 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_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
Constructor Detail

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
Method Detail

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