⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 legacyevent.java

📁 J2ME核心类及MIDlet类 MIDP用户界面对象 图形处理及低级事件处理 多线程编程 I/O及网络编程 数据库RMS编程 浮点数编程 多媒体及GAME API编程 安全、加密及
💻 JAVA
字号:
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;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -