|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.staxex.util.DOMStreamReader
org.jvnet.staxex.util.SaajStaxReaderEx
public class SaajStaxReaderEx
SaajStaxReaderEx
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jvnet.staxex.util.DOMStreamReader |
|---|
DOMStreamReader.Scope |
| Field Summary |
|---|
| Fields inherited from class org.jvnet.staxex.util.DOMStreamReader |
|---|
_current, _state, depth, scopes, wholeText |
| Fields 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 | |
|---|---|
SaajStaxReaderEx(javax.xml.soap.SOAPElement se)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getElementTextTrim()
Works like XMLStreamReader.getElementText() but trims the leading
and trailing whitespace. |
NamespaceContextEx |
getNamespaceContext()
|
java.lang.CharSequence |
getPCDATA()
Works like XMLStreamReader.getText()
but hides the actual data representation. |
char[] |
getTextCharacters()
|
int |
getTextLength()
|
int |
getTextStart()
|
int |
next()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.xml.stream.XMLStreamReader |
|---|
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, nextTag, require, standaloneSet |
| Constructor Detail |
|---|
public SaajStaxReaderEx(javax.xml.soap.SOAPElement se)
| Method Detail |
|---|
public int next()
throws javax.xml.stream.XMLStreamException
next in interface javax.xml.stream.XMLStreamReadernext in class DOMStreamReaderjavax.xml.stream.XMLStreamException
public java.lang.String getElementTextTrim()
throws javax.xml.stream.XMLStreamException
XMLStreamReaderExXMLStreamReader.getElementText() but trims the leading
and trailing whitespace.
The parser can often do this more efficiently than
getElementText().trim().
getElementTextTrim in interface XMLStreamReaderExjavax.xml.stream.XMLStreamExceptionXMLStreamReader.getElementText()
public java.lang.CharSequence getPCDATA()
throws javax.xml.stream.XMLStreamException
XMLStreamReaderExXMLStreamReader.getText()
but hides the actual data representation.
getPCDATA in interface XMLStreamReaderExCharSequence that represents the
character infoset items at the current position.
The CharSequence is normally a String,
but can be any other CharSequence implementation.
For binary data, however, use of Base64Data is
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.
javax.xml.stream.XMLStreamExceptionpublic NamespaceContextEx getNamespaceContext()
XMLStreamReaderEx
getNamespaceContext in interface javax.xml.stream.XMLStreamReadergetNamespaceContext in interface XMLStreamReaderExgetNamespaceContext in class DOMStreamReaderpublic int getTextLength()
getTextLength in interface javax.xml.stream.XMLStreamReadergetTextLength in class DOMStreamReaderpublic int getTextStart()
getTextStart in interface javax.xml.stream.XMLStreamReadergetTextStart in class DOMStreamReaderpublic char[] getTextCharacters()
getTextCharacters in interface javax.xml.stream.XMLStreamReadergetTextCharacters in class DOMStreamReader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||