Module com.sun.xml.messaging.saaj
Class LazyEnvelopeStaxReader
java.lang.Object
org.jvnet.staxex.util.DOMStreamReader
com.sun.xml.messaging.saaj.util.stax.LazyEnvelopeStaxReader
- All Implemented Interfaces:
NamespaceContext
,XMLStreamConstants
,XMLStreamReader
public class LazyEnvelopeStaxReader
extends org.jvnet.staxex.util.DOMStreamReader
"Hybrid" reader which
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jvnet.staxex.util.DOMStreamReader
org.jvnet.staxex.util.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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
getAttributeLocalName
(int index) getAttributeName
(int index) getAttributeNamespace
(int index) getAttributePrefix
(int index) getAttributeType
(int index) getAttributeValue
(int index) getAttributeValue
(String namespaceURI, String localName) int
getName()
int
getNamespacePrefix
(int index) getNamespaceURI
(int index) getNamespaceURI
(String prefix) getProperty
(String name) getText()
char[]
int
getTextCharacters
(int sourceStart, char[] target, int targetStart, int length) int
int
boolean
hasName()
boolean
hasNext()
boolean
hasText()
boolean
isAttributeSpecified
(int index) boolean
boolean
boolean
boolean
boolean
int
next()
int
nextTag()
void
boolean
Methods inherited from class org.jvnet.staxex.util.DOMStreamReader
_next, getPrefix, getPrefixes, setCurrentNode, splitAttributes
-
Constructor Details
-
LazyEnvelopeStaxReader
- Throws:
SOAPException
XMLStreamException
-
-
Method Details
-
getProperty
- Specified by:
getProperty
in interfaceXMLStreamReader
- Overrides:
getProperty
in classorg.jvnet.staxex.util.DOMStreamReader
- Throws:
IllegalArgumentException
-
next
- Specified by:
next
in interfaceXMLStreamReader
- Overrides:
next
in classorg.jvnet.staxex.util.DOMStreamReader
- Throws:
XMLStreamException
-
require
- Specified by:
require
in interfaceXMLStreamReader
- Overrides:
require
in classorg.jvnet.staxex.util.DOMStreamReader
- Throws:
XMLStreamException
-
getElementText
- Specified by:
getElementText
in interfaceXMLStreamReader
- Overrides:
getElementText
in classorg.jvnet.staxex.util.DOMStreamReader
- Throws:
XMLStreamException
-
nextTag
- Specified by:
nextTag
in interfaceXMLStreamReader
- Overrides:
nextTag
in classorg.jvnet.staxex.util.DOMStreamReader
- Throws:
XMLStreamException
-
hasNext
- Specified by:
hasNext
in interfaceXMLStreamReader
- Overrides:
hasNext
in classorg.jvnet.staxex.util.DOMStreamReader
- Throws:
XMLStreamException
-
close
- Specified by:
close
in interfaceXMLStreamReader
- Overrides:
close
in classorg.jvnet.staxex.util.DOMStreamReader
- Throws:
XMLStreamException
-
getNamespaceURI
- Specified by:
getNamespaceURI
in interfaceNamespaceContext
- Specified by:
getNamespaceURI
in interfaceXMLStreamReader
- Overrides:
getNamespaceURI
in classorg.jvnet.staxex.util.DOMStreamReader
-
isStartElement
public boolean isStartElement()- Specified by:
isStartElement
in interfaceXMLStreamReader
- Overrides:
isStartElement
in classorg.jvnet.staxex.util.DOMStreamReader
-
isEndElement
public boolean isEndElement()- Specified by:
isEndElement
in interfaceXMLStreamReader
- Overrides:
isEndElement
in classorg.jvnet.staxex.util.DOMStreamReader
-
isCharacters
public boolean isCharacters()- Specified by:
isCharacters
in interfaceXMLStreamReader
- Overrides:
isCharacters
in classorg.jvnet.staxex.util.DOMStreamReader
-
isWhiteSpace
public boolean isWhiteSpace()- Specified by:
isWhiteSpace
in interfaceXMLStreamReader
- Overrides:
isWhiteSpace
in classorg.jvnet.staxex.util.DOMStreamReader
-
getAttributeValue
- Specified by:
getAttributeValue
in interfaceXMLStreamReader
- Overrides:
getAttributeValue
in classorg.jvnet.staxex.util.DOMStreamReader
-
getAttributeCount
public int getAttributeCount()- Specified by:
getAttributeCount
in interfaceXMLStreamReader
- Overrides:
getAttributeCount
in classorg.jvnet.staxex.util.DOMStreamReader
-
getAttributeName
- Specified by:
getAttributeName
in interfaceXMLStreamReader
- Overrides:
getAttributeName
in classorg.jvnet.staxex.util.DOMStreamReader
-
getAttributeNamespace
- Specified by:
getAttributeNamespace
in interfaceXMLStreamReader
- Overrides:
getAttributeNamespace
in classorg.jvnet.staxex.util.DOMStreamReader
-
getAttributeLocalName
- Specified by:
getAttributeLocalName
in interfaceXMLStreamReader
- Overrides:
getAttributeLocalName
in classorg.jvnet.staxex.util.DOMStreamReader
-
getAttributePrefix
- Specified by:
getAttributePrefix
in interfaceXMLStreamReader
- Overrides:
getAttributePrefix
in classorg.jvnet.staxex.util.DOMStreamReader
-
getAttributeType
- Specified by:
getAttributeType
in interfaceXMLStreamReader
- Overrides:
getAttributeType
in classorg.jvnet.staxex.util.DOMStreamReader
-
getAttributeValue
- Specified by:
getAttributeValue
in interfaceXMLStreamReader
- Overrides:
getAttributeValue
in classorg.jvnet.staxex.util.DOMStreamReader
-
isAttributeSpecified
public boolean isAttributeSpecified(int index) - Specified by:
isAttributeSpecified
in interfaceXMLStreamReader
- Overrides:
isAttributeSpecified
in classorg.jvnet.staxex.util.DOMStreamReader
-
getNamespaceCount
public int getNamespaceCount()- Specified by:
getNamespaceCount
in interfaceXMLStreamReader
- Overrides:
getNamespaceCount
in classorg.jvnet.staxex.util.DOMStreamReader
-
getNamespacePrefix
- Specified by:
getNamespacePrefix
in interfaceXMLStreamReader
- Overrides:
getNamespacePrefix
in classorg.jvnet.staxex.util.DOMStreamReader
-
getNamespaceURI
- Specified by:
getNamespaceURI
in interfaceXMLStreamReader
- Overrides:
getNamespaceURI
in classorg.jvnet.staxex.util.DOMStreamReader
-
getNamespaceContext
- Specified by:
getNamespaceContext
in interfaceXMLStreamReader
- Overrides:
getNamespaceContext
in classorg.jvnet.staxex.util.DOMStreamReader
-
getEventType
public int getEventType()- Specified by:
getEventType
in interfaceXMLStreamReader
- Overrides:
getEventType
in classorg.jvnet.staxex.util.DOMStreamReader
-
getText
- Specified by:
getText
in interfaceXMLStreamReader
- Overrides:
getText
in classorg.jvnet.staxex.util.DOMStreamReader
-
getTextCharacters
public char[] getTextCharacters()- Specified by:
getTextCharacters
in interfaceXMLStreamReader
- Overrides:
getTextCharacters
in classorg.jvnet.staxex.util.DOMStreamReader
-
getTextCharacters
public int getTextCharacters(int sourceStart, char[] target, int targetStart, int length) throws XMLStreamException - Specified by:
getTextCharacters
in interfaceXMLStreamReader
- Overrides:
getTextCharacters
in classorg.jvnet.staxex.util.DOMStreamReader
- Throws:
XMLStreamException
-
getTextStart
public int getTextStart()- Specified by:
getTextStart
in interfaceXMLStreamReader
- Overrides:
getTextStart
in classorg.jvnet.staxex.util.DOMStreamReader
-
getTextLength
public int getTextLength()- Specified by:
getTextLength
in interfaceXMLStreamReader
- Overrides:
getTextLength
in classorg.jvnet.staxex.util.DOMStreamReader
-
getEncoding
- Specified by:
getEncoding
in interfaceXMLStreamReader
- Overrides:
getEncoding
in classorg.jvnet.staxex.util.DOMStreamReader
-
hasText
public boolean hasText()- Specified by:
hasText
in interfaceXMLStreamReader
- Overrides:
hasText
in classorg.jvnet.staxex.util.DOMStreamReader
-
getLocation
- Specified by:
getLocation
in interfaceXMLStreamReader
- Overrides:
getLocation
in classorg.jvnet.staxex.util.DOMStreamReader
-
getName
- Specified by:
getName
in interfaceXMLStreamReader
- Overrides:
getName
in classorg.jvnet.staxex.util.DOMStreamReader
-
getLocalName
- Specified by:
getLocalName
in interfaceXMLStreamReader
- Overrides:
getLocalName
in classorg.jvnet.staxex.util.DOMStreamReader
-
hasName
public boolean hasName()- Specified by:
hasName
in interfaceXMLStreamReader
- Overrides:
hasName
in classorg.jvnet.staxex.util.DOMStreamReader
-
getNamespaceURI
- Specified by:
getNamespaceURI
in interfaceXMLStreamReader
- Overrides:
getNamespaceURI
in classorg.jvnet.staxex.util.DOMStreamReader
-
getPrefix
- Specified by:
getPrefix
in interfaceXMLStreamReader
- Overrides:
getPrefix
in classorg.jvnet.staxex.util.DOMStreamReader
-
getVersion
- Specified by:
getVersion
in interfaceXMLStreamReader
- Overrides:
getVersion
in classorg.jvnet.staxex.util.DOMStreamReader
-
isStandalone
public boolean isStandalone()- Specified by:
isStandalone
in interfaceXMLStreamReader
- Overrides:
isStandalone
in classorg.jvnet.staxex.util.DOMStreamReader
-
standaloneSet
public boolean standaloneSet()- Specified by:
standaloneSet
in interfaceXMLStreamReader
- Overrides:
standaloneSet
in classorg.jvnet.staxex.util.DOMStreamReader
-
getCharacterEncodingScheme
- Specified by:
getCharacterEncodingScheme
in interfaceXMLStreamReader
- Overrides:
getCharacterEncodingScheme
in classorg.jvnet.staxex.util.DOMStreamReader
-
getPITarget
- Specified by:
getPITarget
in interfaceXMLStreamReader
- Overrides:
getPITarget
in classorg.jvnet.staxex.util.DOMStreamReader
-
getPIData
- Specified by:
getPIData
in interfaceXMLStreamReader
- Overrides:
getPIData
in classorg.jvnet.staxex.util.DOMStreamReader
-