de.trantor.wap
Class WmlParser

java.lang.Object
  |
  +--de.trantor.wap.WbxmlParser
        |
        +--de.trantor.wap.WmlParser

public class WmlParser
extends WbxmlParser
implements WbxmlExtensionHandler

A parser for WML built on top of the WbxmlParser by setting the corresponding TagTable, AttrStartTable and AttrValueTable defined in the class Wml


Constructor Summary
WmlParser()
           
 
Method Summary
 void ext_i(int id, java.lang.String par)
          called when EXT_I_0, EXT_I_1, or EXT_I_2 is detected in the document
 void ext_t(int id, int par)
          called when EXT_I_0, EXT_I_1, or EXT_I_2 is detected in the document
 void ext(int id)
          called when EXT_T_0, EXT_T_1, or EXT_T_2 is detected in the document
 void opaque(byte[] bytes)
          called when the OPAQUE token is detected in the document
 
Methods inherited from class de.trantor.wap.WbxmlParser
parse, readAttr, setAttrStartTable, setAttrValueTable, setDocumentHandler, setTagTable, setWbxmlExtensionHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WmlParser

public WmlParser()
Method Detail

ext_i

public void ext_i(int id,
                  java.lang.String par)
           throws org.xml.sax.SAXException
Description copied from interface: WbxmlExtensionHandler
called when EXT_I_0, EXT_I_1, or EXT_I_2 is detected in the document
Specified by:
ext_i in interface WbxmlExtensionHandler

ext_t

public void ext_t(int id,
                  int par)
           throws org.xml.sax.SAXException
Description copied from interface: WbxmlExtensionHandler
called when EXT_I_0, EXT_I_1, or EXT_I_2 is detected in the document
Specified by:
ext_t in interface WbxmlExtensionHandler

opaque

public void opaque(byte[] bytes)
            throws org.xml.sax.SAXException
Description copied from interface: WbxmlExtensionHandler
called when the OPAQUE token is detected in the document
Specified by:
opaque in interface WbxmlExtensionHandler

ext

public void ext(int id)
         throws org.xml.sax.SAXException
Description copied from interface: WbxmlExtensionHandler
called when EXT_T_0, EXT_T_1, or EXT_T_2 is detected in the document
Specified by:
ext in interface WbxmlExtensionHandler