Class CompositeMappingContentHandler
- java.lang.Object
-
- org.eclipse.persistence.internal.oxm.record.deferred.DeferredContentHandler
-
- org.eclipse.persistence.internal.oxm.record.deferred.CompositeMappingContentHandler
-
- All Implemented Interfaces:
ExtendedContentHandler
,ContentHandler
,LexicalHandler
- Direct Known Subclasses:
CompositeCollectionMappingContentHandler
,CompositeObjectMappingContentHandler
public abstract class CompositeMappingContentHandler extends DeferredContentHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected Attributes
attributes
protected Mapping
mapping
protected AbstractNullPolicy
nullPolicy
The AbstractNullPolicy associated with the mapping using this handlerprotected Descriptor
xmlDescriptor
protected XPathFragment
xPathFragment
-
Constructor Summary
Constructors Constructor Description CompositeMappingContentHandler(UnmarshalRecord parentRecord, Mapping aMapping, Attributes atts, AbstractNullPolicy aNullPolicy, XPathFragment aFragment, Descriptor aDescriptor)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
createEmptyObject()
INTERNAL: Create an empty object to be used by empty, complex or simple events.protected abstract XMLRelationshipMappingNodeValue
getNodeValue()
protected void
processComplexElement()
protected void
processEmptyElementWithAttributes()
protected void
processSimpleElement()
-
Methods inherited from class org.eclipse.persistence.internal.oxm.record.deferred.DeferredContentHandler
buildAttributeList, characters, characters, comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, executeEvents, getEvents, getParent, ignorableWhitespace, processEmptyElement, processingInstruction, setDocumentLocator, setNil, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping
-
-
-
-
Field Detail
-
nullPolicy
protected AbstractNullPolicy nullPolicy
The AbstractNullPolicy associated with the mapping using this handler
-
attributes
protected Attributes attributes
-
mapping
protected Mapping mapping
-
xPathFragment
protected XPathFragment xPathFragment
-
xmlDescriptor
protected Descriptor xmlDescriptor
-
-
Constructor Detail
-
CompositeMappingContentHandler
public CompositeMappingContentHandler(UnmarshalRecord parentRecord, Mapping aMapping, Attributes atts, AbstractNullPolicy aNullPolicy, XPathFragment aFragment, Descriptor aDescriptor)
-
-
Method Detail
-
getNodeValue
protected abstract XMLRelationshipMappingNodeValue getNodeValue()
-
createEmptyObject
protected void createEmptyObject()
INTERNAL: Create an empty object to be used by empty, complex or simple events. A childRecord is created on the parent UnmarshalRecord.
-
processEmptyElementWithAttributes
protected void processEmptyElementWithAttributes() throws SAXException
- Overrides:
processEmptyElementWithAttributes
in classDeferredContentHandler
- Throws:
SAXException
-
processComplexElement
protected void processComplexElement() throws SAXException
- Specified by:
processComplexElement
in classDeferredContentHandler
- Throws:
SAXException
-
processSimpleElement
protected void processSimpleElement() throws SAXException
- Specified by:
processSimpleElement
in classDeferredContentHandler
- Throws:
SAXException
-
-