Module org.eclipse.persistence.core
Class UnmappedContentHandlerWrapper
java.lang.Object
org.eclipse.persistence.internal.core.sessions.CoreAbstractRecord
org.eclipse.persistence.internal.oxm.record.UnmarshalRecordImpl
org.eclipse.persistence.internal.oxm.record.UnmappedContentHandlerWrapper
- All Implemented Interfaces:
AbstractUnmarshalRecord
,ExtendedContentHandler
,UnmarshalRecord
,XMLRecord
,ContentHandler
,LexicalHandler
INTERNAL:
This class delegates all events corresponding to the UnmappedContentHandler.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.persistence.internal.oxm.record.XMLRecord
XMLRecord.Nil
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.oxm.record.UnmarshalRecordImpl
currentObject, namespaceAware, parentRecord, rootElementLocalName, rootElementName, rootElementNamespaceUri, session, textWrapperFragment, unmarshaller, xmlReader
Fields inherited from interface org.eclipse.persistence.internal.oxm.record.UnmarshalRecord
DEFAULT_UNMAPPED_CONTENT_HANDLER
Fields inherited from interface org.eclipse.persistence.internal.oxm.record.XMLRecord
DEFAULT_ATTRIBUTE_GROUP, NIL
-
Constructor Summary
ConstructorDescriptionUnmappedContentHandlerWrapper
(UnmarshalRecord parentRecord, UnmappedContentHandler unmappedContentHandler) UnmappedContentHandlerWrapper
(UnmappedContentHandler unmappedContentHandler, SAXUnmarshallerHandler saxUnmarshallerHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] ch, int start, int length) void
void
endElement
(String uri, String localName, String name) void
endPrefixMapping
(String prefix) void
ignorableWhitespace
(char[] ch, int start, int length) void
processingInstruction
(String target, String data) void
setDocumentLocator
(Locator locator) void
skippedEntity
(String name) void
void
startElement
(String uri, String localName, String name, Attributes atts) void
startPrefixMapping
(String prefix, String uri) Methods inherited from class org.eclipse.persistence.internal.oxm.record.UnmarshalRecordImpl
addAttributeValue, addAttributeValue, characters, clear, comment, createRoot, endCDATA, endDTD, endEntity, endUnmappedElement, get, getAttributeChildNodeValue, getAttributes, getCharacters, getChildRecord, getChildUnmarshalRecord, getContainerInstance, getContainerInstance, getConversionManager, getCurrentObject, getDescriptor, getDocument, getDocumentLocator, getEncoding, getFragmentBuilder, getLeafElementType, getLevelIndex, getLocalName, getNamespaceSeparator, getNamespaceURI, getNoNamespaceSchemaLocation, getNonAttributeXPathNode, getNullCapableValues, getParentRecord, getPrefixesForFragment, getReferenceResolver, getRootElementName, getRootElementNamespaceUri, getSchemaLocation, getSelfNodeValueForAttribute, getSession, getStringBuffer, getTextWrapperFragment, getTransformationRecord, getTypeQName, getUnmarshalAttributeGroup, getUnmarshalContext, getUnmarshaller, getUnmarshalNamespaceResolver, getVersion, getXMLReader, getXPathNode, initialize, initializeRecord, isBufferCDATA, isNamespaceAware, isNil, isSelfRecord, reference, removeNullCapableValue, resetStringBuffer, resolveNamespacePrefix, resolveNamespaceUri, resolveReferences, setAttributes, setAttributeValue, setAttributeValueNull, setChildRecord, setContainerInstance, setCurrentObject, setEncoding, setFragmentBuilder, setLeafElementType, setLeafElementType, setLocalName, setNil, setNoNamespaceSchemaLocation, setParentRecord, setReferenceResolver, setRootElementName, setRootElementNamespaceUri, setSchemaLocation, setSelfRecord, setSession, setTextWrapperFragment, setTransformationRecord, setTypeQName, setUnmarshalAttributeGroup, setUnmarshalContext, setUnmarshaller, setUnmarshalNamespaceResolver, setVersion, setXMLReader, startCDATA, startDTD, startEntity, startUnmappedElement, transformToXML, unmappedContent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
UnmappedContentHandlerWrapper
public UnmappedContentHandlerWrapper(UnmarshalRecord parentRecord, UnmappedContentHandler unmappedContentHandler) -
UnmappedContentHandlerWrapper
public UnmappedContentHandlerWrapper(UnmappedContentHandler unmappedContentHandler, SAXUnmarshallerHandler saxUnmarshallerHandler)
-
-
Method Details
-
characters
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classUnmarshalRecordImpl
- Throws:
SAXException
-
endDocument
- Specified by:
endDocument
in interfaceContentHandler
- Overrides:
endDocument
in classUnmarshalRecordImpl
- Throws:
SAXException
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classUnmarshalRecordImpl
- Throws:
SAXException
-
endPrefixMapping
- Specified by:
endPrefixMapping
in interfaceContentHandler
- Overrides:
endPrefixMapping
in classUnmarshalRecordImpl
- Throws:
SAXException
-
ignorableWhitespace
- Specified by:
ignorableWhitespace
in interfaceContentHandler
- Overrides:
ignorableWhitespace
in classUnmarshalRecordImpl
- Throws:
SAXException
-
processingInstruction
- Specified by:
processingInstruction
in interfaceContentHandler
- Overrides:
processingInstruction
in classUnmarshalRecordImpl
- Throws:
SAXException
-
setDocumentLocator
- Specified by:
setDocumentLocator
in interfaceContentHandler
- Overrides:
setDocumentLocator
in classUnmarshalRecordImpl
-
skippedEntity
- Specified by:
skippedEntity
in interfaceContentHandler
- Overrides:
skippedEntity
in classUnmarshalRecordImpl
- Throws:
SAXException
-
startDocument
- Specified by:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classUnmarshalRecordImpl
- Throws:
SAXException
-
startElement
public void startElement(String uri, String localName, String name, Attributes atts) throws SAXException - Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classUnmarshalRecordImpl
- Throws:
SAXException
-
startPrefixMapping
- Specified by:
startPrefixMapping
in interfaceContentHandler
- Overrides:
startPrefixMapping
in classUnmarshalRecordImpl
- Throws:
SAXException
-