|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
org.ipdr.xml.XMLMarshaller
public class XMLMarshaller
This class will write objects to Output Stream in the XML format.
Field Summary | |
---|---|
protected java.lang.String |
ipdrVersion_
String containing IPDR Version |
protected java.io.OutputStream |
targetStream_
|
Constructor Summary | |
---|---|
XMLMarshaller(java.io.OutputStream os)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getVersion()
Method to get the IPDR Version. |
void |
setVersion(java.lang.String ver)
Method to set the IPDR Version. |
void |
write(int i)
Method to write an 'int' to the Output stream. |
void |
write(java.lang.String str)
Method to write a String to the Output stream. |
Methods inherited from class java.io.OutputStream |
---|
close, flush, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.OutputStream targetStream_
protected java.lang.String ipdrVersion_
Constructor Detail |
---|
public XMLMarshaller(java.io.OutputStream os)
os
- Output stream.Method Detail |
---|
public void setVersion(java.lang.String ver)
ver
- IPDR Version.public java.lang.String getVersion()
public void write(java.lang.String str) throws java.io.IOException
str
- String to write
java.io.IOException
- Description of Exceptionpublic void write(int i)
write
in class java.io.OutputStream
i
- Int to write
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |