Save This Page
Home » dom4j-1.6.1 » org.dom4j.samples.jaxp » [javadoc | source]
org.dom4j.samples.jaxp
public class: RoundTripDemo [javadoc | source]
java.lang.Object
   org.dom4j.samples.AbstractDemo
      org.dom4j.samples.SAXDemo
         org.dom4j.samples.jaxp.RoundTripDemo
A program demonstrating a round trip from XML to dom4j to text to dom4j again using JAXP to convert the XML.
Fields inherited from org.dom4j.samples.AbstractDemo:
format,  writer
Constructor:
 public RoundTripDemo() 
Method from org.dom4j.samples.jaxp.RoundTripDemo Summary:
main,   outputDocument,   parseDocument,   process
Methods from org.dom4j.samples.SAXDemo:
main,   parse
Methods from org.dom4j.samples.AbstractDemo:
createXMLWriter,   getXMLWriter,   parse,   print,   printUsage,   println,   process,   run,   run
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.dom4j.samples.jaxp.RoundTripDemo Detail:
 public static  void main(String[] args) 
 protected  void outputDocument(Document document,
    Writer out) 
 protected Document parseDocument(Reader in) 
 protected  void process(Document document) throws Exception 
    Outputs the document to a buffer, parse it back again then output it