|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.trantor.wap.WbxmlParser
A SAX-based parser for the WAP Binary XML Content Format (WBXML).
This parser does not implement org.xml.sax.Parser in order to avoid some overhead that would probably overfloat the KVM. However, the most important interface, DocumentHandler, is supported.
For full org.sax.Parser compatibility please use this class in conjunciton with the wrapper class SaxWrapper.
Still Todo:
Constructor Summary | |
WbxmlParser()
|
Method Summary | |
void |
parse(java.io.InputStream in)
|
org.xml.sax.AttributeList |
readAttr()
|
void |
setAttrStartTable(int page,
java.lang.String[] attrStartTable)
Sets the attribute start Table for a given page. |
void |
setAttrValueTable(int page,
java.lang.String[] attrStartTable)
Sets the attribute value Table for a given page. |
void |
setDocumentHandler(org.xml.sax.DocumentHandler dh)
sets DocumentHandler. |
void |
setTagTable(int page,
java.lang.String[] tagTable)
Sets the tag table for a given page. |
void |
setWbxmlExtensionHandler(WbxmlExtensionHandler eh)
registers a handler for Wap XML extensions |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public WbxmlParser()
Method Detail |
public void setTagTable(int page, java.lang.String[] tagTable)
public void setAttrStartTable(int page, java.lang.String[] attrStartTable)
public void setAttrValueTable(int page, java.lang.String[] attrStartTable)
public void setDocumentHandler(org.xml.sax.DocumentHandler dh)
public void setWbxmlExtensionHandler(WbxmlExtensionHandler eh)
public void parse(java.io.InputStream in) throws org.xml.sax.SAXException, java.io.IOException
public org.xml.sax.AttributeList readAttr() throws org.xml.sax.SAXException, java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |