| java.lang.Object org.kxml2.wap.WbxmlParser
WbxmlParser | public class WbxmlParser implements XmlPullParser(Code) | | |
Method Summary | |
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 int | getWapCode() Returns the token ID for start tags or the event type for wap proprietary events
such as OPAQUE. | public Object | getWapExtensionData() | public boolean | isAttributeDefault(int index) | public boolean | isEmptyElementTag() | public boolean | isWhitespace() | public int | next() | public int | nextTag() | public String | nextText() | public int | nextToken() | void | parseElement(int id) | public Object | parseWapExtension(int id) | public void | readAttr() | int | readByte() | int | readInt() | String | readStrI() | String | readStrT() | public void | require(int type, String namespace, String name) | String | resolveId(String[] tab, int id) | protected String | resolveWapExtension(int id, Object data) | 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. | public void | setAttrValueTable(int page, String[] table) Sets the attribute value Table for a given page. | 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. |
WAP_EXTENSION | final public static int WAP_EXTENSION(Code) | | Parser event type for Wbxml-specific events. The Wbxml event code can be
accessed with getWapCode()
|
defineEntityReplacementText | public void defineEntityReplacementText(String entity, String value) throws XmlPullParserException(Code) | | |
getAttributeCount | public int getAttributeCount()(Code) | | |
getAttributeName | public String getAttributeName(int index)(Code) | | |
getAttributeNamespace | public String getAttributeNamespace(int index)(Code) | | |
getAttributePrefix | public String getAttributePrefix(int index)(Code) | | |
getAttributeType | public String getAttributeType(int index)(Code) | | |
getAttributeValue | public String getAttributeValue(int index)(Code) | | |
getColumnNumber | public int getColumnNumber()(Code) | | |
getDepth | public int getDepth()(Code) | | |
getEventType | public int getEventType() throws XmlPullParserException(Code) | | |
getLineNumber | public int getLineNumber()(Code) | | |
getNamespaceCount | public int getNamespaceCount(int depth)(Code) | | |
getNamespacePrefix | public String getNamespacePrefix(int pos)(Code) | | |
getPositionDescription | public String getPositionDescription()(Code) | | |
getTextCharacters | public char[] getTextCharacters(int[] poslen)(Code) | | |
getWapCode | public int getWapCode()(Code) | | Returns the token ID for start tags or the event type for wap proprietary events
such as OPAQUE.
|
getWapExtensionData | public Object getWapExtensionData()(Code) | | |
isAttributeDefault | public boolean isAttributeDefault(int index)(Code) | | |
isEmptyElementTag | public boolean isEmptyElementTag() throws XmlPullParserException(Code) | | |
isWhitespace | public boolean isWhitespace() throws XmlPullParserException(Code) | | |
parseElement | void parseElement(int id) throws IOException, XmlPullParserException(Code) | | |
parseWapExtension | public Object parseWapExtension(int id) throws IOException, XmlPullParserException(Code) | | Overwrite this method to intercept all wap events
|
resolveWapExtension | protected String resolveWapExtension(int id, Object data)(Code) | | overwrite for own WAP extension handling in attributes and high level parsing
(above nextToken() level)
|
setAttrStartTable | public void setAttrStartTable(int page, String[] table)(Code) | | 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
|
setAttrValueTable | public void setAttrValueTable(int page, String[] table)(Code) | | 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.
|
setFeature | public void setFeature(String feature, boolean value) throws XmlPullParserException(Code) | | |
setInput | public void setInput(Reader reader) throws XmlPullParserException(Code) | | |
setProperty | public void setProperty(String property, Object value) throws XmlPullParserException(Code) | | |
setTagTable | public void setTagTable(int page, String[] table)(Code) | | Sets the tag table for a given page.
The first string in the array defines tag 5, the second tag 6 etc.
|
|
|