org.ipdr.xml
Class IPDRXMLDocEndHelper
java.lang.Object
org.ipdr.xml.IPDRXMLDocEndHelper
public abstract class IPDRXMLDocEndHelper
- extends java.lang.Object
This class is used for writing IPDR DocEnd to the IPDRDoc in XML format
and reading IPDR DocEnd from the IPDRDoc in XML format.
Method Summary |
static IPDRDocEnd |
read(XMLUnMarshaller istream)
Method to read the DocEnd information from IPDRDoc in XML format. |
static void |
write(XMLMarshaller ostream,
int ipdrCount,
long endTime,
boolean settlementDoc)
Method to write the DocEnd information to IPDRDoc in XML format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IPDRXMLDocEndHelper
public IPDRXMLDocEndHelper()
write
public static void write(XMLMarshaller ostream,
int ipdrCount,
long endTime,
boolean settlementDoc)
throws java.io.IOException
- Method to write the DocEnd information to IPDRDoc in XML format.
- Parameters:
ostream
- Object of XMLMarshalleripdrCount
- Total number of recordsendTime
- End time
- Throws:
java.io.IOException
- when an exception occurs while writing
read
public static IPDRDocEnd read(XMLUnMarshaller istream)
throws java.io.IOException,
IPDRException
- Method to read the DocEnd information from IPDRDoc in XML format.
- Parameters:
istream
- Object of XMLUnMarshaller
- Returns:
- IPDR DocEnd read
- Throws:
java.io.IOException
- when an exception occurs while reading
IPDRException