Module org.eclipse.persistence.core
Class BinaryMappingContentHandler
java.lang.Object
org.eclipse.persistence.internal.oxm.record.deferred.DeferredContentHandler
org.eclipse.persistence.internal.oxm.record.deferred.BinaryMappingContentHandler
- All Implemented Interfaces:
ExtendedContentHandler,ContentHandler,LexicalHandler
Purpose: Implementation of DeferredContentHandler for Binary Mappings.
Responsibilities:
- If the element is empty then execute stored events and return control to the original parentRecord
- If the element has simple content execute stored events on an inline binary handler
- If the element has complex content execute stored events on a binary attachment handler
-
Constructor Summary
ConstructorsConstructorDescriptionBinaryMappingContentHandler(UnmarshalRecord parentRecord, NodeValue nodeValue, BinaryDataCollectionMapping mapping) BinaryMappingContentHandler(UnmarshalRecord parentRecord, NodeValue nodeValue, BinaryDataMapping mapping) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecuteEvents(UnmarshalRecord unmarshalRecord) booleanvoidvoidvoidMethods inherited from class org.eclipse.persistence.internal.oxm.record.deferred.DeferredContentHandler
buildAttributeList, characters, characters, comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, getEvents, getParent, ignorableWhitespace, processEmptyElementWithAttributes, processingInstruction, setDocumentLocator, setNil, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMappingMethods 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
-
BinaryMappingContentHandler
public BinaryMappingContentHandler(UnmarshalRecord parentRecord, NodeValue nodeValue, BinaryDataMapping mapping) -
BinaryMappingContentHandler
public BinaryMappingContentHandler(UnmarshalRecord parentRecord, NodeValue nodeValue, BinaryDataCollectionMapping mapping)
-
-
Method Details
-
processComplexElement
- Specified by:
processComplexElementin classDeferredContentHandler- Throws:
SAXException
-
processSimpleElement
- Specified by:
processSimpleElementin classDeferredContentHandler- Throws:
SAXException
-
processEmptyElement
- Specified by:
processEmptyElementin classDeferredContentHandler- Throws:
SAXException
-
executeEvents
- Overrides:
executeEventsin classDeferredContentHandler- Throws:
SAXException
-
getWorkingUnmarshalRecord
-
isFinished
public boolean isFinished()
-