org.codehaus.xfire.xmpp
Class XmlPullStreamReader

java.lang.Object
  extended by org.codehaus.xfire.xmpp.XmlPullStreamReader

public class XmlPullStreamReader
extends java.lang.Object


Constructor Summary
XmlPullStreamReader(XmlPullParser parser)
           
 
Method Summary
 void close()
           
 int getAttributeCount()
           
 java.lang.String getAttributeLocalName(int index)
           
 javax.xml.namespace.QName getAttributeName(int index)
           
 java.lang.String getAttributeNamespace(int index)
           
 java.lang.String getAttributePrefix(int index)
           
 java.lang.String getAttributeType(int index)
           
 java.lang.String getAttributeValue(int index)
           
 java.lang.String getAttributeValue(java.lang.String ns, java.lang.String local)
           
 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()
           
 javax.xml.namespace.NamespaceContext getNamespaceContext()
           
 int getNamespaceCount()
           
 java.lang.String getNamespacePrefix(int index)
           
 java.lang.String getNamespaceURI()
           
 java.lang.String getNamespaceURI(int index)
           
 java.lang.String getNamespaceURI(java.lang.String prefix)
           
 java.lang.String getPIData()
           
 java.lang.String getPITarget()
           
 java.lang.String getPrefix()
           
 java.lang.Object getProperty(java.lang.String name)
           
 java.lang.String getText()
           
 char[] getTextCharacters()
           
 int getTextCharacters(int start, char[] target, int sourceStart, int length)
           
 int getTextLength()
           
 int getTextStart()
           
 java.lang.String getVersion()
           
 boolean hasName()
           
 boolean hasNext()
           
 boolean hasText()
           
 boolean isAttributeSpecified(int index)
           
 boolean isCharacters()
           
 boolean isEndElement()
           
 boolean isStandalone()
           
 boolean isStartElement()
           
 boolean isWhiteSpace()
           
 int next()
           
 int nextTag()
           
 void require(int index, java.lang.String ns, java.lang.String local)
           
 boolean standaloneSet()
           
protected  int xmlpullToStaxEvent(int xpe)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlPullStreamReader

public XmlPullStreamReader(XmlPullParser parser)
Method Detail

close

public void close()
           throws XMLStreamException
Throws:
XMLStreamException

getAttributeCount

public int getAttributeCount()

getAttributeLocalName

public java.lang.String getAttributeLocalName(int index)

getAttributeName

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

getAttributeNamespace

public java.lang.String getAttributeNamespace(int index)

getAttributePrefix

public java.lang.String getAttributePrefix(int index)

getAttributeType

public java.lang.String getAttributeType(int index)

getAttributeValue

public java.lang.String getAttributeValue(int index)

getAttributeValue

public java.lang.String getAttributeValue(java.lang.String ns,
                                          java.lang.String local)

getCharacterEncodingScheme

public java.lang.String getCharacterEncodingScheme()

getElementText

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

getEncoding

public java.lang.String getEncoding()

getEventType

public int getEventType()

getLocalName

public java.lang.String getLocalName()

getLocation

public Location getLocation()

getName

public javax.xml.namespace.QName getName()

getNamespaceContext

public javax.xml.namespace.NamespaceContext getNamespaceContext()

getNamespaceCount

public int getNamespaceCount()

getNamespacePrefix

public java.lang.String getNamespacePrefix(int index)

getNamespaceURI

public java.lang.String getNamespaceURI()

getNamespaceURI

public java.lang.String getNamespaceURI(int index)

getNamespaceURI

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

getPIData

public java.lang.String getPIData()

getPITarget

public java.lang.String getPITarget()

getPrefix

public java.lang.String getPrefix()

getProperty

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

getText

public java.lang.String getText()

getTextCharacters

public char[] getTextCharacters()

getTextCharacters

public int getTextCharacters(int start,
                             char[] target,
                             int sourceStart,
                             int length)
                      throws XMLStreamException
Throws:
XMLStreamException

getTextLength

public int getTextLength()

getTextStart

public int getTextStart()

getVersion

public java.lang.String getVersion()

hasName

public boolean hasName()

hasNext

public boolean hasNext()
                throws XMLStreamException
Throws:
XMLStreamException

hasText

public boolean hasText()

isAttributeSpecified

public boolean isAttributeSpecified(int index)

isCharacters

public boolean isCharacters()

isEndElement

public boolean isEndElement()

isStandalone

public boolean isStandalone()

isStartElement

public boolean isStartElement()

isWhiteSpace

public boolean isWhiteSpace()

next

public int next()
         throws XMLStreamException
Throws:
XMLStreamException

xmlpullToStaxEvent

protected int xmlpullToStaxEvent(int xpe)

nextTag

public int nextTag()
            throws XMLStreamException
Throws:
XMLStreamException

require

public void require(int index,
                    java.lang.String ns,
                    java.lang.String local)
             throws XMLStreamException
Throws:
XMLStreamException

standaloneSet

public boolean standaloneSet()


Copyright © 2004-2006 Envoi Solutions LLC. All Rights Reserved.