org.ipdr.xml
Class IPDRXMLHeaderHelper
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IPDRXMLHeaderHelper
public IPDRXMLHeaderHelper()
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 XMLMarshallerheader - 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