Package com.sun.xml.ws.encoding
Class MtomCodec.MtomXMLStreamReaderEx
java.lang.Object
com.sun.xml.ws.util.xml.XMLStreamReaderFilter
com.sun.xml.ws.encoding.MtomCodec.MtomXMLStreamReaderEx
- All Implemented Interfaces:
XMLStreamReaderFactory.RecycleAware,XMLStreamConstants,XMLStreamReader,XMLStreamReaderEx
- Enclosing class:
- MtomCodec
public static class MtomCodec.MtomXMLStreamReaderEx
extends XMLStreamReaderFilter
implements XMLStreamReaderEx
-
Field Summary
Fields inherited from class com.sun.xml.ws.util.xml.XMLStreamReaderFilter
readerFields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWorks likeXMLStreamReader.getElementText()but trims the leading and trailing whitespace.intWorks likeXMLStreamReader.getText()but hides the actual data representation.getText()char[]intgetTextCharacters(int sourceStart, char[] target, int targetStart, int length) intintprotected Stringprotected booleanintnext()Methods inherited from class com.sun.xml.ws.util.xml.XMLStreamReaderFilter
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getLocalName, getLocation, getName, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, nextTag, onRecycled, require, standaloneSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.xml.stream.XMLStreamReader
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getLocalName, getLocation, getName, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, nextTag, require, standaloneSet
-
Constructor Details
-
MtomXMLStreamReaderEx
-
-
Method Details
-
getPCDATA
Description copied from interface:XMLStreamReaderExWorks likeXMLStreamReader.getText()but hides the actual data representation.- Specified by:
getPCDATAin interfaceXMLStreamReaderEx- Returns:
- The
CharSequencethat represents the character infoset items at the current position.The
CharSequenceis normally aString, but can be any otherCharSequenceimplementation. For binary data, however, use ofBase64Datais recommended (so that the consumer interested in seeing it as binary data may take advantage of mor efficient data representation.)The object returned from this method belongs to the parser, and its content is guaranteed to be the same only until the
XMLStreamReader.next()method is invoked. - Throws:
XMLStreamException
-
getNamespaceContext
Description copied from interface:XMLStreamReaderEx- Specified by:
getNamespaceContextin interfaceXMLStreamReader- Specified by:
getNamespaceContextin interfaceXMLStreamReaderEx- Overrides:
getNamespaceContextin classXMLStreamReaderFilter
-
getElementTextTrim
Description copied from interface:XMLStreamReaderExWorks likeXMLStreamReader.getElementText()but trims the leading and trailing whitespace.The parser can often do this more efficiently than
getElementText().trim().- Specified by:
getElementTextTrimin interfaceXMLStreamReaderEx- Throws:
XMLStreamException- See Also:
-
getTextLength
public int getTextLength()- Specified by:
getTextLengthin interfaceXMLStreamReader- Overrides:
getTextLengthin classXMLStreamReaderFilter
-
getTextStart
public int getTextStart()- Specified by:
getTextStartin interfaceXMLStreamReader- Overrides:
getTextStartin classXMLStreamReaderFilter
-
getEventType
public int getEventType()- Specified by:
getEventTypein interfaceXMLStreamReader- Overrides:
getEventTypein classXMLStreamReaderFilter
-
next
- Specified by:
nextin interfaceXMLStreamReader- Overrides:
nextin classXMLStreamReaderFilter- Throws:
XMLStreamException
-
getTextCharacters
public char[] getTextCharacters()- Specified by:
getTextCharactersin interfaceXMLStreamReader- Overrides:
getTextCharactersin classXMLStreamReaderFilter
-
getTextCharacters
public int getTextCharacters(int sourceStart, char[] target, int targetStart, int length) throws XMLStreamException - Specified by:
getTextCharactersin interfaceXMLStreamReader- Overrides:
getTextCharactersin classXMLStreamReaderFilter- Throws:
XMLStreamException
-
getText
- Specified by:
getTextin interfaceXMLStreamReader- Overrides:
getTextin classXMLStreamReaderFilter
-
isXopReference
- Throws:
XMLStreamException
-
getXopHref
-
getMimeMultipartParser
-