29 #ifndef Pt_Xml_DocTypeValidator_h
30 #define Pt_Xml_DocTypeValidator_h
32 #include <Pt/Xml/Api.h>
33 #include <Pt/NonCopyable.h>
40 class DocTypeDefinition;
68 class DocTypeValidatorImpl* _impl;
75 #endif // Pt_Xml_DocTypeValidator_h
Core module.
Definition: pt-gfx-images.dox:14
void reset()
Clears the validator to start a new document.
~DocTypeValidator()
Destructor.
DocTypeValidator(DocTypeDefinition &dtd)
Construct an empty DocType node.
Validates an XML document against a DTD.
Definition: DocTypeValidator.h:49
bool validate(Node &node)
Returns true if the node is valid.
XML document node.
Definition: Node.h:51
Protects derived classes from being copied.
Definition: NonCopyable.h:54
The DocTypeDefinition of an XML document.
Definition: DocTypeDefinition.h:58