Class XMLPullParser


  • public class XMLPullParser
    extends java.lang.Object
    • Constructor Detail

      • XMLPullParser

        public XMLPullParser​(java.io.Reader in)
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
      • close

        public void close()
      • getAttributes

        public org.xml.sax.Attributes getAttributes()
      • getElementName

        public java.lang.String getElementName()
      • getElementNames

        public java.util.Vector getElementNames()
      • getLevel

        public int getLevel()
      • getText

        public java.lang.String getText()
      • hasNext

        public boolean hasNext()
      • next

        public int next()
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • reset

        public void reset()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • _getNextChar

        protected char _getNextChar()
      • addAttribute

        protected void addAttribute​(int begName,
                                    int lenName,
                                    int begValue,
                                    int lenValue,
                                    int hashname,
                                    int hashvalue)
      • ensureCapacity

        protected void ensureCapacity()
      • escape

        protected java.lang.String escape​(char ch)
      • getChar

        protected int getChar()
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • getNextChar

        protected int getNextChar()
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • getNextCharCheckingEOF

        protected int getNextCharCheckingEOF()
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • goBack

        protected void goBack()
      • isSpace

        protected boolean isSpace​(char ch)
      • isValidElementNameChar

        protected boolean isValidElementNameChar​(char ch)
      • isValidStartElementNameChar

        protected boolean isValidStartElementNameChar​(char ch)
      • parseAttribute

        protected void parseAttribute​(char ch)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseCDATA

        protected int parseCDATA()
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseComment

        protected int parseComment()
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseEndElement

        protected void parseEndElement()
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parsePI

        protected int parsePI()
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseReference

        protected int parseReference()
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • parseStartElement

        protected int parseStartElement​(char ch)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • parseUnknown

        protected void parseUnknown()
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • resetAttributes

        protected void resetAttributes()
      • skipOptionalSpaces

        protected char skipOptionalSpaces​(char ch)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • skipRequiredSpaces

        protected char skipRequiredSpaces​(char ch)
                                   throws java.io.IOException
        Throws:
        java.io.IOException