2005/5/9

     
 

class DOMWriter

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

org::w3c::dom::DOMWriter Class Reference

#include <DOMWriter.h>

Inheritance diagram for org::w3c::dom::DOMWriter:

acdk::io::AbstractCharFilterWriter acdk::io::AbstractCharWriter acdk::lang::Object acdk::io::CharWriter acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

The DOMWriter class is an ACDK extension, not specified by w3c org.


Public Member Functions

 DOMWriter (IN(acdk::io::RWriter) out, IN(RDOMWriterFormat) format)
virtual void writeNode (IN(RNode) node)
virtual void writeDocument (IN(RDocument) doc)
virtual void writeElement (IN(RElement) node)
virtual void writeAttribute (IN(RAttr) node)
virtual void writeCDATA (IN(RString) text)
virtual void writeText (IN(RText) node)
virtual void writeEntity (IN(REntity) node)
virtual void writeProcessingInstruction (IN(RProcessingInstruction) node)
virtual void writeComment (IN(RString) text)
virtual void writeDocType (IN(RDocumentType) doctype)
void writeln ()
void writeIndent ()
bool getResolveEntityRefs ()
void setResolveEntityRefs (bool resolve)

Protected Member Functions

void _writeDeclaration ()
void _closeEmptyTag (IN(RString) tagname)
void _writeAttributes (IN(RElement) element)
void _writeElementContent (IN(RElement) element)
void _writeEntityRef (IN(RString) name)
void _writeNodeValue (IN(RString) text)
RString _escapeElementEntities (IN(RString) text)

Protected Attributes

RDOMWriterFormat _format
int _indentLevel
bool _preserve
bool _doResolveEntityRefs
int _lastWrittenNodeType
bool _escapeText


Constructor & Destructor Documentation

org::w3c::dom::DOMWriter::DOMWriter (  IN(acdk::io::RWriter)  out,
IN(RDOMWriterFormat)  format
)  [inline]
 


Member Function Documentation

void org::w3c::dom::DOMWriter::_closeEmptyTag (  IN(RString)  tagname  )  [protected]
 

RString org::w3c::dom::DOMWriter::_escapeElementEntities (  IN(RString)  text  )  [protected]
 

void org::w3c::dom::DOMWriter::_writeAttributes (  IN(RElement)  element  )  [protected]
 

void org::w3c::dom::DOMWriter::_writeDeclaration (   )  [protected]
 

void org::w3c::dom::DOMWriter::_writeElementContent (  IN(RElement)  element  )  [protected]
 

void org::w3c::dom::DOMWriter::_writeEntityRef (  IN(RString)  name  )  [protected]
 

void org::w3c::dom::DOMWriter::_writeNodeValue (  IN(RString)  text  )  [protected]
 

bool org::w3c::dom::DOMWriter::getResolveEntityRefs (   )  [inline]
 

void org::w3c::dom::DOMWriter::setResolveEntityRefs (  bool  resolve  )  [inline]
 

virtual void org::w3c::dom::DOMWriter::writeAttribute (  IN(RAttr)  node  )  [virtual]
 

virtual void org::w3c::dom::DOMWriter::writeCDATA (  IN(RString)  text  )  [virtual]
 

virtual void org::w3c::dom::DOMWriter::writeComment (  IN(RString)  text  )  [virtual]
 

virtual void org::w3c::dom::DOMWriter::writeDocType (  IN(RDocumentType)  doctype  )  [virtual]
 

virtual void org::w3c::dom::DOMWriter::writeDocument (  IN(RDocument)  doc  )  [virtual]
 

virtual void org::w3c::dom::DOMWriter::writeElement (  IN(RElement)  node  )  [virtual]
 

virtual void org::w3c::dom::DOMWriter::writeEntity (  IN(REntity)  node  )  [virtual]
 

void org::w3c::dom::DOMWriter::writeIndent (   ) 
 

void org::w3c::dom::DOMWriter::writeln (   ) 
 

virtual void org::w3c::dom::DOMWriter::writeNode (  IN(RNode)  node  )  [virtual]
 

virtual void org::w3c::dom::DOMWriter::writeProcessingInstruction (  IN(RProcessingInstruction)  node  )  [virtual]
 

virtual void org::w3c::dom::DOMWriter::writeText (  IN(RText)  node  )  [virtual]
 


Member Data Documentation

bool org::w3c::dom::DOMWriter::_doResolveEntityRefs [protected]
 

bool org::w3c::dom::DOMWriter::_escapeText [protected]
 

RDOMWriterFormat org::w3c::dom::DOMWriter::_format [protected]
 

int org::w3c::dom::DOMWriter::_indentLevel [protected]
 

int org::w3c::dom::DOMWriter::_lastWrittenNodeType [protected]
 

bool org::w3c::dom::DOMWriter::_preserve [protected]