|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ipdr.xml.IPDRXMLRecordHelper
public abstract class IPDRXMLRecordHelper
This class is used for writing XML Records to the IPDRDoc in XML format and reading XML Records from the IPDRDoc in XML format.
Field Summary | |
---|---|
protected static java.util.ArrayList |
serviceType_
To store the service types of XML format for all records |
protected static boolean |
settlementDoc_
Flag indicating Settlement Doc |
protected static java.util.ArrayList |
xmlRootElements_
To store the Root Elements |
Constructor Summary | |
---|---|
IPDRXMLRecordHelper()
|
Method Summary | |
---|---|
protected static java.lang.Object |
convertDerivedType(java.lang.String derivedType,
java.lang.String value)
Method to convert the Derived Type attributes to desired types. |
static CompositeData |
read(XMLUnMarshaller istream,
Schema schema)
Method to read XML records from IPDRDoc in XML format. |
static void |
write(XMLMarshaller ostream,
CompositeData value,
int ipdrCount)
Method to write XML records to IPDRDoc in XML format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static java.util.ArrayList serviceType_
protected static boolean settlementDoc_
protected static java.util.ArrayList xmlRootElements_
Constructor Detail |
---|
public IPDRXMLRecordHelper()
Method Detail |
---|
public static void write(XMLMarshaller ostream, CompositeData value, int ipdrCount) throws java.io.IOException, IPDRException
ostream
- Object of XMLMarshallervalue
- Objetct of CompositeData to be writtenipdrCount
- Record number
IPDRException
- when a IPDR functionality related exception occurs
java.io.IOException
- when an exception occurs while writingpublic static CompositeData read(XMLUnMarshaller istream, Schema schema) throws IPDRException, BadCompositeException
istream
- Object of XMLUnMarshallerschema
- Object of Schema
IPDRException
- when a IPDR functionality related exception occurs
BadCompositeException
- when an exception occurs creation of
the Composite Data objectprotected static java.lang.Object convertDerivedType(java.lang.String derivedType, java.lang.String value) throws IPDRException
derivedType
- The Derived Typevalue
- the String value
IPDRException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |