org.kxml2.wap
Class WbxmlParser
public
class
WbxmlParser
extends Object
implements XmlPullParser
Method Summary |
void | defineEntityReplacementText(String entity, String value) |
int | getAttributeCount() |
String | getAttributeName(int index) |
String | getAttributeNamespace(int index) |
String | getAttributePrefix(int index) |
String | getAttributeType(int index) |
String | getAttributeValue(int index) |
String | getAttributeValue(String namespace, String name) |
int | getColumnNumber() |
int | getDepth() |
int | getEventType() |
boolean | getFeature(String feature) |
String | getInputEncoding() |
int | getLineNumber() |
String | getName() |
String | getNamespace(String prefix) |
String | getNamespace() |
int | getNamespaceCount(int depth) |
String | getNamespacePrefix(int pos) |
String | getNamespaceUri(int pos) |
String | getPositionDescription() |
String | getPrefix() |
Object | getProperty(String property) |
String | getText() |
char[] | getTextCharacters(int[] poslen) |
boolean | isAttributeDefault(int index) |
boolean | isEmptyElementTag() |
boolean | isWhitespace() |
int | next() |
int | nextTag() |
String | nextText() |
int | nextToken() |
void | parseWapExtension(int id) |
void | readAttr() |
void | require(int type, String namespace, String name) |
void | setAttrStartTable(int page, String[] table) Sets the attribute start Table for a given page.
|
void | setAttrValueTable(int page, String[] table) Sets the attribute value Table for a given page.
|
void | setFeature(String feature, boolean value) |
void | setInput(Reader reader) |
void | setInput(InputStream in, String enc) |
void | setProperty(String property, Object value) |
void | setTagTable(int page, String[] table)
Sets the tag table for a given page.
|
public static final int WAP_EXTENSION
public void defineEntityReplacementText(String entity, String value)
public int getAttributeCount()
public String getAttributeName(int index)
public String getAttributeNamespace(int index)
public String getAttributePrefix(int index)
public String getAttributeType(int index)
public String getAttributeValue(int index)
public String getAttributeValue(String namespace, String name)
public int getColumnNumber()
public int getDepth()
public int getEventType()
public boolean getFeature(String feature)
public String getInputEncoding()
public int getLineNumber()
public String getName()
public String getNamespace(String prefix)
public String getNamespace()
public int getNamespaceCount(int depth)
public String getNamespacePrefix(int pos)
public String getNamespaceUri(int pos)
public String getPositionDescription()
public String getPrefix()
public Object getProperty(String property)
public String getText()
public char[] getTextCharacters(int[] poslen)
public boolean isAttributeDefault(int index)
public boolean isEmptyElementTag()
public boolean isWhitespace()
public int next()
public int nextTag()
public String nextText()
public int nextToken()
public void parseWapExtension(int id)
public void readAttr()
public void require(int type, String namespace, String name)
public void setAttrStartTable(int page, String[] table)
Sets the attribute start Table for a given page.
The first string in the array defines attribute
5, the second attribute 6 etc. Please use the
character '=' (without quote!) as delimiter
between the attribute name and the (start of the) value
public void setAttrValueTable(int page, String[] table)
Sets the attribute value Table for a given page.
The first string in the array defines attribute value 0x85,
the second attribute value 0x86 etc.
public void setFeature(String feature, boolean value)
public void setInput(Reader reader)
public void setInput(InputStream in, String enc)
public void setProperty(String property, Object value)
public void setTagTable(int page, String[] table)
Sets the tag table for a given page.
The first string in the array defines tag 5, the second tag 6 etc.