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, warningprotected 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 ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlersetDocumentLocator in class org.xml.sax.helpers.DefaultHandlerCopyright © 2001–2018 Apache Cayenne. All rights reserved.