Class ObjRelationshipHandler
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.ObjRelationshipHandler
- All Implemented Interfaces:
- ContentHandler,- DTDHandler,- EntityResolver,- ErrorHandler
public class ObjRelationshipHandler extends NamespaceAwareNestedTagHandler
- Since:
- 4.1
- 
Field SummaryFields Modifier and Type Field Description static StringDB_RELATIONSHIP_REF_TAGDeprecated.static StringOBJ_RELATIONSHIP_TAGFields inherited from class org.apache.cayenne.configuration.xml.NamespaceAwareNestedTagHandlerallowAllNamespaces, targetNamespaceFields inherited from class org.apache.cayenne.configuration.xml.SAXNestedTagHandlerloaderContext, locator, parentHandler
- 
Constructor SummaryConstructors Constructor Description ObjRelationshipHandler(NamespaceAwareNestedTagHandler parentHandler, DataMap map)
- 
Method SummaryModifier and Type Method Description ObjRelationshipgetObjRelationship()protected booleanprocessElement(String namespaceURI, String localName, Attributes attributes)Main method to process XML content.Methods inherited from class org.apache.cayenne.configuration.xml.NamespaceAwareNestedTagHandlercharacters, createChildTagHandler, endElement, processCharData, setAllowAllNamespaces, setTargetNamespace, startElementMethods inherited from class org.apache.cayenne.configuration.xml.SAXNestedTagHandlerbeforeScopeEnd, getParentHandler, setDocumentLocator, stop, unexpectedTagMessageMethods inherited from class org.xml.sax.helpers.DefaultHandlerendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandlerdeclaration
- 
Field Details- 
OBJ_RELATIONSHIP_TAG- See Also:
- Constant Field Values
 
- 
DB_RELATIONSHIP_REF_TAGDeprecated.- See Also:
- Constant Field Values
 
 
- 
- 
Constructor Details- 
ObjRelationshipHandler
 
- 
- 
Method Details- 
processElementprotected boolean processElement(String namespaceURI, String localName, Attributes attributes) throws SAXExceptionDescription copied from class:SAXNestedTagHandlerMain method to process XML content. Should be override in subclasses, by default do nothing. Return value should be true if tag was fully processed and shouldn't be passed down to child handler.- Specified by:
- processElementin class- NamespaceAwareNestedTagHandler
- Parameters:
- namespaceURI- namespace for tag
- localName- tag local name (i.e. w/o namespace prefix)
- attributes- tag attributes
- Returns:
- true if tag was processed
- Throws:
- SAXException- can be thrown to abort parsing
- See Also:
- SAXNestedTagHandler.createChildTagHandler(String, String, String, Attributes)
 
- 
getObjRelationship
 
-