class NamespaceURIInterningXMLStreamReaderWrapper extends XMLStreamReaderWrapper implements OMXMLStreamReader
XMLStreamReader wrapper that interns namespace URIs. It is used to implement the
OMXMLStreamReaderConfiguration.isNamespaceURIInterning() option.| Modifier and Type | Field and Description |
|---|---|
private NamespaceURIInterningNamespaceContextWrapper |
namespaceContextWrapper |
| Constructor and Description |
|---|
NamespaceURIInterningXMLStreamReaderWrapper(OMXMLStreamReader parent) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttributeNamespace(int index) |
javax.activation.DataHandler |
getDataHandler(java.lang.String blobcid) |
javax.xml.namespace.NamespaceContext |
getNamespaceContext() |
java.lang.String |
getNamespaceURI() |
java.lang.String |
getNamespaceURI(int index) |
java.lang.String |
getNamespaceURI(java.lang.String prefix) |
private static java.lang.String |
intern(java.lang.String s) |
boolean |
isInlineMTOM()
By default, an OMText item that has an MTOM datahandler
will be rendered as a inlined text event.
|
void |
setInlineMTOM(boolean value) |
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceCount, getNamespacePrefix, getParent, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, next, nextTag, require, standaloneSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceCount, getNamespacePrefix, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, next, nextTag, require, standaloneSetprivate NamespaceURIInterningNamespaceContextWrapper namespaceContextWrapper
public NamespaceURIInterningXMLStreamReaderWrapper(OMXMLStreamReader parent)
private static java.lang.String intern(java.lang.String s)
public java.lang.String getAttributeNamespace(int index)
getAttributeNamespace in interface javax.xml.stream.XMLStreamReadergetAttributeNamespace in class XMLStreamReaderWrapperpublic java.lang.String getNamespaceURI()
getNamespaceURI in interface javax.xml.stream.XMLStreamReadergetNamespaceURI in class XMLStreamReaderWrapperpublic java.lang.String getNamespaceURI(int index)
getNamespaceURI in interface javax.xml.stream.XMLStreamReadergetNamespaceURI in class XMLStreamReaderWrapperpublic java.lang.String getNamespaceURI(java.lang.String prefix)
getNamespaceURI in interface javax.xml.stream.XMLStreamReadergetNamespaceURI in class XMLStreamReaderWrapperpublic javax.activation.DataHandler getDataHandler(java.lang.String blobcid)
getDataHandler in interface OMAttachmentAccessorblobcid - (without the surrounding angle brackets and "cid:" prefix)public javax.xml.namespace.NamespaceContext getNamespaceContext()
getNamespaceContext in interface javax.xml.stream.XMLStreamReadergetNamespaceContext in class XMLStreamReaderWrapperpublic boolean isInlineMTOM()
OMXMLStreamReaderisInlineMTOM in interface OMXMLStreamReaderpublic void setInlineMTOM(boolean value)
setInlineMTOM in interface OMXMLStreamReadervalue - set to true if inlining of text is desired (default)
throw OMException if not the value is not supported.