public class XMLPullParser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ATTRIBUTE |
static int |
CDATA |
static int |
CHARACTERS |
static int |
COMMENT |
static int |
DTD |
static java.lang.String |
EMPTY |
static int |
END_DOCUMENT |
static int |
END_ELEMENT |
static int |
ENTITY_DECLARATION |
static int |
ENTITY_REFERENCE |
static int |
NAMESPACE |
static int |
NOTATION_DECLARATION |
static int |
PROCESSING_INSTRUCTION |
static int |
SPACE |
static int |
START_DOCUMENT |
static int |
START_ELEMENT |
Constructor and Description |
---|
XMLPullParser(java.io.Reader in) |
Modifier and Type | Method and Description |
---|---|
protected char |
_getNextChar() |
protected void |
addAttribute(int begName,
int lenName,
int begValue,
int lenValue,
int hashname,
int hashvalue) |
void |
close() |
protected void |
ensureCapacity() |
protected java.lang.String |
escape(char ch) |
org.xml.sax.Attributes |
getAttributes() |
protected int |
getChar() |
java.lang.String |
getElementName() |
java.util.Vector |
getElementNames() |
int |
getLevel() |
protected int |
getNextChar() |
protected int |
getNextCharCheckingEOF() |
java.lang.String |
getText() |
protected void |
goBack() |
boolean |
hasNext() |
protected boolean |
isSpace(char ch) |
protected boolean |
isValidElementNameChar(char ch) |
protected boolean |
isValidStartElementNameChar(char ch) |
static void |
main(java.lang.String[] args) |
int |
next() |
static boolean |
next(XMLPullParser reader,
XMLDefaultHandlerImpl parserHdlr) |
protected void |
parseAttribute(char ch) |
protected int |
parseCDATA() |
protected int |
parseComment() |
protected void |
parseEndElement() |
protected int |
parsePI() |
protected int |
parseReference() |
protected int |
parseStartElement(char ch) |
protected void |
parseUnknown() |
void |
reset() |
protected void |
resetAttributes() |
protected char |
skipOptionalSpaces(char ch) |
protected char |
skipRequiredSpaces(char ch) |
java.lang.String |
toString() |
public static final int ATTRIBUTE
public static final int CDATA
public static final int CHARACTERS
public static final int COMMENT
public static final int DTD
public static final java.lang.String EMPTY
public static final int END_DOCUMENT
public static final int END_ELEMENT
public static final int ENTITY_DECLARATION
public static final int ENTITY_REFERENCE
public static final int NAMESPACE
public static final int NOTATION_DECLARATION
public static final int PROCESSING_INSTRUCTION
public static final int SPACE
public static final int START_DOCUMENT
public static final int START_ELEMENT
public static void main(java.lang.String[] args)
public static boolean next(XMLPullParser reader, XMLDefaultHandlerImpl parserHdlr) throws java.lang.Exception
java.lang.Exception
public void close()
public org.xml.sax.Attributes getAttributes()
public java.lang.String getElementName()
public java.util.Vector getElementNames()
public int getLevel()
public java.lang.String getText()
public boolean hasNext()
public int next() throws java.io.IOException
java.io.IOException
public void reset()
public java.lang.String toString()
toString
in class java.lang.Object
protected char _getNextChar()
protected void addAttribute(int begName, int lenName, int begValue, int lenValue, int hashname, int hashvalue)
protected void ensureCapacity()
protected java.lang.String escape(char ch)
protected int getChar() throws java.io.IOException
java.io.IOException
protected int getNextChar() throws java.io.IOException
java.io.IOException
protected int getNextCharCheckingEOF() throws java.io.IOException
java.io.IOException
protected void goBack()
protected boolean isSpace(char ch)
protected boolean isValidElementNameChar(char ch)
protected boolean isValidStartElementNameChar(char ch)
protected void parseAttribute(char ch) throws java.io.IOException
java.io.IOException
protected int parseCDATA() throws java.io.IOException
java.io.IOException
protected int parseComment() throws java.io.IOException
java.io.IOException
protected void parseEndElement() throws java.io.IOException
java.io.IOException
protected int parsePI() throws java.io.IOException
java.io.IOException
protected int parseReference() throws java.io.IOException
java.io.IOException
protected int parseStartElement(char ch) throws java.io.IOException
java.io.IOException
protected void parseUnknown() throws java.io.IOException
java.io.IOException
protected void resetAttributes()
protected char skipOptionalSpaces(char ch) throws java.io.IOException
java.io.IOException
protected char skipRequiredSpaces(char ch) throws java.io.IOException
java.io.IOException
Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.