Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15
OOoRunner test harness

util
Class XMLTools.XMLWriter

util.XMLTools.XMLWriter
Direct Known Subclasses:
XMLTools.XMLWellFormChecker
Enclosing class:
XMLTools

public static class XMLTools.XMLWriter

This class writes all XML data handled into a stream specified in the constructor.


Constructor Summary
XMLTools.XMLWriter()
          Creates a SAX handler which does nothing.
XMLTools.XMLWriter(PrintWriter log)
          Creates a SAX handler which writes all XML data handled into a log stream specified.
 
Method Summary
 void characters(String chars)
           
 void endDocument()
           
 void endElement(String name)
           
 void ignorableWhitespace(String sp)
           
 void processingInstruction(String appl, String data)
           
 void setDocumentLocator(com.sun.star.xml.sax.XLocator loc)
           
 void startDocument()
           
 void startElement(String name, com.sun.star.xml.sax.XAttributeList attr)
           
 

Constructor Detail

XMLTools.XMLWriter

public XMLTools.XMLWriter(PrintWriter log)
Creates a SAX handler which writes all XML data handled into a log stream specified.

XMLTools.XMLWriter

public XMLTools.XMLWriter()
Creates a SAX handler which does nothing.
Method Detail

processingInstruction

public void processingInstruction(String appl,
                                  String data)

startDocument

public void startDocument()

endDocument

public void endDocument()

setDocumentLocator

public void setDocumentLocator(com.sun.star.xml.sax.XLocator loc)

startElement

public void startElement(String name,
                         com.sun.star.xml.sax.XAttributeList attr)

endElement

public void endElement(String name)

characters

public void characters(String chars)

ignorableWhitespace

public void ignorableWhitespace(String sp)

OOoRunner test harness

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.