public class SAXNestedTagHandler extends 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 DefaultHandlerSAXExceptionpublic void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlersetDocumentLocator in class DefaultHandlerCopyright © 2001–2023 Apache Cayenne. All rights reserved.