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
INTERNAL:
Purpose:This class is a content handler that specifically handles the "Include" element in an mtom style attachment.
-
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, xmlReaderFields inherited from interface org.eclipse.persistence.internal.oxm.record.UnmarshalRecord
DEFAULT_UNMAPPED_CONTENT_HANDLERFields inherited from interface org.eclipse.persistence.internal.oxm.record.XMLRecord
DEFAULT_ATTRIBUTE_GROUP, NIL -
Constructor Summary
ConstructorsConstructorDescriptionXMLBinaryAttachmentHandler(UnmarshalRecord unmarshalRecord, NodeValue nodeValue, Mapping mapping, XMLConverterMapping converter, boolean isCollection) -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int offset, int length) voidendElement(String namespaceURI, String localName, String qName) getCID()getObjectValueFromDataHandler(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, unmappedContentMethods 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
-
XMLBinaryAttachmentHandler
public XMLBinaryAttachmentHandler(UnmarshalRecord unmarshalRecord, NodeValue nodeValue, Mapping mapping, XMLConverterMapping converter, boolean isCollection)
-
-
Method Details
-
characters
- 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
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classUnmarshalRecordImpl- Throws:
SAXException
-
processingInstruction
- Specified by:
processingInstructionin interfaceContentHandler- Overrides:
processingInstructionin classUnmarshalRecordImpl- Throws:
SAXException
-
getCID
-
getObjectValueFromDataHandler
-