Class DataChannelHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.cayenne.configuration.xml.SAXNestedTagHandler
org.apache.cayenne.configuration.xml.NamespaceAwareNestedTagHandler
org.apache.cayenne.configuration.xml.VersionAwareHandler
org.apache.cayenne.configuration.xml.DataChannelHandler
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
- Since:
- 4.1
-
Field Summary
Fields inherited from class org.apache.cayenne.configuration.xml.VersionAwareHandler
rootTagFields inherited from class org.apache.cayenne.configuration.xml.NamespaceAwareNestedTagHandler
allowAllNamespaces, targetNamespaceFields inherited from class org.apache.cayenne.configuration.xml.SAXNestedTagHandler
loaderContext, locator, parentHandler -
Constructor Summary
ConstructorsConstructorDescriptionDataChannelHandler(XMLDataChannelDescriptorLoader xmlDataChannelDescriptorLoader, DataChannelDescriptor dataChannelDescriptor, LoaderContext loaderContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected ContentHandlercreateChildTagHandler(String namespaceURI, String localName, String name, Attributes attributes) This method should be used to create nested handlers to process children elements.Methods inherited from class org.apache.cayenne.configuration.xml.VersionAwareHandler
processElement, validateNamespace, validateVersionMethods inherited from class org.apache.cayenne.configuration.xml.NamespaceAwareNestedTagHandler
characters, endElement, processCharData, setAllowAllNamespaces, setTargetNamespace, startElementMethods inherited from class org.apache.cayenne.configuration.xml.SAXNestedTagHandler
beforeScopeEnd, getParentHandler, setDocumentLocator, stop, unexpectedTagMessageMethods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
DataChannelHandler
public DataChannelHandler(XMLDataChannelDescriptorLoader xmlDataChannelDescriptorLoader, DataChannelDescriptor dataChannelDescriptor, LoaderContext loaderContext)
-
-
Method Details
-
createChildTagHandler
protected ContentHandler createChildTagHandler(String namespaceURI, String localName, String name, Attributes attributes) Description copied from class:SAXNestedTagHandlerThis method should be used to create nested handlers to process children elements. This method should never returnnull.- Overrides:
createChildTagHandlerin classNamespaceAwareNestedTagHandler- Parameters:
namespaceURI- namespace for taglocalName- tag local name (i.e. w/o namespace prefix)name- tag full name (i.e. with namespace prefix)attributes- tag attributes- Returns:
- new handler to process child tag
-