22 #if !defined(XERCESC_INCLUDE_GUARD_DOMDOCUMENT_HPP)
23 #define XERCESC_INCLUDE_GUARD_DOMDOCUMENT_HPP
25 #include <xercesc/util/XercesDefs.hpp>
31 XERCES_CPP_NAMESPACE_BEGIN
33 class DOMConfiguration;
34 class DOMDocumentType;
36 class DOMDocumentFragment;
38 class DOMCDATASection;
39 class DOMProcessingInstruction;
42 class DOMEntityReference;
43 class DOMImplementation;
127 virtual DOMElement *createElement(
const XMLCh *tagName) = 0;
142 virtual DOMText *createTextNode(
const XMLCh *data) = 0;
150 virtual DOMComment *createComment(
const XMLCh *data) = 0;
173 const XMLCh *data) = 0;
192 virtual DOMAttr *createAttribute(
const XMLCh *name) = 0;
239 virtual DOMElement *getDocumentElement()
const = 0;
255 virtual DOMNodeList *getElementsByTagName(
const XMLCh *tagname)
const = 0;
360 virtual DOMNode *importNode(
const DOMNode *importedNode,
bool deep) = 0;
417 virtual DOMElement *createElementNS(
const XMLCh *namespaceURI,
418 const XMLCh *qualifiedName) = 0;
482 virtual DOMAttr *createAttributeNS(
const XMLCh *namespaceURI,
483 const XMLCh *qualifiedName) = 0;
497 virtual DOMNodeList *getElementsByTagNameNS(
const XMLCh *namespaceURI,
498 const XMLCh *localName)
const = 0;
513 virtual DOMElement * getElementById(
const XMLCh *elementId)
const = 0;
525 virtual const XMLCh* getInputEncoding()
const = 0;
534 virtual const XMLCh* getXmlEncoding()
const = 0;
542 virtual bool getXmlStandalone()
const = 0;
551 virtual void setXmlStandalone(
bool standalone) = 0;
560 virtual const XMLCh* getXmlVersion()
const = 0;
569 virtual void setXmlVersion(
const XMLCh* version) = 0;
579 virtual const XMLCh* getDocumentURI()
const = 0;
588 virtual void setDocumentURI(
const XMLCh* documentURI) = 0;
600 virtual bool getStrictErrorChecking()
const = 0;
611 virtual void setStrictErrorChecking(
bool strictErrorChecking) = 0;
657 virtual DOMNode* renameNode(
DOMNode* n,
const XMLCh* namespaceURI,
const XMLCh* qualifiedName) = 0;
741 virtual void normalizeDocument() = 0;
767 virtual DOMEntity *createEntity(
const XMLCh *name) = 0;
787 return createDocumentType(qName);
798 virtual DOMNotation *createNotation(
const XMLCh *name) = 0;
809 virtual DOMElement *createElementNS(
const XMLCh *namespaceURI,
810 const XMLCh *qualifiedName,
811 const XMLFileLoc lineNum,
812 const XMLFileLoc columnNum) = 0;
817 XERCES_CPP_NAMESPACE_END
The DOMNodeList interface provides the abstraction of an ordered collection of nodes.
Definition: DOMNodeList.hpp:45
DOMDocument()
Definition: DOMDocument.hpp:76
virtual ~DOMDocument()
Destructor.
Definition: DOMDocument.hpp:99
CDATA sections are used to escape blocks of text containing characters that would otherwise be regard...
Definition: DOMCDATASection.hpp:65
virtual DOMDocumentType * createDocumentType(const XMLCh *qName, const XMLCh *, const XMLCh *)
Definition: DOMDocument.hpp:782
The DOMConfiguration interface represents the configuration of a document and maintains a table of re...
Definition: DOMConfiguration.hpp:350
The DOMDocument interface represents the entire XML document.
Definition: DOMDocument.hpp:64
The DOMNode interface is the primary datatype for the entire Document Object Model.
Definition: DOMNode.hpp:139
Definition: DOMDocumentRange.hpp:37
DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object.
Definition: DOMDocumentFragment.hpp:71
By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...
Definition: DOMElement.hpp:66
The DOMImplementation interface provides a number of methods for performing operations that are indep...
Definition: DOMImplementation.hpp:43
DOMEntityReference objects may be inserted into the structure model when an entity reference is in th...
Definition: DOMEntityReference.hpp:57
DOMDocumentTraversal contains methods that create DOMNodeIterators and DOMTreeWalkers to traverse a n...
Definition: DOMDocumentTraversal.hpp:47
The DOMAttr class refers to an attribute of an XML element.
Definition: DOMAttr.hpp:57
This interface represents an entity, either parsed or unparsed, in an XML document.
Definition: DOMEntity.hpp:66
The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...
Definition: DOMText.hpp:51
Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...
Definition: DOMDocumentType.hpp:45
This interface represents a notation declared in the DTD.
Definition: DOMNotation.hpp:44
The evaluation of XPath expressions is provided by DOMXPathEvaluator.
Definition: DOMXPathEvaluator.hpp:47
The DOMProcessingInstruction interface represents a "processing instruction", used in XML as a way to...
Definition: DOMProcessingInstruction.hpp:38