01: /* Copyright (c) 2002,2003, Stefan Haustein, Oberhausen, Rhld., Germany
02: *
03: * Permission is hereby granted, free of charge, to any person obtaining a copy
04: * of this software and associated documentation files (the "Software"), to deal
05: * in the Software without restriction, including without limitation the rights
06: * to use, copy, modify, merge, publish, distribute, sublicense, and/or
07: * sell copies of the Software, and to permit persons to whom the Software is
08: * furnished to do so, subject to the following conditions:
09: *
10: * The above copyright notice and this permission notice shall be included in
11: * all copies or substantial portions of the Software.
12: *
13: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18: * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
19: * IN THE SOFTWARE. */
20:
21: package org.kxml2.wap;
22:
23: /** contains the WBXML constants */
24:
25: public interface Wbxml {
26:
27: static public final int SWITCH_PAGE = 0;
28: static public final int END = 1;
29: static public final int ENTITY = 2;
30: static public final int STR_I = 3;
31: static public final int LITERAL = 4;
32: static public final int EXT_I_0 = 0x40;
33: static public final int EXT_I_1 = 0x41;
34: static public final int EXT_I_2 = 0x42;
35: static public final int PI = 0x43;
36: static public final int LITERAL_C = 0x44;
37: static public final int EXT_T_0 = 0x80;
38: static public final int EXT_T_1 = 0x81;
39: static public final int EXT_T_2 = 0x82;
40: static public final int STR_T = 0x83;
41: static public final int LITERAL_A = 0x084;
42: static public final int EXT_0 = 0x0c0;
43: static public final int EXT_1 = 0x0c1;
44: static public final int EXT_2 = 0x0c2;
45: static public final int OPAQUE = 0x0c3;
46: static public final int LITERAL_AC = 0x0c4;
47: }
|