Commit dba5cf3e authored by Arthur Bogaart's avatar Arthur Bogaart

CMS-10769 Add before and after hooks to TagVisitor

parent 96ed564e
......@@ -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