Java Doc for XMLStreamWriterImpl.java in  » Science » javolution-5.2 » javolution » xml » stream » 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 » Science » javolution 5.2 » javolution.xml.stream 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javolution.xml.stream.XMLStreamWriterImpl

XMLStreamWriterImpl
final public class XMLStreamWriterImpl implements XMLStreamWriter,Reusable(Code)

This class represents a javolution.lang.Reusable reusable implementation of XMLStreamWriter .


author:
   Jean-Marie Dautelle
version:
   4.0, September 4, 2006


Field Summary
 ObjectFactory_objectFactory
     Holds recycling factory if any.

Constructor Summary
public  XMLStreamWriterImpl()
     Default constructor.

Method Summary
public  voidclose()
    
public  voidflush()
    
public  CharSequencegetPrefix(CharSequence uri)
    
public  ObjectgetProperty(String name)
    
public  voidreset()
    
public  voidsetAutomaticEmptyElements(boolean automaticEmptyElements)
     Requires this writer to automatically output empty elements when a start element is immediately followed by matching end element (default false).
public  voidsetDefaultNamespace(CharSequence uri)
    
public  voidsetIndentation(String indentation)
     Specifies the indentation string; non-null indentation forces the writer to write elements into separate lines (default null).
public  voidsetOutput(OutputStream out)
     Sets the output stream destination for this XML stream writer (UTF-8 encoding).
public  voidsetOutput(OutputStream out, String encoding)
     Sets the output stream destination and encoding for this XML stream writer.
public  voidsetOutput(Writer writer)
     Sets the writer output destination for this XML stream writer.
public  voidsetPrefix(CharSequence prefix, CharSequence uri)
    
public  voidsetRepairingNamespaces(boolean isRepairingNamespaces)
     Requires this writer to create a new prefix when a namespace has none (default false).
public  voidsetRepairingPrefix(String repairingPrefix)
     Specifies the prefix to be append by a trailing part (a sequence number) in order to make it unique to be usable as a temporary non-colliding prefix when repairing namespaces (default "ns").
public  voidwriteAttribute(CharSequence localName, CharSequence value)
    
public  voidwriteAttribute(CharSequence namespaceURI, CharSequence localName, CharSequence value)
    
public  voidwriteAttribute(CharSequence prefix, CharSequence namespaceURI, CharSequence localName, CharSequence value)
    
public  voidwriteCData(CharSequence data)
    
public  voidwriteCharacters(CharSequence text)
    
public  voidwriteCharacters(char[] text, int start, int length)
    
public  voidwriteComment(CharSequence data)
    
public  voidwriteDTD(CharSequence dtd)
    
public  voidwriteDefaultNamespace(CharSequence namespaceURI)
    
public  voidwriteEmptyElement(CharSequence localName)
    
public  voidwriteEmptyElement(CharSequence namespaceURI, CharSequence localName)
    
public  voidwriteEmptyElement(CharSequence prefix, CharSequence localName, CharSequence namespaceURI)
    
public  voidwriteEndDocument()
    
public  voidwriteEndElement()
    
public  voidwriteEntityRef(CharSequence name)
    
public  voidwriteNamespace(CharSequence prefix, CharSequence namespaceURI)
    
public  voidwriteProcessingInstruction(CharSequence target)
    
public  voidwriteProcessingInstruction(CharSequence target, CharSequence data)
    
public  voidwriteStartDocument()
    
public  voidwriteStartDocument(CharSequence version)
    
public  voidwriteStartDocument(CharSequence encoding, CharSequence version)
    
public  voidwriteStartElement(CharSequence localName)
    
public  voidwriteStartElement(CharSequence namespaceURI, CharSequence localName)
    
public  voidwriteStartElement(CharSequence prefix, CharSequence localName, CharSequence namespaceURI)
    

Field Detail
_objectFactory
ObjectFactory _objectFactory(Code)
Holds recycling factory if any.




Constructor Detail
XMLStreamWriterImpl
public XMLStreamWriterImpl()(Code)
Default constructor.




Method Detail
close
public void close() throws XMLStreamException(Code)



flush
public void flush() throws XMLStreamException(Code)



getPrefix
public CharSequence getPrefix(CharSequence uri) throws XMLStreamException(Code)



getProperty
public Object getProperty(String name) throws IllegalArgumentException(Code)



reset
public void reset()(Code)



setAutomaticEmptyElements
public void setAutomaticEmptyElements(boolean automaticEmptyElements)(Code)
Requires this writer to automatically output empty elements when a start element is immediately followed by matching end element (default false).
Parameters:
  automaticEmptyElements - true if start element immediately followed by end element results in an empty elementbeign written; false otherwise.



