Class AnyMappingContentHandler
- java.lang.Object
-
- org.eclipse.persistence.internal.oxm.record.deferred.DeferredContentHandler
-
- org.eclipse.persistence.internal.oxm.record.deferred.AnyMappingContentHandler
-
- All Implemented Interfaces:
ExtendedContentHandler,org.xml.sax.ContentHandler,org.xml.sax.ext.LexicalHandler
public class AnyMappingContentHandler extends DeferredContentHandler
Purpose: Implementation of DeferredContentHandler for XMLAnyCollectionMappings.
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 and return control to the original parentRecord
- If the element has complex content execute stored events and return control to a new unmappedhandler
-
-
Constructor Summary
Constructors Constructor Description AnyMappingContentHandler(UnmarshalRecord parentRecord, boolean usesXMLRoot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidprocessComplexElement()protected voidprocessEmptyElement()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, processEmptyElementWithAttributes, processingInstruction, setDocumentLocator, setNil, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping
-
-
-
-
Constructor Detail
-
AnyMappingContentHandler
public AnyMappingContentHandler(UnmarshalRecord parentRecord, boolean usesXMLRoot)
-
-
Method Detail
-
processEmptyElement
protected void processEmptyElement() throws org.xml.sax.SAXException- Specified by:
processEmptyElementin classDeferredContentHandler- Throws:
org.xml.sax.SAXException
-
processSimpleElement
protected void processSimpleElement() throws org.xml.sax.SAXException- Specified by:
processSimpleElementin classDeferredContentHandler- Throws:
org.xml.sax.SAXException
-
processComplexElement
protected void processComplexElement() throws org.xml.sax.SAXException- Specified by:
processComplexElementin classDeferredContentHandler- Throws:
org.xml.sax.SAXException
-
-