org.ipdr.xml
Class IPDRXMLHeaderHelper

java.lang.Object
  extended by org.ipdr.xml.IPDRXMLHeaderHelper

public abstract class IPDRXMLHeaderHelper
extends java.lang.Object

This class is used for writing IPDR Headers to the IPDRDoc in XML format and reading IPDR Headers from the IPDRDoc in XML format.


Constructor Summary
IPDRXMLHeaderHelper()
           
 
Method Summary
static IPDRHeader read(XMLUnMarshaller istream)
          Method to read the IPDR Header information from IPDRDoc in XML format.
static void write(XMLMarshaller ostream, IPDRHeader header, boolean settlementDoc)
          Method to write the Header information to IPDRDoc in XML format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPDRXMLHeaderHelper

public IPDRXMLHeaderHelper()
Method Detail

write

public static void write(XMLMarshaller ostream,
                         IPDRHeader header,
                         boolean settlementDoc)
                  throws java.io.IOException
Method to write the Header information to IPDRDoc in XML format.

Parameters:
ostream - Object of XMLMarshaller
header - IPDR Header to write
Throws:
java.io.IOException - when an exception occurs while writing

read

public static IPDRHeader read(XMLUnMarshaller istream)
                       throws java.io.IOException,
                              IPDRException
Method to read the IPDR Header information from IPDRDoc in XML format.

Parameters:
istream - Object of XMLUnMarshaller
Returns:
IPDR Header read

Throws:
java.io.IOException
IPDRException