Module org.eclipse.persistence.core
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 voidcharacters(char[] ch, int offset, int length)voidendElement(String namespaceURI, String localName, String qName)StringgetCID()ObjectgetObjectValueFromDataHandler(jakarta.activation.DataHandler handler, Class<?> cls)voidprocessingInstruction(String target, String data)voidstartElement(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:
charactersin interfaceContentHandler- Overrides:
charactersin classUnmarshalRecordImpl- Throws:
SAXException
-
startElement
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classUnmarshalRecordImpl- Throws:
SAXException
-
endElement
public void endElement(String namespaceURI, String localName, String qName) throws SAXException
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classUnmarshalRecordImpl- Throws:
SAXException
-
processingInstruction
public void processingInstruction(String target, String data) throws SAXException
- Specified by:
processingInstructionin interfaceContentHandler- Overrides:
processingInstructionin classUnmarshalRecordImpl- Throws:
SAXException
-
getCID
public String getCID()
-
-