|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.XMLFilterImpl
sigmlstream.xml.XMLUnitFilter
public class XMLUnitFilter
A SAX XML document filter that converts its XML input event stream into a stream of top-level XML unit descriptors.
Constructor Summary | |
---|---|
XMLUnitFilter(org.xml.sax.XMLReader parent,
XMLUnitStreamHandler xushdlr)
Constructs a new XML unit filter, with the given parent XML reader as its source and the given XML unit stream handler as target. |
Method Summary | |
---|---|
void |
endElement(java.lang.String uri,
java.lang.String lname,
java.lang.String qname)
Handles the end of an XML element, as characterized by the given arguments, in the source. |
int |
getLevel()
Returns the current XML element level (with 0 as the base value). |
void |
startElement(java.lang.String uri,
java.lang.String lname,
java.lang.String qname,
org.xml.sax.Attributes attrs)
Handles the start of a new XML element, as characterized by the given arguments, in the source. |
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
---|
characters, endDocument, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLUnitFilter(org.xml.sax.XMLReader parent, XMLUnitStreamHandler xushdlr)
Method Detail |
---|
public int getLevel()
public void startElement(java.lang.String uri, java.lang.String lname, java.lang.String qname, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.XMLFilterImpl
org.xml.sax.SAXException
public void endElement(java.lang.String uri, java.lang.String lname, java.lang.String qname) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.XMLFilterImpl
org.xml.sax.SAXException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |