sk.uniba.euromath.tools.xml.sax
Class SaxDebuggerActive

java.lang.Object
  extended by sk.uniba.euromath.tools.xml.sax.XMLReaderDelegate
      extended by sk.uniba.euromath.tools.xml.sax.SaxDebuggerActive
All Implemented Interfaces:
XMLReader

public class SaxDebuggerActive
extends XMLReaderDelegate

Functionally equivalent to providen XMLReader, but prints all SAX events.

Author:
Martin Vysny

Field Summary
 
Fields inherited from class sk.uniba.euromath.tools.xml.sax.XMLReaderDelegate
reader
 
Constructor Summary
SaxDebuggerActive(XMLReader reader, PrintWriter w, int identStep, boolean check)
          Constructor.
 
Method Summary
 ContentHandler getContentHandler()
           
 void setContentHandler(ContentHandler handler)
           
 
Methods inherited from class sk.uniba.euromath.tools.xml.sax.XMLReaderDelegate
getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, parse, parse, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaxDebuggerActive

public SaxDebuggerActive(XMLReader reader,
                         PrintWriter w,
                         int identStep,
                         boolean check)
Constructor.

Parameters:
reader - delegates all calls here.
w - prints events here.
identStep - number of spaces used for identation.
check - if true then elements are checked for proper nesting order.
Method Detail

getContentHandler

public ContentHandler getContentHandler()
Specified by:
getContentHandler in interface XMLReader
Overrides:
getContentHandler in class XMLReaderDelegate

setContentHandler

public void setContentHandler(ContentHandler handler)
Specified by:
setContentHandler in interface XMLReader
Overrides:
setContentHandler in class XMLReaderDelegate


Copyright 2003-2003-2006 null. All Rights Reserved.