| java.lang.Object org.kxml2.wap.WbxmlSerializer
WbxmlSerializer | public class WbxmlSerializer implements XmlSerializer(Code) | | A class for writing WBXML.
|
Method Summary | |
public XmlSerializer | attribute(String namespace, String name, String value) | public void | cdsect(String cdsect) | public void | checkPending(boolean degenerated) | public void | comment(String comment) | public void | docdecl(String docdecl) | public void | endDocument() | public XmlSerializer | endTag(String namespace, String name) | public void | entityRef(String er) | public void | flush() ATTENTION: flush cannot work since Wbxml documents require
buffering. | public int | getDepth() | public boolean | getFeature(String name) | public String | getName() | public String | getNamespace() | public String | getPrefix(String nsp, boolean create) | public Object | getProperty(String name) | public void | ignorableWhitespace(String sp) | public void | processingInstruction(String pi) | public void | setAttrStartTable(int page, String[] attrStartTable) Sets the attribute start Table for a given page. | public void | setAttrValueTable(int page, String[] attrValueTable) Sets the attribute value Table for a given page. | public void | setFeature(String name, boolean value) | public void | setOutput(Writer writer) | public void | setOutput(OutputStream out, String encoding) | public void | setPrefix(String prefix, String nsp) | public void | setProperty(String property, Object value) | public void | setTagTable(int page, String[] tagTable) Sets the tag table for a given page. | public void | startDocument(String s, Boolean b) | public XmlSerializer | startTag(String namespace, String name) | public XmlSerializer | text(char[] chars, int start, int len) | public XmlSerializer | text(String text) | static void | writeInt(OutputStream out, int i) | void | writeStrI(OutputStream out, String s) | public void | writeWapExtension(int type, Object data) |
flush | public void flush()(Code) | | ATTENTION: flush cannot work since Wbxml documents require
buffering. Thus, this call does nothing.
|
getDepth | public int getDepth()(Code) | | |
ignorableWhitespace | public void ignorableWhitespace(String sp)(Code) | | |
processingInstruction | public void processingInstruction(String pi)(Code) | | |
setAttrStartTable | public void setAttrStartTable(int page, String[] attrStartTable)(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[] attrValueTable)(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 name, boolean value)(Code) | | |
setTagTable | public void setTagTable(int page, String[] tagTable)(Code) | | Sets the tag table for a given page.
The first string in the array defines tag 5, the second tag 6 etc.
|
text | public XmlSerializer text(char[] chars, int start, int len) throws IOException(Code) | | |
|
|