Java Doc for WbxmlSerializer.java in  » XML » kXML » org » kxml2 » wap » 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 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.kxml2.wap.WbxmlSerializer

WbxmlSerializer
public class WbxmlSerializer implements XmlSerializer(Code)
A class for writing WBXML.


Field Summary
 HashtableattrStartTable
    
 HashtableattrValueTable
    
 Vectorattributes
    
 ByteArrayOutputStreambuf
    
 intdepth
    
 Stringname
    
 Stringnamespace
    
 OutputStreamout
    
 Stringpending
    
 HashtablestringTable
    
 ByteArrayOutputStreamstringTableBuf
    
 HashtabletagTable
    


Method Summary
public  XmlSerializerattribute(String namespace, String name, String value)
    
public  voidcdsect(String cdsect)
    
public  voidcheckPending(boolean degenerated)
    
public  voidcomment(String comment)
    
public  voiddocdecl(String docdecl)
    
public  voidendDocument()
    
public  XmlSerializerendTag(String namespace, String name)
    
public  voidentityRef(String er)
    
public  voidflush()
     ATTENTION: flush cannot work since Wbxml documents require buffering.
public  intgetDepth()
    
public  booleangetFeature(String name)
    
public  StringgetName()
    
public  StringgetNamespace()
    
public  StringgetPrefix(String nsp, boolean create)
    
public  ObjectgetProperty(String name)
    
public  voidignorableWhitespace(String sp)
    
public  voidprocessingInstruction(String pi)
    
public  voidsetAttrStartTable(int page, String[] attrStartTable)
     Sets the attribute start Table for a given page.
public  voidsetAttrValueTable(int page, String[] attrValueTable)
     Sets the attribute value Table for a given page.
public  voidsetFeature(String name, boolean value)
    
public  voidsetOutput(Writer writer)
    
public  voidsetOutput(OutputStream out, String encoding)
    
public  voidsetPrefix(String prefix, String nsp)
    
public  voidsetProperty(String property, Object value)
    
public  voidsetTagTable(int page, String[] tagTable)
     Sets the tag table for a given page.
public  voidstartDocument(String s, Boolean b)
    
public  XmlSerializerstartTag(String namespace, String name)
    
public  XmlSerializertext(char[] chars, int start, int len)
    
public  XmlSerializertext(String text)
    
static  voidwriteInt(OutputStream out, int i)
    
 voidwriteStrI(OutputStream out, String s)
    
public  voidwriteWapExtension(int type, Object data)
    

Field Detail
attrStartTable
Hashtable attrStartTable(Code)



attrValueTable
Hashtable attrValueTable(Code)



attributes
Vector attributes(Code)



buf
ByteArrayOutputStream buf(Code)



depth
int depth(Code)



name
String name(Code)



namespace
String namespace(Code)



out
OutputStream out(Code)



pending
String pending(Code)



stringTable
Hashtable stringTable(Code)



stringTableBuf
ByteArrayOutputStream stringTableBuf(Code)



tagTable
Hashtable tagTable(Code)





Method Detail
attribute
public XmlSerializer attribute(String namespace, String name, String value)(Code)



cdsect
public void cdsect(String cdsect) throws IOException(Code)



checkPending
public void checkPending(boolean degenerated) throws IOException(Code)



comment
public void comment(String comment)(Code)



docdecl
public void docdecl(String docdecl)(Code)



endDocument
public void endDocument() throws IOException(Code)



endTag
public XmlSerializer endTag(String namespace, String name) throws IOException(Code)



entityRef
public void entityRef(String er)(Code)



flush
public void flush()(Code)
ATTENTION: flush cannot work since Wbxml documents require buffering. Thus, this call does nothing.



getDepth
public int getDepth()(Code)



getFeature
public boolean getFeature(String name)(Code)



getName
public String getName()(Code)



getNamespace
public String getNamespace()(Code)



getPrefix
public String getPrefix(String nsp, boolean create)(Code)



getProperty
public Object getProperty(String name)(Code)



ignorableWhitespace
public void ignorableWhitespace(String sp)(Code)



processingInstruction
public void processingInstruction(String pi)(Code)



setAttrStartTable
public void setAttrStartTable(int page, String[] attrStartTable)(Code)
Sets the attribute start Table for a given page. The first string in the array defines attribute 5, the second attribute 6 etc. Please use the character '=' (without quote!) as delimiter between the attribute name and the (start of the) value



setAttrValueTable
public void setAttrValueTable(int page, String[] attrValueTable)(Code)
Sets the attribute value Table for a given page. The first string in the array defines attribute value 0x85, the second attribute value 0x86 etc.



setFeature
public void setFeature(String name, boolean value)(Code)



setOutput
public void setOutput(Writer writer)(Code)



setOutput
public void setOutput(OutputStream out, String encoding) throws IOException(Code)



setPrefix
public void setPrefix(String prefix, String nsp)(Code)



setProperty
public void setProperty(String property, Object value)(Code)



setTagTable
public void setTagTable(int page, String[] tagTable)(Code)
Sets the tag table for a given page. The first string in the array defines tag 5, the second tag 6 etc.



startDocument
public void startDocument(String s, Boolean b) throws IOException(Code)



startTag
public XmlSerializer startTag(String namespace, String name) throws IOException(Code)



text
public XmlSerializer text(char[] chars, int start, int len) throws IOException(Code)



text
public XmlSerializer text(String text) throws IOException(Code)



writeInt
static void writeInt(OutputStream out, int i) throws IOException(Code)



writeStrI
void writeStrI(OutputStream out, String s) throws IOException(Code)



writeWapExtension
public void writeWapExtension(int type, Object data) throws IOException(Code)

throws:
  IOException -



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.