summaryrefslogtreecommitdiff
path: root/src/core/model/Document.hpp
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-01-20 11:41:24 +0100
committerBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-01-20 11:41:24 +0100
commit403fbc4552822af899d85ba97ada2559eb776ea8 (patch)
treea19d3daeade79b9d11975a24d9b68189ff4cbf2c /src/core/model/Document.hpp
parent90047e6e1df4f32c7c935639df122136dccb3aa1 (diff)
Further work on document validation. More of a finetuning.
Diffstat (limited to 'src/core/model/Document.hpp')
-rw-r--r--src/core/model/Document.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/model/Document.hpp b/src/core/model/Document.hpp
index 4147847..5d5879e 100644
--- a/src/core/model/Document.hpp
+++ b/src/core/model/Document.hpp
@@ -346,6 +346,9 @@ public:
class StructureNode : public Node {
friend DocumentEntity;
+protected:
+ bool doValidate(Logger &logger) const override;
+
public:
/**
* Constructor for a StructureNode in the StructureTree.
@@ -491,6 +494,9 @@ public:
* Please refer to the AnnotationEntity documentation for more information.
*/
class Anchor : public StructureNode {
+protected:
+ bool doValidate(Logger &logger) const override;
+
public:
/**
* Constructor for Anchor.