setDefaultNamespace
public void setDefaultNamespace(CharSequence uri) throws XMLStreamException(Code)



setIndentation
public void setIndentation(String indentation)(Code)
Specifies the indentation string; non-null indentation forces the writer to write elements into separate lines (default null).
Parameters:
  indentation - the indentation string.



setOutput
public void setOutput(OutputStream out) throws XMLStreamException(Code)
Sets the output stream destination for this XML stream writer (UTF-8 encoding).
Parameters:
  out - the output source with utf-8 encoding.



setOutput
public void setOutput(OutputStream out, String encoding) throws XMLStreamException(Code)
Sets the output stream destination and encoding for this XML stream writer.
Parameters:
  out - the output source.
Parameters:
  encoding - the associated encoding.
throws:
  XMLStreamException - if the specified encoding is not supported.



setOutput
public void setOutput(Writer writer) throws XMLStreamException(Code)
Sets the writer output destination for this XML stream writer.
Parameters:
  writer - the output destination writer.
See Also:   javolution.io.UTF8StreamWriter
See Also:   javolution.io.UTF8ByteBufferWriter
See Also:   javolution.io.AppendableWriter



setPrefix
public void setPrefix(CharSequence prefix, CharSequence uri) throws XMLStreamException(Code)



setRepairingNamespaces
public void setRepairingNamespaces(boolean isRepairingNamespaces)(Code)
Requires this writer to create a new prefix when a namespace has none (default false).
Parameters:
  isRepairingNamespaces - true if namespaces are repaired; false otherwise.



setRepairingPrefix
public void setRepairingPrefix(String repairingPrefix)(Code)
Specifies the prefix to be append by a trailing part (a sequence number) in order to make it unique to be usable as a temporary non-colliding prefix when repairing namespaces (default "ns").
Parameters:
  repairingPrefix - the prefix root.



writeAttribute
public void writeAttribute(CharSequence localName, CharSequence value) throws XMLStreamException(Code)



writeAttribute
public void writeAttribute(CharSequence namespaceURI, CharSequence localName, CharSequence value) throws XMLStreamException(Code)



writeAttribute
public void writeAttribute(CharSequence prefix, CharSequence namespaceURI, CharSequence localName, CharSequence value) throws XMLStreamException(Code)



writeCData
public void writeCData(CharSequence data) throws XMLStreamException(Code)



writeCharacters
public void writeCharacters(CharSequence text) throws XMLStreamException(Code)



writeCharacters
public void writeCharacters(char[] text, int start, int length) throws XMLStreamException(Code)



writeComment
public void writeComment(CharSequence data) throws XMLStreamException(Code)



writeDTD
public void writeDTD(CharSequence dtd) throws XMLStreamException(Code)



writeDefaultNamespace
public void writeDefaultNamespace(CharSequence namespaceURI) throws XMLStreamException(Code)



writeEmptyElement
public void writeEmptyElement(CharSequence localName) throws XMLStreamException(Code)



writeEmptyElement
public void writeEmptyElement(CharSequence namespaceURI, CharSequence localName) throws XMLStreamException(Code)



writeEmptyElement
public void writeEmptyElement(CharSequence prefix, CharSequence localName, CharSequence namespaceURI) throws XMLStreamException(Code)



writeEndDocument
public void writeEndDocument() throws XMLStreamException(Code)



writeEndElement
public void writeEndElement() throws XMLStreamException(Code)



writeEntityRef
public void writeEntityRef(CharSequence name) throws XMLStreamException(Code)



writeNamespace
public void writeNamespace(CharSequence prefix, CharSequence namespaceURI) throws XMLStreamException(Code)



writeProcessingInstruction
public void writeProcessingInstruction(CharSequence target) throws XMLStreamException(Code)



writeProcessingInstruction
public void writeProcessingInstruction(CharSequence target, CharSequence data) throws XMLStreamException(Code)



writeStartDocument
public void writeStartDocument() throws XMLStreamException(Code)



writeStartDocument
public void writeStartDocument(CharSequence version) throws XMLStreamException(Code)



writeStartDocument
public void writeStartDocument(CharSequence encoding, CharSequence version) throws XMLStreamException(Code)



writeStartElement
public void writeStartElement(CharSequence localName) throws XMLStreamException(Code)



writeStartElement
public void writeStartElement(CharSequence namespaceURI, CharSequence localName) throws XMLStreamException(Code)



writeStartElement
public void writeStartElement(CharSequence prefix, CharSequence localName, CharSequence namespaceURI) throws XMLStreamException(Code)



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.