|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ipdr.xml.XMLUnMarshaller
public class XMLUnMarshaller
XMLUnMarshaller will take an XML file and parse it using SAX, displaying the callbacks in the parsing lifecycle.
Field Summary | |
---|---|
protected IPDRXMLContentHandler |
contentHandler_
This parses the file, using registered SAX handlers, and output the events in the parsing process cycle. |
protected java.lang.String |
ipdrVersion_
String containing IPDR Version. |
Constructor Summary | |
---|---|
XMLUnMarshaller(java.io.InputStream i)
Constructor. |
Method Summary | |
---|---|
IPDRXMLContentHandler |
getContentHandler()
Method to get the object of XML Content Handler class. |
java.lang.String |
getVersion()
Method to get the IPDR Version. |
static void |
main(java.lang.String[] args)
Simple demonstration entry point. |
void |
setVersion(java.lang.String ver)
Method to set the IPDR Version. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected IPDRXMLContentHandler contentHandler_
protected java.lang.String ipdrVersion_
Constructor Detail |
---|
public XMLUnMarshaller(java.io.InputStream i) throws java.io.IOException, IPDRException
i
- Input Stream to read from
java.io.IOException
- when an exception occurs while reading
IPDRException
- when a IPDR functionality related exception occursMethod Detail |
---|
public IPDRXMLContentHandler getContentHandler()
public void setVersion(java.lang.String ver)
ver
- IPDR Version.public java.lang.String getVersion()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |