J2ME核心类及MIDlet类 MIDP用户界面对象 图形处理及低级事件处理 多线程编程 I/O及网络编程 数据库RMS编程 浮点数编程 多媒体及GAME API编程 安全、加密及

源代码在线查看: wapextensionevent.java

软件大小: 3868 K
上传用户: lingyun579
关键词: MIDlet J2ME GAME MIDP
下载地址: 免注册下载 普通下载 VIP

相关代码

				package org.kxml.wap;								import org.kxml.*;				import org.kxml.parser.*;												public class WapExtensionEvent extends ParseEvent {								    int id;				    Object content;									    public WapExtensionEvent (int id, Object content) {					this.id = id;					this.content = content;				    }												    public boolean endCheck (StartTag start) {					return false;				    }												    /** returns Xml.WAP_EXTENSION */				    				    public int getType () {					return Xml.WAP_EXTENSION;				    }								    /** returns the id of the WAP extendsion, one of Wbxml.EXT_0,					Wbxml.EXT_1, Wbxml.EXT_2, Wbxml.EXT_T_0, Wbxml.EXT_T_1,					Wbxml.EXT_T_2, Wbxml.EXT_I_0, Wbxml.EXT_I_1, Wbxml.EXT_I_2, or					Wbxml.OPAQUE. */								    public int getId () {					return id;				    }												    /** returns the content of the wap extension. The class					depends on the type of the extension. null for EXT_0..EXT_2,					String for EXT_I_0..EXT_I_2, Integer for EXT_T_0..EXT_T_2,					byte [] for OPAQUE. */								    public Object getContent () {					return content;				    }				}							

相关资源