1 /* Copyright (c) 2002,2003, Stefan Haustein, Oberhausen, Rhld., Germany
2  *
3  * Permission is hereby granted, free of charge, to any person obtaining a copy
4  * of this software and associated documentation files (the "Software"), to deal
5  * in the Software without restriction, including without limitation the rights
6  * to use, copy, modify, merge, publish, distribute, sublicense, and/or
7  * sell copies of the Software, and to permit persons to whom the Software is
8  * furnished to do so, subject to the following conditions:
9  *
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 com.android.exchange.adapter;
22 
23 
24 /** contains the WBXML constants  */
25 
26 
27 public interface Wbxml {
28 
29     static public final int SWITCH_PAGE = 0;
30     static public final int END = 1;
31     static public final int ENTITY = 2;
32     static public final int STR_I = 3;
33     static public final int LITERAL = 4;
34     static public final int EXT_I_0 = 0x40;
35     static public final int EXT_I_1 = 0x41;
36     static public final int EXT_I_2 = 0x42;
37     static public final int PI = 0x43;
38     static public final int LITERAL_C = 0x44;
39     static public final int EXT_T_0 = 0x80;
40     static public final int EXT_T_1 = 0x81;
41     static public final int EXT_T_2 = 0x82;
42     static public final int STR_T = 0x83;
43     static public final int LITERAL_A = 0x084;
44     static public final int EXT_0 = 0x0c0;
45     static public final int EXT_1 = 0x0c1;
46     static public final int EXT_2 = 0x0c2;
47     static public final int OPAQUE = 0x0c3;
48     static public final int LITERAL_AC = 0x0c4;
49 
50     static public final int WITH_ATTRIBUTES = 0x80;
51     static public final int WITH_CONTENT = 0x40;
52 }
53