xmldom::DomConfiguration Class Reference

#include <DomConfiguration.h>

List of all members.


Detailed Description

The DomConfiguration interface represents the configuration of a document and maintains a table of recognized parameters.

Using the configuration, it is possible to change DomDocument::normalizeDocument() behavior, such as replacing the DomCDATASection nodes with DomText nodes or specifying the type of the schema that must be used when the validation of the DomDocument is requested. DomConfiguration objects are also used in DOM Level 3 Load and Save in the DomParser and DomSerializer interfaces.

The parameter names used by the DomConfiguration object are defined throughout the DOM Level 3 specifications. Names are case-insensitive. To avoid possible conflicts, as a convention, names referring to parameters defined outside the DOM specification should be made unique. Because parameters are exposed as properties in the ECMAScript Language Binding, names are recommended to follow the section "5.16 Identifiers" of Unicode with the addition of the character ’-’ (HYPHEN-MINUS) but it is not enforced by the DOM implementation. DOM Level 3 Core Implementations are required to recognize all parameters defined in this specification. Some parameter values may also be required to be supported by the implementation. Refer to the definition of the parameter to know if a value must be supported or not.

Note:
Parameters are similar to features and properties used in SAX2 SAX.
The resolution of the system identifiers associated with entities is done using DomDocument::getDocumentURI(). However, when the feature "LS" defined in [DOM Level 3 Load and Save] is supported by the DOM implementation, the parameter "resource-resolver" can also be used on DomConfiguration objects attached to DomDocument nodes. If this parameter is set, DomDocument::normalizeDocument() will invoke the resource resolver instead of using DomDocument::getDocumentURI().

See also:
DomConfiguration Parameter Description
More Informations About the DOM 3 standard.


Public Member Functions

 DomConfiguration ()
 ctor
virtual ~DomConfiguration ()
 dtor


Constructor & Destructor Documentation

xmldom::DomConfiguration::DomConfiguration (  ) 

ctor

xmldom::DomConfiguration::~DomConfiguration (  )  [virtual]

dtor


The documentation for this class was generated from the following files:
Generated on Fri May 30 11:15:11 2008 for XMLDOM by  doxygen 1.5.2