org.apache.axis2.clientapi
Class StreamWrapper

java.lang.Object
  extended byorg.apache.axis2.clientapi.StreamWrapper

public class StreamWrapper
extends java.lang.Object


Constructor Summary
StreamWrapper(XMLStreamReader realReader)
           
 
Method Summary
 void close()
           
 int getAttributeCount()
           
 java.lang.String getAttributeLocalName(int i)
           
 javax.xml.namespace.QName getAttributeName(int i)
           
 java.lang.String getAttributeNamespace(int i)
           
 java.lang.String getAttributePrefix(int i)
           
 java.lang.String getAttributeType(int i)
           
 java.lang.String getAttributeValue(int i)
           
 java.lang.String getAttributeValue(java.lang.String s, java.lang.String s1)
           
 java.lang.String getCharacterEncodingScheme()
           
 java.lang.String getElementText()
           
 java.lang.String getEncoding()
           
 int getEventType()
           
 java.lang.String getLocalName()
           
 Location getLocation()
           
 javax.xml.namespace.QName getName()
           
 NamespaceContext getNamespaceContext()
           
 int getNamespaceCount()
           
 java.lang.String getNamespacePrefix(int i)
           
 java.lang.String getNamespaceURI()
           
 java.lang.String getNamespaceURI(int i)
           
 java.lang.String getNamespaceURI(java.lang.String s)
           
 java.lang.String getPIData()
           
 java.lang.String getPITarget()
           
 java.lang.String getPrefix()
           
 java.lang.Object getProperty(java.lang.String s)
           
 java.lang.String getText()
           
 char[] getTextCharacters()
           
 int getTextCharacters(int i, char[] chars, int i1, int i2)
           
 int getTextLength()
           
 int getTextStart()
           
 java.lang.String getVersion()
           
 boolean hasName()
           
 boolean hasNext()
           
 boolean hasText()
           
 boolean isAttributeSpecified(int i)
           
 boolean isCharacters()
           
 boolean isEndElement()
           
 boolean isStandalone()
           
 boolean isStartElement()
           
 boolean isWhiteSpace()
           
 int next()
           
 int nextTag()
           
 void require(int i, java.lang.String s, java.lang.String s1)
           
 boolean standaloneSet()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamWrapper

public StreamWrapper(XMLStreamReader realReader)
Method Detail

getProperty

public java.lang.Object getProperty(java.lang.String s)
                             throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

next

public int next()
         throws XMLStreamException
Throws:
XMLStreamException

require

public void require(int i,
                    java.lang.String s,
                    java.lang.String s1)
             throws XMLStreamException
Throws:
XMLStreamException

getElementText

public java.lang.String getElementText()
                                throws XMLStreamException
Throws:
XMLStreamException

nextTag

public int nextTag()
            throws XMLStreamException
Throws:
XMLStreamException

hasNext

public boolean hasNext()
                throws XMLStreamException
Throws:
XMLStreamException

close

public void close()
           throws XMLStreamException
Throws:
XMLStreamException

getNamespaceURI

public java.lang.String getNamespaceURI(java.lang.String s)

isStartElement

public boolean isStartElement()

isEndElement

public boolean isEndElement()

isCharacters

public boolean isCharacters()

isWhiteSpace

public boolean isWhiteSpace()

getAttributeValue

public java.lang.String getAttributeValue(java.lang.String s,
                                          java.lang.String s1)

getAttributeCount

public int getAttributeCount()

getAttributeName

public javax.xml.namespace.QName getAttributeName(int i)

getAttributeNamespace

public java.lang.String getAttributeNamespace(int i)

getAttributeLocalName

public java.lang.String getAttributeLocalName(int i)

getAttributePrefix

public java.lang.String getAttributePrefix(int i)

getAttributeType

public java.lang.String getAttributeType(int i)

getAttributeValue

public java.lang.String getAttributeValue(int i)

isAttributeSpecified

public boolean isAttributeSpecified(int i)

getNamespaceCount

public int getNamespaceCount()

getNamespacePrefix

public java.lang.String getNamespacePrefix(int i)

getNamespaceURI

public java.lang.String getNamespaceURI(int i)

getNamespaceContext

public NamespaceContext getNamespaceContext()

getEventType

public int getEventType()

getText

public java.lang.String getText()

getTextCharacters

public char[] getTextCharacters()

getTextCharacters

public int getTextCharacters(int i,
                             char[] chars,
                             int i1,
                             int i2)
                      throws XMLStreamException
Throws:
XMLStreamException

getTextStart

public int getTextStart()

getTextLength

public int getTextLength()

getEncoding

public java.lang.String getEncoding()

hasText

public boolean hasText()

getLocation

public Location getLocation()

getName

public javax.xml.namespace.QName getName()

getLocalName

public java.lang.String getLocalName()

hasName

public boolean hasName()

getNamespaceURI

public java.lang.String getNamespaceURI()

getPrefix

public java.lang.String getPrefix()

getVersion

public java.lang.String getVersion()

isStandalone

public boolean isStandalone()

standaloneSet

public boolean standaloneSet()

getCharacterEncodingScheme

public java.lang.String getCharacterEncodingScheme()

getPITarget

public java.lang.String getPITarget()

getPIData

public java.lang.String getPIData()