Class XMLBinaryAttachmentHandler
- java.lang.Object
-
- org.eclipse.persistence.internal.core.sessions.CoreAbstractRecord
-
- org.eclipse.persistence.internal.oxm.record.UnmarshalRecordImpl
-
- org.eclipse.persistence.internal.oxm.XMLBinaryAttachmentHandler
-
- All Implemented Interfaces:
AbstractUnmarshalRecord
,ExtendedContentHandler
,UnmarshalRecord
,XMLRecord
,ContentHandler
,LexicalHandler
public class XMLBinaryAttachmentHandler extends UnmarshalRecordImpl
INTERNAL:Purpose:This class is a content handler that specifically handles the "Include" element in an mtom style attachment.
- Author:
- mmacivor
-
-
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
Constructors Constructor Description XMLBinaryAttachmentHandler(UnmarshalRecord unmarshalRecord, NodeValue nodeValue, Mapping mapping, XMLConverterMapping converter, boolean isCollection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
characters(char[] ch, int offset, int length)
void
endElement(String namespaceURI, String localName, String qName)
String
getCID()
Object
getObjectValueFromDataHandler(jakarta.activation.DataHandler handler, Class cls)
void
processingInstruction(String target, String data)
void
startElement(String namespaceURI, String localName, String qName, Attributes atts)
-
Methods inherited from class org.eclipse.persistence.internal.oxm.record.UnmarshalRecordImpl
addAttributeValue, addAttributeValue, characters, clear, comment, createRoot, endCDATA, endDocument, endDTD, endEntity, endPrefixMapping, 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, ignorableWhitespace, initialize, initializeRecord, isBufferCDATA, isNamespaceAware, isNil, isSelfRecord, reference, removeNullCapableValue, resetStringBuffer, resolveNamespacePrefix, resolveNamespaceUri, resolveReferences, setAttributes, setAttributeValue, setAttributeValueNull, setChildRecord, setContainerInstance, setCurrentObject, setDocumentLocator, setEncoding, setFragmentBuilder, setLeafElementType, setLeafElementType, setLocalName, setNil, setNoNamespaceSchemaLocation, setParentRecord, setReferenceResolver, setRootElementName, setRootElementNamespaceUri, setSchemaLocation, setSelfRecord, setSession, setTextWrapperFragment, setTransformationRecord, setTypeQName, setUnmarshalAttributeGroup, setUnmarshalContext, setUnmarshaller, setUnmarshalNamespaceResolver, setVersion, setXMLReader, skippedEntity, startCDATA, startDocument, startDTD, startEntity, startPrefixMapping, startUnmappedElement, transformToXML, unmappedContent
-
-
-
-
Constructor Detail
-
XMLBinaryAttachmentHandler
public XMLBinaryAttachmentHandler(UnmarshalRecord unmarshalRecord, NodeValue nodeValue, Mapping mapping, XMLConverterMapping converter, boolean isCollection)
-
-
Method Detail
-
characters
public void characters(char[] ch, int offset, int length) throws SAXException
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classUnmarshalRecordImpl
- Throws:
SAXException
-
startElement
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classUnmarshalRecordImpl
- Throws:
SAXException
-
endElement
public void endElement(String namespaceURI, String localName, String qName) throws SAXException
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classUnmarshalRecordImpl
- Throws:
SAXException
-
processingInstruction
public void processingInstruction(String target, String data) throws SAXException
- Specified by:
processingInstruction
in interfaceContentHandler
- Overrides:
processingInstruction
in classUnmarshalRecordImpl
- Throws:
SAXException
-
getCID
public String getCID()
-
-