XMLPullParser.java
(C) Copyright IBM Corp. 2005, 2009
THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
You can obtain a current copy of the Eclipse Public License from
http://www.opensource.org/licenses/eclipse-1.0.php
ATTRIBUTE
public static final int ATTRIBUTE
CDATA
public static final int CDATA
CHARACTERS
public static final int CHARACTERS
COMMENT
public static final int COMMENT
DTD
public static final int DTD
EMPTY
public static final String EMPTY
END_DOCUMENT
public static final int END_DOCUMENT
END_ELEMENT
public static final int END_ELEMENT
ENTITY_DECLARATION
public static final int ENTITY_DECLARATION
ENTITY_REFERENCE
public static final int ENTITY_REFERENCE
NAMESPACE
public static final int NAMESPACE
NOTATION_DECLARATION
public static final int NOTATION_DECLARATION
PROCESSING_INSTRUCTION
public static final int PROCESSING_INSTRUCTION
SPACE
public static final int SPACE
START_DOCUMENT
public static final int START_DOCUMENT
START_ELEMENT
public static final int START_ELEMENT
_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 String escape(char ch)
getAttributes
public Attributes getAttributes()
getChar
protected int getChar()
throws IOException
getElementName
public String getElementName()
getElementNames
public Vector getElementNames()
getLevel
public int getLevel()
getNextChar
protected int getNextChar()
throws IOException
getNextCharCheckingEOF
protected int getNextCharCheckingEOF()
throws IOException
getText
public String getText()
goBack
protected void goBack()
hasNext
public boolean hasNext()
isSpace
protected boolean isSpace(char ch)
isValidElementNameChar
protected boolean isValidElementNameChar(char ch)
isValidStartElementNameChar
protected boolean isValidStartElementNameChar(char ch)
main
public static void main(String[] args)
next
public int next()
throws IOException
parseAttribute
protected void parseAttribute(char ch)
throws IOException
parseCDATA
protected int parseCDATA()
throws IOException
parseComment
protected int parseComment()
throws IOException
parseEndElement
protected void parseEndElement()
throws IOException
parsePI
protected int parsePI()
throws IOException
parseReference
protected int parseReference()
throws IOException
parseStartElement
protected int parseStartElement(char ch)
throws IOException
parseUnknown
protected void parseUnknown()
throws IOException
resetAttributes
protected void resetAttributes()
skipOptionalSpaces
protected char skipOptionalSpaces(char ch)
throws IOException
skipRequiredSpaces
protected char skipRequiredSpaces(char ch)
throws IOException
toString
public String toString()