#include <DOMWriter.hpp>
Public Member Functions | |
Destructor | |
virtual | ~DOMWriter () |
Destructor. | |
Functions introduced in DOM Level 3 | |
virtual bool | canSetFeature (const XMLCh *const featName, bool state) const =0 |
Query whether setting a feature to a specific value is supported. | |
virtual void | setFeature (const XMLCh *const featName, bool state)=0 |
Set the state of a feature. | |
virtual bool | getFeature (const XMLCh *const featName) const =0 |
Look up the value of a feature. | |
virtual void | setEncoding (const XMLCh *const encoding)=0 |
The character encoding in which the output will be written. | |
virtual void | setNewLine (const XMLCh *const newLine)=0 |
The end-of-line sequence of characters to be used in the XML being written out. | |
virtual void | setErrorHandler (DOMErrorHandler *errorHandler)=0 |
The error handler that will receive error notifications during serialization. | |
virtual void | setFilter (DOMWriterFilter *filter)=0 |
When the application provides a filter, the serializer will call out to the filter before serializing each Node. | |
virtual const XMLCh * | getEncoding () const =0 |
Return the character encoding in which the output will be written. | |
virtual const XMLCh * | getNewLine () const =0 |
Return the end-of-line sequence of characters to be used in the XML being written out. | |
virtual DOMErrorHandler * | getErrorHandler () const =0 |
Return the error handler that will receive error notifications during serialization. | |
virtual DOMWriterFilter * | getFilter () const =0 |
Return the WriterFilter used. | |
virtual bool | writeNode (XMLFormatTarget *const destination, const DOMNode &nodeToWrite)=0 |
Write out the specified node as described above in the description of DOMWriter . | |
virtual XMLCh * | writeToString (const DOMNode &nodeToWrite)=0 |
Serialize the specified node as described above in the description of DOMWriter . | |
Non-standard Extension | |
virtual void | release ()=0 |
Called to indicate that this Writer is no longer in use and that the implementation may relinquish any resources associated with it. | |
Protected Member Functions | |
Hidden constructors | |
DOMWriter () |
|
|
|
Destructor.
|
|
Query whether setting a feature to a specific value is supported.
"Experimental - subject to change"
|
|
Return the character encoding in which the output will be written. "Experimental - subject to change"
|
|
Return the error handler that will receive error notifications during serialization. "Experimental - subject to change"
|
|
Look up the value of a feature.
"Experimental - subject to change"
|
|
Return the WriterFilter used. "Experimental - subject to change"
|
|
Return the end-of-line sequence of characters to be used in the XML being written out. "Experimental - subject to change"
|
|
Called to indicate that this Writer is no longer in use and that the implementation may relinquish any resources associated with it. Access to a released object will lead to unexpected result. |
|
The character encoding in which the output will be written.
"Experimental - subject to change"
|
|
The error handler that will receive error notifications during serialization. The node where the error occured is passed to this error handler, any modification to nodes from within an error callback should be avoided since this will result in undefined, implementation dependent behavior. "Experimental - subject to change"
|
|
Set the state of a feature.
"Experimental - subject to change"
|
|
When the application provides a filter, the serializer will call out to the filter before serializing each Node. Attribute nodes are never passed to the filter. The filter implementation can choose to remove the node from the stream or to terminate the serialization early. "Experimental - subject to change"
|
|
The end-of-line sequence of characters to be used in the XML being written out. The only permitted values are these:
The default value for this attribute is null ."Experimental - subject to change"
|
|
Write out the specified node as described above in the description of Writing a Document or Entity node produces a serialized form that is well formed XML. Writing other node types produces a fragment of text in a form that is not fully defined by this document, but that should be useful to a human for debugging or diagnostic purposes. "Experimental - subject to change"
|
|
Serialize the specified node as described above in the description of The result of serializing the node is returned as a string. Writing a Document or Entity node produces a serialized form that is well formed XML. Writing other node types produces a fragment of text in a form that is not fully defined by this document, but that should be useful to a human for debugging or diagnostic purposes. "Experimental - subject to change"
|