|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.utilities.xml.dom.XMLDataWriter
public class XMLDataWriter
This Class is to write the XML data's given to the specified File.
| Field Summary | |
|---|---|
(package private) org.w3c.dom.Document |
xmlDoc
|
| Constructor Summary | |
|---|---|
XMLDataWriter()
Call writeXML for writing the XML content. |
|
XMLDataWriter(java.lang.String fileName,
XMLNode rootNode)
The Constructor to write the Data in the specified File name. |
|
XMLDataWriter(java.lang.String fileName,
XMLNode rootNode,
java.lang.String dtdSystemId)
The Constructor to write the Data in the specified File name. |
|
XMLDataWriter(java.io.Writer writer,
XMLNode rootNode)
The Constructor to write the Data in the specified File name. |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
void |
writeXML(java.io.Writer writer,
XMLNode rootNode,
java.lang.String dtdSystemId)
can be used in conjunction with the default constructor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
org.w3c.dom.Document xmlDoc
| Constructor Detail |
|---|
public XMLDataWriter()
public XMLDataWriter(java.lang.String fileName,
XMLNode rootNode)
fileName - The file name to write in.rootNode - The root node for the XML Tree.
public XMLDataWriter(java.lang.String fileName,
XMLNode rootNode,
java.lang.String dtdSystemId)
fileName - The file name to write in.rootNode - The root node for the XML Tree.dtdSystemId -
public XMLDataWriter(java.io.Writer writer,
XMLNode rootNode)
writer - The java.io.Writer to write the XML information.rootNode - The root node for the XML Tree.| Method Detail |
|---|
public void writeXML(java.io.Writer writer,
XMLNode rootNode,
java.lang.String dtdSystemId)
throws java.lang.Exception
java.lang.Exceptionpublic static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||