public class XMLBinaryAttachmentHandler extends UnmarshalRecord
Purpose:This class is a content handler that specifically handles the "Include" element in an mtom style attachment.
AbstractRecord.NoEntryDEFAULT_UNMAPPED_CONTENT_HANDLERnoEntry| Constructor and Description |
|---|
XMLBinaryAttachmentHandler(UnmarshalRecord unmarshalRecord,
NodeValue nodeValue,
DatabaseMapping mapping,
Converter 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, endCDATA, endDocument, endDTD, endEntity, endPrefixMapping, endUnmappedElement, get, getAttributeChildNodeValue, getAttributes, getCharacters, getChildRecord, getChildUnmarshalRecord, getContainerInstance, getContainerInstance, getDescriptor, getDocument, getDocumentLocator, getDOM, getEncoding, getFragmentBuilder, getLevelIndex, getLocalName, getNamespaceSeparator, getNamespaceURI, getNoNamespaceSchemaLocation, getNonAttributeXPathNode, getNullCapableValues, getParentRecord, getPrefixesForFragment, getReferenceResolver, getRootElementName, getRootElementNamespaceUri, getSchemaLocation, getSelfNodeValueForAttribute, getTextWrapperFragment, getTransformationRecord, getTypeQName, getUnmarshalContext, getUnmarshalNamespaceResolver, getVersion, getXMLReader, getXPathNode, ignorableWhitespace, initializeRecord, isBufferCDATA, isNil, isSelfRecord, reference, removeNullCapableValue, resetStringBuffer, resolveNamespacePrefix, resolveNamespaceUri, resolveReferences, setAttributes, setAttributeValue, setAttributeValueNull, setChildRecord, setContainerInstance, setDocumentLocator, setEncoding, setFragmentBuilder, setLocalName, setNil, setNoNamespaceSchemaLocation, setParentRecord, setReferenceResolver, setRootElementName, setRootElementNamespaceUri, setSchemaLocation, setSelfRecord, setTransformationRecord, setTypeQName, setUnmarshalContext, setUnmarshaller, setUnmarshalNamespaceResolver, setVersion, setXMLReader, skippedEntity, startCDATA, startDocument, startDTD, startEntity, startPrefixMapping, startUnmappedElement, toString, transformToXML, unmappedContentattribute, attributeWithoutQName, contains, get, getCurrentObject, getDocPresPolicy, getIndicatingNoEntry, getLeafElementType, getMarshaller, getNamespaceResolver, getOwningObject, getSession, getUnmarshaller, hasCustomNamespaceMapper, hasEqualNamespaceResolvers, isNamespaceAware, isXOPPackage, namespaceDeclaration, put, setCurrentObject, setCustomNamespaceMapper, setDocPresPolicy, setEqualNamespaceResolvers, setLeafElementType, setLeafElementType, setMarshaller, setNamespaceResolver, setOwningObject, setSession, setXOPPackageadd, clone, containsKey, containsKey, containsKey, containsValue, elements, entrySet, get, getField, getFields, getIndicatingNoEntry, getValues, getValues, getValues, hasNullValueInFields, isEmpty, keys, keySet, mergeFrom, put, put, putAll, remove, remove, remove, replaceAt, setNullValueInFields, size, valuespublic XMLBinaryAttachmentHandler(UnmarshalRecord unmarshalRecord, NodeValue nodeValue, DatabaseMapping mapping, Converter converter, boolean isCollection)
public void characters(char[] ch,
int offset,
int length)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.ContentHandlercharacters in class UnmarshalRecordorg.xml.sax.SAXExceptionpublic 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.ContentHandlerstartElement in class UnmarshalRecordorg.xml.sax.SAXExceptionpublic 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.ContentHandlerendElement in class UnmarshalRecordorg.xml.sax.SAXExceptionpublic void processingInstruction(java.lang.String target,
java.lang.String data)
throws org.xml.sax.SAXException
processingInstruction in interface org.xml.sax.ContentHandlerprocessingInstruction in class UnmarshalRecordorg.xml.sax.SAXExceptionpublic java.lang.String getCID()
public java.lang.Object getObjectValueFromDataHandler(javax.activation.DataHandler handler,
java.lang.Class cls)
EclipseLink 2.4.2, "build v20130514-5956486" API Reference