XmlVisitor that performs XOP processing.
Used to support MTOM.
| Modifier and Type | Field and Description |
|---|---|
| private final AttachmentUnmarshaller | |
| private final Base64Data | |
| private boolean | followXop
UGLY HACK: we need to ignore the whitespace that follows the attached base64 image. |
| private boolean | inXopInclude
True if we are between the start and the end of xop:Include |
| private final XmlVisitor | |
| private UnmarshallerImpl |
| Access | Constructor and Description |
|---|---|
| public |
| au | back to summary |
|---|---|
| private final AttachmentUnmarshaller au | |
| base64data | back to summary |
|---|---|
| private final Base64Data base64data | |
| followXop | back to summary |
|---|---|
| private boolean followXop UGLY HACK: we need to ignore the whitespace that follows
the attached base64 image.
This happens twice; once before | |
| inXopInclude | back to summary |
|---|---|
| private boolean inXopInclude True if we are between the start and the end of xop:Include | |
| next | back to summary |
|---|---|
| private final XmlVisitor next | |
| parent | back to summary |
|---|---|
| private UnmarshallerImpl parent | |
| MTOMDecorator | back to summary |
|---|---|
| public MTOMDecorator(UnmarshallerImpl parent, XmlVisitor next, AttachmentUnmarshaller au) | |
| endDocument | back to summary |
|---|---|
| public void endDocument() throws SAXException Implements org.
| |
| endElement | back to summary |
|---|---|
| public void endElement(TagName tagName) throws SAXException Implements org.
| |
| endPrefixMapping | back to summary |
|---|---|
| public void endPrefixMapping(String prefix) throws SAXException Implements org. Doc from org. Called after
| |
| getContext | back to summary |
|---|---|
| public UnmarshallingContext getContext() Implements org. Doc from org. Returns the
| |
| getPredictor | back to summary |
|---|---|
| public XmlVisitor. Implements org. Doc from org. Gets the predictor that can be used for the caller to avoid
calling
| |
| startDocument | back to summary |
|---|---|
| public void startDocument(LocatorEx loc, NamespaceContext nsContext) throws SAXException Implements org. Doc from org. Notifies a start of the document.
| |
| startElement | back to summary |
|---|---|
| public void startElement(TagName tagName) throws SAXException Implements org. Doc from org. Notifies a start tag of a new element. namespace URIs and local names must be interned.
| |
| startPrefixMapping | back to summary |
|---|---|
| public void startPrefixMapping(String prefix, String nsUri) throws SAXException Implements org. Doc from org. Called before
| |
| text | back to summary |
|---|---|
| public void text(CharSequence pcdata) throws SAXException Implements org. Doc from org. Text events.
The caller should consult
| |