Source Code Cross Referenced for SyncML.java in  » XML » kXML » org » kxml2 » wap » syncml » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » XML » kXML » org.kxml2.wap.syncml 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.kxml2.wap.syncml;
002:
003:        import org.kxml2.wap.*;
004:
005:        public abstract class SyncML {
006:
007:            // SyncML-Common (-//SYNCML//DTD SyncML 1.2//EN and -//SYNCML//DTD MetInf 1.2//EN) support
008:
009:            public static WbxmlParser createParser() {
010:                WbxmlParser p = new WbxmlParser();
011:                p.setTagTable(0, TAG_TABLE_0);
012:                p.setTagTable(1, TAG_TABLE_1);
013:                return p;
014:            }
015:
016:            public static WbxmlSerializer createSerializer() {
017:                WbxmlSerializer s = new WbxmlSerializer();
018:                s.setTagTable(0, TAG_TABLE_0);
019:                s.setTagTable(1, TAG_TABLE_1);
020:                return s;
021:            }
022:
023:            // SyncML-Common + DMDDF (-//OMA//DTD-DM-DDF 1.2//EN) support
024:
025:            public static WbxmlParser createDMParser() {
026:                WbxmlParser p = createParser();
027:                p.setTagTable(2, TAG_TABLE_2_DM);
028:                return p;
029:            }
030:
031:            public static WbxmlSerializer createDMSerializer() {
032:                WbxmlSerializer s = createSerializer();
033:                s.setTagTable(2, TAG_TABLE_2_DM);
034:                return s;
035:            }
036:
037:            // Tables
038:
039:            public static final String[] TAG_TABLE_0 = {
040:
041:            //  -//SYNCML//DTD SyncML 1.2//EN
042:
043:                    "Add", // 0x05 
044:                    "Alert", // 0x06 
045:                    "Archive", // 0x07 
046:                    "Atomic", // 0x08 
047:                    "Chal", // 0x09 
048:                    "Cmd", // 0x0a 
049:                    "CmdID", // 0x0b 
050:                    "CmdRef", // 0x0c 
051:                    "Copy", // 0x0d 
052:                    "Cred", // 0x0e 
053:                    "Data", // 0x0f 
054:                    "Delete", // 0x10 
055:                    "Exec", // 0x11 
056:                    "Final", // 0x12 
057:                    "Get", // 0x13 
058:                    "Item", // 0x14 
059:                    "Lang", // 0x15 
060:                    "LocName", // 0x16 
061:                    "LocURI", // 0x17 
062:                    "Map", // 0x18 
063:                    "MapItem", // 0x19 
064:                    "Meta", // 0x1a 
065:                    "MsgID", // 0x1b 
066:                    "MsgRef", // 0x1c 
067:                    "NoResp", // 0x1d 
068:                    "NoResults", // 0x1e 
069:                    "Put", // 0x1f 
070:                    "Replace", // 0x20 
071:                    "RespURI", // 0x21 
072:                    "Results", // 0x22 
073:                    "Search", // 0x23 
074:                    "Sequence", // 0x24 
075:                    "SessionID", // 0x25 
076:                    "SftDel", // 0x26 
077:                    "Source", // 0x27 
078:                    "SourceRef", // 0x28 
079:                    "Status", // 0x29 
080:                    "Sync", // 0x2a 
081:                    "SyncBody", // 0x2b 
082:                    "SyncHdr", // 0x2c 
083:                    "SyncML", // 0x2d 
084:                    "Target", // 0x2e 
085:                    "TargetRef", // 0x2f 
086:                    "Reserved for future use", // 0x30 
087:                    "VerDTD", // 0x31 
088:                    "VerProto", // 0x32 
089:                    "NumberOfChanged",// 0x33 
090:                    "MoreData", // 0x34 
091:                    "Field", // 0x35
092:                    "Filter", // 0x36
093:                    "Record", // 0x37
094:                    "FilterType", // 0x38
095:                    "SourceParent", // 0x39
096:                    "TargetParent", // 0x3a
097:                    "Move", // 0x3b
098:                    "Correlator" // 0x3c
099:            };
100:
101:            public static final String[] TAG_TABLE_1 = {
102:
103:            //  -//SYNCML//DTD MetInf 1.2//EN 
104:
105:                    "Anchor", // 0x05 
106:                    "EMI", // 0x06 
107:                    "Format", // 0x07 
108:                    "FreeID", // 0x08 
109:                    "FreeMem", // 0x09 
110:                    "Last", // 0x0a 
111:                    "Mark", // 0x0b 
112:                    "MaxMsgSize", // 0x0c 
113:                    "Mem", // 0x0d 
114:                    "MetInf", // 0x0e 
115:                    "Next", // 0x0f 
116:                    "NextNonce", // 0x10 
117:                    "SharedMem", // 0x11 
118:                    "Size", // 0x12 
119:                    "Type", // 0x13 
120:                    "Version", // 0x14 
121:                    "MaxObjSize", // 0x15
122:                    "FieldLevel" // 0x16
123:
124:            };
125:
126:            public static final String[] TAG_TABLE_2_DM = {
127:
128:            //  -//OMA//DTD-DM-DDF 1.2//EN 
129:
130:                    "AccessType", // 0x05 
131:                    "ACL", // 0x06 
132:                    "Add", // 0x07 
133:                    "b64", // 0x08 
134:                    "bin", // 0x09 
135:                    "bool", // 0x0a 
136:                    "chr", // 0x0b 
137:                    "CaseSense", // 0x0c 
138:                    "CIS", // 0x0d 
139:                    "Copy", // 0x0e 
140:                    "CS", // 0x0f 
141:                    "date", // 0x10 
142:                    "DDFName", // 0x11 
143:                    "DefaultValue", // 0x12 
144:                    "Delete", // 0x13 
145:                    "Description", // 0x14 
146:                    "DDFFormat", // 0x15 
147:                    "DFProperties", // 0x16 
148:                    "DFTitle", // 0x17 
149:                    "DFType", // 0x18 
150:                    "Dynamic", // 0x19 
151:                    "Exec", // 0x1a 
152:                    "float", // 0x1b 
153:                    "Format", // 0x1c 
154:                    "Get", // 0x1d 
155:                    "int", // 0x1e 
156:                    "Man", // 0x1f 
157:                    "MgmtTree", // 0x20 
158:                    "MIME", // 0x21 
159:                    "Mod", // 0x22 
160:                    "Name", // 0x23 
161:                    "Node", // 0x24 
162:                    "node", // 0x25 
163:                    "NodeName", // 0x26 
164:                    "null", // 0x27 
165:                    "Occurence", // 0x28 
166:                    "One", // 0x29 
167:                    "OneOrMore", // 0x2a 
168:                    "OneOrN", // 0x2b 
169:                    "Path", // 0x2c 
170:                    "Permanent", // 0x2d 
171:                    "Replace", // 0x2e 
172:                    "RTProperties", // 0x2f 
173:                    "Scope", // 0x30 
174:                    "Size", // 0x31 
175:                    "time", // 0x32 
176:                    "Title", // 0x33 
177:                    "TStamp", // 0x34 
178:                    "Type", // 0x35
179:                    "Value", // 0x36
180:                    "VerDTD", // 0x37
181:                    "VerNo", // 0x38
182:                    "xml", // 0x39
183:                    "ZeroOrMore", // 0x3a
184:                    "ZeroOrN", // 0x3b
185:                    "ZeroOrOne" // 0x3c
186:
187:            };
188:
189:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.