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

📄 wv.java

📁 KXML一个基于j2me的xml解析器
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
    };
    
    public static final String [] tagTablePage5 = {
        /* Presence Attribute */
        "Accuracy",         //  0x05, 0x05
        "Address",          //  0x05, 0x06
        "AddrPref",         //  0x05, 0x07
        "Alias",            //  0x05, 0x08
        "Altitude",         //  0x05, 0x09
        "Building",         //  0x05, 0x0A
        "Caddr",            //  0x05, 0x0B
        "City",             //  0x05, 0x0C
        "ClientInfo",       //  0x05, 0x0D
        "ClientProducer",   //  0x05, 0x0E
        "ClientType",       //  0x05, 0x0F
        "ClientVersion",    //  0x05, 0x10
        "CommC",            //  0x05, 0x11
        "CommCap",          //  0x05, 0x12
        "ContactInfo",      //  0x05, 0x13
        "ContainedvCard",   //  0x05, 0x14
        "Country",          //  0x05, 0x15
        "Crossing1",        //  0x05, 0x16
        "Crossing2",        //  0x05, 0x17
        "DevManufacturer",  //  0x05, 0x18
        "DirectContent",    //  0x05, 0x19
        "FreeTextLocation", //  0x05, 0x1A
        "GeoLocation",      //  0x05, 0x1B
        "Language",         //  0x05, 0x1C
        "Latitude",         //  0x05, 0x1D
        "Longitude",        //  0x05, 0x1E
        "Model",            //  0x05, 0x1F
        "NamedArea",        //  0x05, 0x20
        "OnlineStatus",     //  0x05, 0x21
        "PLMN",             //  0x05, 0x22
        "PrefC",            //  0x05, 0x23
        "PreferredContacts",//  0x05, 0x24
        "PreferredLanguage",//  0x05, 0x25
        "PreferredContent", //  0x05, 0x26
        "PreferredvCard",   //  0x05, 0x27
        "Registration",     //  0x05, 0x28
        "StatusContent",    //  0x05, 0x29
        "StatusMood",       //  0x05, 0x2A
        "StatusText",       //  0x05, 0x2B
        "Street",           //  0x05, 0x2C
        "TimeZone",         //  0x05, 0x2D
        "UserAvailability", //  0x05, 0x2E
        "Cap",              //  0x05, 0x2F
        "Cname",            //  0x05, 0x30
        "Contact",          //  0x05, 0x31
        "Cpriority",        //  0x05, 0x32
        "Cstatus",          //  0x05, 0x33
        "Note",             //  0x05, 0x34 /* WV 1.2 */
        "Zone",             //  0x05, 0x35
        null,
        "Inf_link",         //  0x05, 0x37 /* WV 1.2 */
        "InfoLink",         //  0x05, 0x38 /* WV 1.2 */
        "Link",             //  0x05, 0x39 /* WV 1.2 */
        "Text",             //  0x05, 0x3A /* WV 1.2 */
    };
    
    public static final String [] tagTablePage6 = {
        /* Messaging */
        "BlockList",                //  0x06, 0x05
//      "BlockUser-Request",        //  0x06, 0x06  //This is a bug in the spec
        "BlockEntity-Request",        //  0x06, 0x06  
        "DeliveryMethod",           //  0x06, 0x07
        "DeliveryReport",           //  0x06, 0x08
        "DeliveryReport-Request",   //  0x06, 0x09
        "ForwardMessage-Request",   //  0x06, 0x0A
        "GetBlockedList-Request",   //  0x06, 0x0B
        "GetBlockedList-Response",  //  0x06, 0x0C
        "GetMessageList-Request",   //  0x06, 0x0D
        "GetMessageList-Response",  //  0x06, 0x0E
        "GetMessage-Request",       //  0x06, 0x0F
        "GetMessage-Response",      //  0x06, 0x10
        "GrantList",                //  0x06, 0x11
        "MessageDelivered",         //  0x06, 0x12
        "MessageInfo",              //  0x06, 0x13
        "MessageNotification",      //  0x06, 0x14
        "NewMessage",               //  0x06, 0x15
        "RejectMessage-Request",    //  0x06, 0x16
        "SendMessage-Request",      //  0x06, 0x17
        "SendMessage-Response",     //  0x06, 0x18
        "SetDeliveryMethod-Request",//  0x06, 0x19
        "DeliveryTime",             //  0x06, 0x1A
    };
    
    public static final String [] tagTablePage7 = {
        /* Group */
        "AddGroupMembers-Request",  //  0x07, 0x05
        "Admin",                    //  0x07, 0x06
        "CreateGroup-Request",      //  0x07, 0x07
        "DeleteGroup-Request",      //  0x07, 0x08
        "GetGroupMembers-Request",  //  0x07, 0x09
        "GetGroupMembers-Response", //  0x07, 0x0A
        "GetGroupProps-Request",    //  0x07, 0x0B
        "GetGroupProps-Response",   //  0x07, 0x0C
        "GroupChangeNotice",        //  0x07, 0x0D
        "GroupProperties",          //  0x07, 0x0E
        "Joined",                   //  0x07, 0x0F
        "JoinedRequest",            //  0x07, 0x10
        "JoinGroup-Request",        //  0x07, 0x11
        "JoinGroup-Response",       //  0x07, 0x12
        "LeaveGroup-Request",       //  0x07, 0x13
        "LeaveGroup-Response",      //  0x07, 0x14
        "Left",                     //  0x07, 0x15
        "MemberAccess-Request",     //  0x07, 0x16
        "Mod",                      //  0x07, 0x17
        "OwnProperties",            //  0x07, 0x18
        "RejectList-Request",       //  0x07, 0x19
        "RejectList-Response",      //  0x07, 0x1A
        "RemoveGroupMembers-Request",// 0x07, 0x1B
        "SetGroupProps-Request",    //  0x07, 0x1C
        "SubscribeGroupNotice-Request", //  0x07, 0x1D
        "SubscribeGroupNotice-Response",//  0x07, 0x1E
        "Users",                    //  0x07, 0x1F
        "WelcomeNote",              //  0x07, 0x20
        "JoinGroup",                //  0x07, 0x21
        "SubscribeNotification",    //  0x07, 0x22
        "SubscribeType",            //  0x07, 0x23
        "GetJoinedUsers-Request",   //  0x07, 0x24 /* WV 1.2 */
        "GetJoinedUsers-Response",  //  0x07, 0x25 /* WV 1.2 */
        "AdminMapList",             //  0x07, 0x26 /* WV 1.2 */
        "AdminMapping",             //  0x07, 0x27 /* WV 1.2 */
        "Mapping",                  //  0x07, 0x28 /* WV 1.2 */
        "ModMapping",               //  0x07, 0x29 /* WV 1.2 */
        "UserMapList",              //  0x07, 0x2A /* WV 1.2 */
        "UserMapping",              //  0x07, 0x2B /* WV 1.2 */
    };
    
    public static final String [] tagTablePage8 = {
        /* Service ... continued */
        "MP",                       //  0x08, 0x05 /* WV 1.2 */
        "GETAUT",                   //  0x08, 0x06 /* WV 1.2 */
        "GETJU",                    //  0x08, 0x07 /* WV 1.2 */
        "VRID",                     //  0x08, 0x08 /* WV 1.2 */
        "VerifyIDFunc",             //  0x08, 0x09 /* WV 1.2 */
    };
    
    public static final String [] tagTablePage9 = {
        /* Common ... continued */
        "CIR",                      //  0x09, 0x05 /* WV 1.2 */
        "Domain",                   //  0x09, 0x06 /* WV 1.2 */
        "ExtBlock",                 //  0x09, 0x07 /* WV 1.2 */
        "HistoryPeriod",            //  0x09, 0x08 /* WV 1.2 */
        "IDList",                   //  0x09, 0x09 /* WV 1.2 */
        "MaxWatcherList",           //  0x09, 0x0A /* WV 1.2 */
        "ReactiveAuthState",        //  0x09, 0x0B /* WV 1.2 */
        "ReactiveAuthStatus",       //  0x09, 0x0C /* WV 1.2 */
        "ReactiveAuthStatusList",   //  0x09, 0x0D /* WV 1.2 */
        "Watcher",                  //  0x09, 0x0E /* WV 1.2 */
        "WatcherStatus"             //  0x09, 0x0F /* WV 1.2 */
    };
    
    public static final String [] tagTablePageA = {
        /* Access ... continued */
        "WV-CSP-NSDiscovery-Request",  //0x0A, 0x05 /* WV 1.2 */
        "WV-CSP-NSDiscovery-Response", //0x0A, 0x06 /* WV 1.2 */
        "VersionList"                  //0x0A, 0x07 /* WV 1.2 */
    };
    
    public static final String [] attrStartTable = {
        "xmlns=http://www.wireless-village.org/CSP",//  0x00, 0x05
        "xmlns=http://www.wireless-village.org/PA", //  0x00, 0x06
        "xmlns=http://www.wireless-village.org/TRC",//  0x00, 0x07
        "xmlns=http://www.openmobilealliance.org/DTD/WV-CSP",   //  0x00, 0x08
        "xmlns=http://www.openmobilealliance.org/DTD/WV-PA",    //  0x00, 0x09
        "xmlns=http://www.openmobilealliance.org/DTD/WV-TRC",   //  0x00, 0x0A
    };
    
    public static final String [] attrValueTable = {
      
        "AccessType",                           // 0x00 /* Common value token */
        "ActiveUsers",                          // 0x01 /* Common value token */
        "Admin",                                // 0x02 /* Common value token */
        "application/",                         // 0x03 /* Common value token */
        "application/vnd.wap.mms-message",      // 0x04 /* Common value token */
        "application/x-sms",                    // 0x05 /* Common value token */
        "AutoJoin",                             // 0x06 /* Common value token */
        "BASE64",                               // 0x07 /* Common value token */
        "Closed",                               // 0x08 /* Common value token */
        "Default",                              // 0x09 /* Common value token */
        "DisplayName",                          // 0x0a /* Common value token */
        "F",                                    // 0x0b /* Common value token */
        "G",                                    // 0x0c /* Common value token */
        "GR",                                   // 0x0d /* Common value token */
        "http://",                              // 0x0e /* Common value token */
        "https://",                             // 0x0f /* Common value token */
        "image/",                               // 0x10 /* Common value token */
        "Inband",                               // 0x11 /* Common value token */
        "IM",                                   // 0x12 /* Common value token */
        "MaxActiveUsers",                       // 0x13 /* Common value token */
        "Mod",                                  // 0x14 /* Common value token */
        "Name",                                 // 0x15 /* Common value token */
        "None",                                 // 0x16 /* Common value token */
        "N",                                    // 0x17 /* Common value token */
        "Open",                                 // 0x18 /* Common value token */
        "Outband",                              // 0x19 /* Common value token */
        "PR",                                   // 0x1a /* Common value token */
        "Private",                              // 0x1b /* Common value token */
        "PrivateMessaging",                     // 0x1c /* Common value token */
        "PrivilegeLevel",                       // 0x1d /* Common value token */
        "Public",                               // 0x1e /* Common value token */
        "P",                                    // 0x1f /* Common value token */
        "Request",                              // 0x20 /* Common value token */
        "Response",                             // 0x21 /* Common value token */
        "Restricted",                           // 0x22 /* Common value token */
        "ScreenName",                           // 0x23 /* Common value token */
        "Searchable",                           // 0x24 /* Common value token */
        "S",                                    // 0x25 /* Common value token */
        "SC",                                   // 0x26 /* Common value token */
        "text/",                                // 0x27 /* Common value token */
        "text/plain",                           // 0x28 /* Common value token */
        "text/x-vCalendar",                     // 0x29 /* Common value token */
        "text/x-vCard",                         // 0x2a /* Common value token */
        "Topic",                                // 0x2b /* Common value token */
        "T",                                    // 0x2c /* Common value token */
        "Type",                                 // 0x2d /* Common value token */
        "U",                                    // 0x2e /* Common value token */
        "US",                                   // 0x2f /* Common value token */
        "www.wireless-village.org",             // 0x30 /* Common value token */
        "AutoDelete",                           // 0x31 /* Common value token */ /* WV 1.2 */
        "GM",                                   // 0x32 /* Common value token */ /* WV 1.2 */
        "Validity",                             // 0x33 /* Common value token */ /* WV 1.2 */
        "ShowID",                               // 0x34 /* Common value token */ /* WV 1.2 */
        "GRANTED",                              // 0x35 /* Common value token */ /* WV 1.2 */
        "PENDING",                              // 0x36 /* Common value token */ /* WV 1.2 */
        null,                                   // 0x37
        null,                                   // 0x38
        null,                                   // 0x39
        null,                                   // 0x3a
        null,                                   // 0x3b
        null,                                   // 0x3c
        "GROUP_ID",                             // 0x3d /* Access value token */
        "GROUP_NAME",                           // 0x3e /* Access value token */
        "GROUP_TOPIC",                          // 0x3f /* Access value token */
        "GROUP_USER_ID_JOINED",                 // 0x40 /* Access value token */
        "GROUP_USER_ID_OWNER",                  // 0x41 /* Access value token */
        "HTTP",                                 // 0x42 /* Access value token */
        "SMS",                                  // 0x43 /* Access value token */
        "STCP",                                 // 0x44 /* Access value token */
        "SUDP",                                 // 0x45 /* Access value token */
        "USER_ALIAS",                           // 0x46 /* Access value token */
        "USER_EMAIL_ADDRESS",                   // 0x47 /* Access value token */
        "USER_FIRST_NAME",                      // 0x48 /* Access value token */
        "USER_ID",                              // 0x49 /* Access value token */
        "USER_LAST_NAME",                       // 0x4a /* Access value token */
        "USER_MOBILE_NUMBER",                   // 0x4b /* Access value token */
        "USER_ONLINE_STATUS",                   // 0x4c /* Access value token */
        "WAPSMS",                               // 0x4d /* Access value token */
        "WAPUDP",                               // 0x4e /* Access value token */
        "WSP",                                  // 0x4f /* Access value token */
        "GROUP_USER_ID_AUTOJOIN",               // 0x50 /* Access value token */ /* WV 1.2 */
        null,                                   // 0x51
        null,                                   // 0x52
        null,                                   // 0x53
        null,                                   // 0x54
        null,                                   // 0x55
        null,                                   // 0x56
        null,                                   // 0x57
        null,                                   // 0x58
        null,                                   // 0x59
        null,                                   // 0x5a
        "ANGRY",                                // 0x5b /* Presence value token */
        "ANXIOUS",                              // 0x5c /* Presence value token */
        "ASHAMED",                              // 0x5d /* Presence value token */
        "AUDIO_CALL",                           // 0x5e /* Presence value token */
        "AVAILABLE",                            // 0x5f /* Presence value token */
        "BORED",                                // 0x60 /* Presence value token */
        "CALL",                                 // 0x61 /* Presence value token */
        "CLI",                                  // 0x62 /* Presence value token */
        "COMPUTER",                             // 0x63 /* Presence value token */
        "DISCREET",                             // 0x64 /* Presence value token */
        "EMAIL",                                // 0x65 /* Presence value token */
        "EXCITED",                              // 0x66 /* Presence value token */
        "HAPPY",                                // 0x67 /* Presence value token */
        "IM",                                   // 0x68 /* Presence value token */
        "IM_OFFLINE",                           // 0x69 /* Presence value token */
        "IM_ONLINE",                            // 0x6a /* Presence value token */
        "IN_LOVE",                              // 0x6b /* Presence value token */
        "INVINCIBLE",                           // 0x6c /* Presence value token */
        "JEALOUS",                              // 0x6d /* Presence value token */
        "MMS",                                  // 0x6e /* Presence value token */
        "MOBILE_PHONE",                         // 0x6f /* Presence value token */
        "NOT_AVAILABLE",                        // 0x70 /* Presence value token */
        "OTHER",                                // 0x71 /* Presence value token */
        "PDA",                                  // 0x72 /* Presence value token */
        "SAD",                                  // 0x73 /* Presence value token */
        "SLEEPY",                               // 0x74 /* Presence value token */
        "SMS",                                  // 0x75 /* Presence value token */
        "VIDEO_CALL",                           // 0x76 /* Presence value token */
        "VIDEO_STREAM",                         // 0x77 /* Presence value token */
    };
    
    
}

⌨️ 快捷键说明

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