public class SimpleHandler
extends org.xml.sax.helpers.DefaultHandler
Modifier and Type | Field and Description |
---|---|
protected SimpleHandler |
currentHandler |
protected SimpleHandler |
parentHandler |
Constructor and Description |
---|
SimpleHandler(org.xml.sax.XMLReader xr) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
controlReturned(SimpleHandler childHandler) |
void |
endElement(java.lang.String uri,
java.lang.String name,
java.lang.String qName) |
boolean |
isChildHandler() |
void |
returnControlToParentHandler() |
void |
startElement(java.lang.String uri,
java.lang.String name,
java.lang.String qName,
org.xml.sax.Attributes attrs) |
void |
transferControlToHandler(SimpleHandler toHandler) |
protected SimpleHandler currentHandler
protected SimpleHandler parentHandler
public void transferControlToHandler(SimpleHandler toHandler)
public void returnControlToParentHandler()
public boolean isChildHandler()
public void controlReturned(SimpleHandler childHandler)
public void startElement(java.lang.String uri, java.lang.String name, java.lang.String qName, org.xml.sax.Attributes attrs)
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
public void endElement(java.lang.String uri, java.lang.String name, java.lang.String qName)
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
public void characters(char[] ch, int start, int length)
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler