public class SAXNestedTagHandler extends org.xml.sax.helpers.DefaultHandler
Modifier and Type | Field and Description |
---|---|
protected Locator |
locator |
protected ContentHandler |
parentHandler |
protected XMLReader |
parser |
Constructor and Description |
---|
SAXNestedTagHandler(XMLReader parser,
SAXNestedTagHandler parentHandler) |
Modifier and Type | Method and Description |
---|---|
protected ContentHandler |
createChildTagHandler(String namespaceURI,
String localName,
String qName,
Attributes attributes) |
void |
endElement(String namespaceURI,
String localName,
String qName) |
void |
setDocumentLocator(Locator locator) |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes attributes) |
protected void |
stop() |
protected String |
unexpectedTagMessage(String tagFound,
String... tagsExpected) |
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected XMLReader parser
protected ContentHandler parentHandler
protected Locator locator
public SAXNestedTagHandler(XMLReader parser, SAXNestedTagHandler parentHandler)
protected ContentHandler createChildTagHandler(String namespaceURI, String localName, String qName, Attributes attributes)
protected void stop()
public final void startElement(String namespaceURI, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
setDocumentLocator
in class org.xml.sax.helpers.DefaultHandler
Copyright © 2001–2017 Apache Cayenne. All rights reserved.