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

📄 wbxml.java

📁 一个用 java写的wap浏览器 对于浏览器感兴趣起的可以看看咯
💻 JAVA
字号:
/*
 * j2wap is distributed under the terms of the GNU Public License
 *
 *  j2wap was written by:
 *
 *	        Scott Campbell
 *			Michael Nordling
 *			Karl Maftoum
 * 			Julian Bright
 *
 *			This was a final project for Comp.Engineering at the University of Canberra, Australia
 *
 *			Now released as Open Source software. 28 November 2000
 *
 *			Email: k_maftoum@hotmail.com for more info
 *
 *			Use entirely at your own risk.
 */
package wae;

/**
 * Title:       Wbxml
 * Description: A class which defines WBXML constants.
 * Company:     J2wap.com
 * @author      Scott Campbell
 * @version     1.1
 */
public class Wbxml
{
  // WBXML constants
  static public final byte SWITCH_PAGE  = (byte) 0;
  static public final byte END          = (byte) 1;
  static public final byte ENTITY       = (byte) 2;
  static public final byte STR_I        = (byte) 3;
  static public final byte LITERAL      = (byte) 4;
  static public final byte EXT_I_0      = (byte) 0x40;
  static public final byte EXT_I_1      = (byte) 0x41;
  static public final byte EXT_I_2      = (byte) 0x42;
  static public final byte PI           = (byte) 0x43;
  static public final byte LITERAL_C    = (byte) 0x44;
  static public final byte EXT_T_0      = (byte) 0x80;
  static public final byte EXT_T_1      = (byte) 0x81;
  static public final byte EXT_T_2      = (byte) 0x82;
  static public final byte STR_T        = (byte) 0x83;
  static public final byte LITERAL_A    = (byte) 0x084;
  static public final byte EXT_0        = (byte) 0x0c0;
  static public final byte EXT_1        = (byte) 0x0c1;
  static public final byte EXT_2        = (byte) 0x0c2;
  static public final byte OPAQUE       = (byte) 0x0c3;
  static public final byte LITERAL_AC   = (byte) 0x0c4;

  // Other constants
  static public final byte  ELEMENT         = (byte) 1;
  static public final byte  ATTRIBUTE_START = (byte) 3;
  static public final byte  ATTRIBUTE_VALUE = (byte) 4;
  static public final byte  INVALID_BYTE    = (byte) 0xFF;
  static public final byte  ELEMENT_TAG_ID  = (byte) 0x3F;
  static public final byte  ATTRSTART_NAME  = (byte) 0x21;
} // class Wbxml

⌨️ 快捷键说明

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