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,org.xml.sax.ContentHandler,org.xml.sax.ext.LexicalHandler
- Direct Known Subclasses:
CompositeCollectionMappingContentHandler,CompositeObjectMappingContentHandler
public abstract class CompositeMappingContentHandler extends DeferredContentHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected org.xml.sax.Attributesattributesprotected Mappingmappingprotected AbstractNullPolicynullPolicyThe AbstractNullPolicy associated with the mapping using this handlerprotected DescriptorxmlDescriptorprotected XPathFragmentxPathFragment
-
Constructor Summary
Constructors Constructor Description CompositeMappingContentHandler(UnmarshalRecord parentRecord, Mapping aMapping, org.xml.sax.Attributes atts, AbstractNullPolicy aNullPolicy, XPathFragment aFragment, Descriptor aDescriptor)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcreateEmptyObject()INTERNAL: Create an empty object to be used by empty, complex or simple events.protected abstract XMLRelationshipMappingNodeValuegetNodeValue()protected voidprocessComplexElement()protected voidprocessEmptyElementWithAttributes()protected voidprocessSimpleElement()-
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 org.xml.sax.Attributes attributes
-
mapping
protected Mapping mapping
-
xPathFragment
protected XPathFragment xPathFragment
-
xmlDescriptor
protected Descriptor xmlDescriptor
-
-
Constructor Detail
-
CompositeMappingContentHandler
public CompositeMappingContentHandler(UnmarshalRecord parentRecord, Mapping aMapping, org.xml.sax.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 org.xml.sax.SAXException- Overrides:
processEmptyElementWithAttributesin classDeferredContentHandler- Throws:
org.xml.sax.SAXException
-
processComplexElement
protected void processComplexElement() throws org.xml.sax.SAXException- Specified by:
processComplexElementin classDeferredContentHandler- Throws:
org.xml.sax.SAXException
-
processSimpleElement
protected void processSimpleElement() throws org.xml.sax.SAXException- Specified by:
processSimpleElementin classDeferredContentHandler- Throws:
org.xml.sax.SAXException
-
-