public class XMLBinaryAttachmentHandler extends UnmarshalRecordImpl
Purpose:This class is a content handler that specifically handles the "Include" element in an mtom style attachment.
XMLRecord.Nil
DEFAULT_UNMAPPED_CONTENT_HANDLER
DEFAULT_ATTRIBUTE_GROUP, NIL
Constructor and Description |
---|
XMLBinaryAttachmentHandler(UnmarshalRecord unmarshalRecord,
NodeValue nodeValue,
Mapping mapping,
XMLConverterMapping converter,
boolean isCollection) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int offset,
int length) |
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName) |
java.lang.String |
getCID() |
java.lang.Object |
getObjectValueFromDataHandler(javax.activation.DataHandler handler,
java.lang.Class cls) |
void |
processingInstruction(java.lang.String target,
java.lang.String data) |
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts) |
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, 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
public XMLBinaryAttachmentHandler(UnmarshalRecord unmarshalRecord, NodeValue nodeValue, Mapping mapping, XMLConverterMapping converter, boolean isCollection)
public void characters(char[] ch, int offset, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
characters
in class UnmarshalRecordImpl
org.xml.sax.SAXException
public void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class UnmarshalRecordImpl
org.xml.sax.SAXException
public void endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class UnmarshalRecordImpl
org.xml.sax.SAXException
public void processingInstruction(java.lang.String target, java.lang.String data) throws org.xml.sax.SAXException
processingInstruction
in interface org.xml.sax.ContentHandler
processingInstruction
in class UnmarshalRecordImpl
org.xml.sax.SAXException
public java.lang.String getCID()
public java.lang.Object getObjectValueFromDataHandler(javax.activation.DataHandler handler, java.lang.Class cls)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference