public class ObjEntityHandler extends NamespaceAwareNestedTagHandler
allowAllNamespaces, targetNamespaceloaderContext, locator, parentHandler| Constructor and Description |
|---|
ObjEntityHandler(NamespaceAwareNestedTagHandler parentHandler,
DataMap map) |
| Modifier and Type | Method and Description |
|---|---|
protected ContentHandler |
createChildTagHandler(String namespaceURI,
String localName,
String qName,
Attributes attributes)
This method should be used to create nested handlers to process children elements.
|
ObjEntity |
getEntity() |
ObjAttribute |
getLastAttribute() |
protected void |
processCharData(String localName,
String data) |
protected boolean |
processElement(String namespaceURI,
String localName,
Attributes attributes)
Main method to process XML content.
|
characters, endElement, setAllowAllNamespaces, setTargetNamespace, startElementbeforeScopeEnd, getParentHandler, setDocumentLocator, stop, unexpectedTagMessageendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic ObjEntityHandler(NamespaceAwareNestedTagHandler parentHandler, DataMap map)
protected boolean processElement(String namespaceURI, String localName, Attributes attributes) throws SAXException
SAXNestedTagHandlerprocessElement in class NamespaceAwareNestedTagHandlernamespaceURI - namespace for taglocalName - tag local name (i.e. w/o namespace prefix)attributes - tag attributesSAXException - can be thrown to abort parsingSAXNestedTagHandler.createChildTagHandler(String, String, String, Attributes)protected ContentHandler createChildTagHandler(String namespaceURI, String localName, String qName, Attributes attributes)
SAXNestedTagHandlernull.createChildTagHandler in class NamespaceAwareNestedTagHandlernamespaceURI - namespace for taglocalName - tag local name (i.e. w/o namespace prefix)qName - tag full name (i.e. with namespace prefix)attributes - tag attributesprotected void processCharData(String localName, String data)
processCharData in class NamespaceAwareNestedTagHandlerpublic ObjEntity getEntity()
public ObjAttribute getLastAttribute()
Copyright © 2001–2021 Apache Cayenne. All rights reserved.