Commit 572ccd78 authored by Arthur Bogaart's avatar Arthur Bogaart Committed by Bert Leunis

CMS-11897 Add before and after hooks to TagVisitor

(cherry picked from commit dba5cf3e)
parent 39105d6b
......@@ -43,5 +43,15 @@ public interface TagVisitor extends Serializable {
*/
void onWrite(Tag parent, Tag tag) throws RepositoryException;
/**
* Called before the visitor is applied to the DOM tree.
*/
void before();
/**
* Called after the visitor is applied to the DOM tree.
*/
void after();
void release();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment