2005/5/9

     
 

class DOMWriterFormat

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

org::w3c::dom::DOMWriterFormat Class Reference

#include <DOMWriter.h>

Inheritance diagram for org::w3c::dom::DOMWriterFormat:

acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

defines a format for writing a dom


Public Member Functions

 DOMWriterFormat (int fflags=DWFFDefaultXmlFlags, IN(acdk::lang::RString) encoding=utf-8)
acdk::locale::REncoding getEncoding ()
acdk::lang::RString getEncodingAsString ()
void setEncoding (IN(acdk::locale::REncoding) encoding)
bool getNewLines ()
void setNewLines (bool flag)
bool getSuppressXmlDecl ()
void setSuppressXmlDecl (bool flag)
bool getSuppressEncodingDecl ()
void setSuppressEncodingDecl (bool flag)
bool getNewLineAfterDecl ()
bool getExpandEmptyElements ()
void setExpandEmptyElements (bool flag)
bool getTrimText ()
void setTrimText (bool flag)
bool getPadText ()
void setPadText (bool flag)
RString getLineSeperator ()
int getMaxUnescapedCharacter ()
RString _escapeAttrValue (IN(RString) value)
void encodeCharacter (uc2char ch, StringBuffer &sb)
RString getIndent ()
void setIndent (IN(RString) s)

Static Public Member Functions

RDOMWriterFormat createCompact ()
RDOMWriterFormat createPretty ()

Protected Attributes

int _formatFlags
 combination of DOMWriterFormatFlags

acdk::locale::REncoding _encoding
RString _lineSep
bool _doResolveEntityRefs
RString _indentString


Constructor & Destructor Documentation

org::w3c::dom::DOMWriterFormat::DOMWriterFormat int  fflags = DWFFDefaultXmlFlags,
IN(acdk::lang::RString encoding = utf-8
 


Member Function Documentation

RString org::w3c::dom::DOMWriterFormat::_escapeAttrValue IN(RString value  ) 
 

RDOMWriterFormat org::w3c::dom::DOMWriterFormat::createCompact  )  [inline, static]
 

RDOMWriterFormat org::w3c::dom::DOMWriterFormat::createPretty  )  [inline, static]
 

void org::w3c::dom::DOMWriterFormat::encodeCharacter uc2char  ch,
StringBuffer sb
 

acdk::locale::REncoding org::w3c::dom::DOMWriterFormat::getEncoding  )  [inline]
 

acdk::lang::RString org::w3c::dom::DOMWriterFormat::getEncodingAsString  )  [inline]
 

bool org::w3c::dom::DOMWriterFormat::getExpandEmptyElements  )  [inline]
 

RString org::w3c::dom::DOMWriterFormat::getIndent  )  [inline]
 

RString org::w3c::dom::DOMWriterFormat::getLineSeperator  )  [inline]
 

int org::w3c::dom::DOMWriterFormat::getMaxUnescapedCharacter  ) 
 

bool org::w3c::dom::DOMWriterFormat::getNewLineAfterDecl  )  [inline]
 

bool org::w3c::dom::DOMWriterFormat::getNewLines  )  [inline]
 

bool org::w3c::dom::DOMWriterFormat::getPadText  )  [inline]
 

bool org::w3c::dom::DOMWriterFormat::getSuppressEncodingDecl  )  [inline]
 

bool org::w3c::dom::DOMWriterFormat::getSuppressXmlDecl  )  [inline]
 

bool org::w3c::dom::DOMWriterFormat::getTrimText  )  [inline]
 

void org::w3c::dom::DOMWriterFormat::setEncoding IN(acdk::locale::REncoding encoding  )  [inline]
 

void org::w3c::dom::DOMWriterFormat::setExpandEmptyElements bool  flag  )  [inline]
 

void org::w3c::dom::DOMWriterFormat::setIndent IN(RString s  )  [inline]
 

void org::w3c::dom::DOMWriterFormat::setNewLines bool  flag  )  [inline]
 

void org::w3c::dom::DOMWriterFormat::setPadText bool  flag  )  [inline]
 

void org::w3c::dom::DOMWriterFormat::setSuppressEncodingDecl bool  flag  )  [inline]
 

void org::w3c::dom::DOMWriterFormat::setSuppressXmlDecl bool  flag  )  [inline]
 

void org::w3c::dom::DOMWriterFormat::setTrimText bool  flag  )  [inline]
 


Member Data Documentation

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

acdk::locale::REncoding org::w3c::dom::DOMWriterFormat::_encoding [protected]
 

int org::w3c::dom::DOMWriterFormat::_formatFlags [protected]
 

combination of DOMWriterFormatFlags

RString org::w3c::dom::DOMWriterFormat::_indentString [protected]
 

RString org::w3c::dom::DOMWriterFormat::_lineSep [protected]