一个即时消息系统的源码(J2ME编程部分)。

源代码在线查看: legacyevent.java

软件大小: 27 K
上传用户: zln12345
关键词: J2ME 即时消息
下载地址: 免注册下载 普通下载 VIP

相关代码

				package org.kxml.parser;
				
				
				/** Event class for processing instructions, doctype declarations and comments */
				
				public class LegacyEvent extends ParseEvent {
				
				    int type;
				    String text;
				
				    /** creates a new LegacyEvent with the given type and string content */
				
				    public LegacyEvent (int type, String text) {
					this.type = type;
					this.text = text;
				    }
				
				
				    /** returns the type of the sgml-legacy event,
				        PROCESSING_INSTRUCTION, ENTITY_DECLARATION, or COMMENT */ 
				
				    public int getType () {
					return type;
				    }
				
						  
				      /** returns always false.  */
				
				    public boolean endCheck (StartTag start) {
					return false;
				    }
				  
				
				    /** returns the string content of the legacy event */
				
				    public String getText () {
					return text;
				    }
				}
							

相关资源