Class StaxXmlPullParser

java.lang.Object
org.jivesoftware.smack.xml.stax.StaxXmlPullParser
All Implemented Interfaces:
org.jivesoftware.smack.xml.XmlPullParser

public final class StaxXmlPullParser extends Object implements org.jivesoftware.smack.xml.XmlPullParser
  • Method Details

    • getProperty

      public Object getProperty(String name)
      Specified by:
      getProperty in interface org.jivesoftware.smack.xml.XmlPullParser
    • getInputEncoding

      public String getInputEncoding()
      Specified by:
      getInputEncoding in interface org.jivesoftware.smack.xml.XmlPullParser
    • getNamespaceCount

      public int getNamespaceCount()
      Specified by:
      getNamespaceCount in interface org.jivesoftware.smack.xml.XmlPullParser
    • getNamespacePrefix

      public String getNamespacePrefix(int pos)
      Specified by:
      getNamespacePrefix in interface org.jivesoftware.smack.xml.XmlPullParser
    • getNamespaceUri

      public String getNamespaceUri(int pos)
      Specified by:
      getNamespaceUri in interface org.jivesoftware.smack.xml.XmlPullParser
    • getNamespace

      public String getNamespace(String prefix)
      Specified by:
      getNamespace in interface org.jivesoftware.smack.xml.XmlPullParser
    • getNamespace

      public String getNamespace()
      Specified by:
      getNamespace in interface org.jivesoftware.smack.xml.XmlPullParser
    • getDepth

      public int getDepth()
      Specified by:
      getDepth in interface org.jivesoftware.smack.xml.XmlPullParser
    • getPositionDescription

      public String getPositionDescription()
      Specified by:
      getPositionDescription in interface org.jivesoftware.smack.xml.XmlPullParser
    • getLineNumber

      public int getLineNumber()
      Specified by:
      getLineNumber in interface org.jivesoftware.smack.xml.XmlPullParser
    • getColumnNumber

      public int getColumnNumber()
      Specified by:
      getColumnNumber in interface org.jivesoftware.smack.xml.XmlPullParser
    • isWhiteSpace

      public boolean isWhiteSpace()
      Specified by:
      isWhiteSpace in interface org.jivesoftware.smack.xml.XmlPullParser
    • getText

      public String getText()
      Specified by:
      getText in interface org.jivesoftware.smack.xml.XmlPullParser
    • getName

      public String getName()
      Specified by:
      getName in interface org.jivesoftware.smack.xml.XmlPullParser
    • getQName

      public QName getQName()
      Specified by:
      getQName in interface org.jivesoftware.smack.xml.XmlPullParser
    • getPrefix

      public String getPrefix()
      Specified by:
      getPrefix in interface org.jivesoftware.smack.xml.XmlPullParser
    • getAttributeCount

      public int getAttributeCount()
      Specified by:
      getAttributeCount in interface org.jivesoftware.smack.xml.XmlPullParser
    • getAttributeNamespace

      public String getAttributeNamespace(int index)
      Specified by:
      getAttributeNamespace in interface org.jivesoftware.smack.xml.XmlPullParser
    • getAttributeName

      public String getAttributeName(int index)
      Specified by:
      getAttributeName in interface org.jivesoftware.smack.xml.XmlPullParser
    • getAttributeQName

      public QName getAttributeQName(int index)
      Specified by:
      getAttributeQName in interface org.jivesoftware.smack.xml.XmlPullParser
    • getAttributePrefix

      public String getAttributePrefix(int index)
      Specified by:
      getAttributePrefix in interface org.jivesoftware.smack.xml.XmlPullParser
    • getAttributeType

      public String getAttributeType(int index)
      Specified by:
      getAttributeType in interface org.jivesoftware.smack.xml.XmlPullParser
    • getAttributeValue

      public String getAttributeValue(int index)
      Specified by:
      getAttributeValue in interface org.jivesoftware.smack.xml.XmlPullParser
    • getAttributeValue

      public String getAttributeValue(String namespace, String name)
      Specified by:
      getAttributeValue in interface org.jivesoftware.smack.xml.XmlPullParser
    • getEventType

      public org.jivesoftware.smack.xml.XmlPullParser.Event getEventType()
      Specified by:
      getEventType in interface org.jivesoftware.smack.xml.XmlPullParser
    • next

      public org.jivesoftware.smack.xml.XmlPullParser.Event next() throws org.jivesoftware.smack.xml.XmlPullParserException
      Specified by:
      next in interface org.jivesoftware.smack.xml.XmlPullParser
      Throws:
      org.jivesoftware.smack.xml.XmlPullParserException
    • nextText

      public String nextText() throws IOException, org.jivesoftware.smack.xml.XmlPullParserException
      Specified by:
      nextText in interface org.jivesoftware.smack.xml.XmlPullParser
      Throws:
      IOException
      org.jivesoftware.smack.xml.XmlPullParserException
    • nextTag

      public org.jivesoftware.smack.xml.XmlPullParser.TagEvent nextTag() throws IOException, org.jivesoftware.smack.xml.XmlPullParserException
      Specified by:
      nextTag in interface org.jivesoftware.smack.xml.XmlPullParser
      Throws:
      IOException
      org.jivesoftware.smack.xml.XmlPullParserException
    • supportsRoundtrip

      public boolean supportsRoundtrip()
      Specified by:
      supportsRoundtrip in interface org.jivesoftware.smack.xml.XmlPullParser