10#ifndef UI_GXML_VALIDATORTREE_HPP
11#define UI_GXML_VALIDATORTREE_HPP
23class ValidatorTree:
public Tree
28 ValidatorTree(
char const * xml,
int len=-1, std::string
const & base=
DefaultDocbase_,
int const options=0);
29 ValidatorTree(std::string
const & xml, std::string
const & base=
DefaultDocbase_,
int const options=0);
30 ValidatorTree(std::istream & xml, std::string
const & base=
DefaultDocbase_,
int const options=0);
31 ValidatorTree(
FileConstructor const dummy, std::string
const & file,
int const options=0);
34 virtual ~ValidatorTree();
39 ValidatorTree(ValidatorTree
const & tree);
40 ValidatorTree & operator=(ValidatorTree
const & tree);
57 virtual int libxml2Validate(
Tree const & tree)
const = 0;
62 bool isValid(
Tree const & tree)
const;
63 Tree const & validate(
Tree const & tree)
const;
Adding code facility to Exception.
Definition Exception.hpp:35
FileConstructor
Helper enum for constructor from file name.
Definition Tree.hpp:103
static std::string const DefaultDocbase_
Default document base. This is used for from-memory parsing if not specified otherwise.
Definition Tree.hpp:74
Tree()
Protected default constructor.
Definition Tree.cpp:74
CodeException< ErrorCode > Exception
Exceptions for this class.
Definition ValidatorTree.hpp:54
ErrorCode
Error codes for exceptions.
Definition ValidatorTree.hpp:46
Namespace for library project "ui-gxmlcpp".
Definition Buffer.cpp:31
Namespace for all Schlund+Partner Code.
Definition Buffer.cpp:30