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