public class CommentProcessor extends Object
CmsNode
-tree
based on Comment
elements in the DOM structure. Comment
tags wrapped by CMSComment
s.
In case it processes a starting comment-tag a new MgnlElement
is created and returned.
In case of a closing comment-tag it will return the parent.Constructor and Description |
---|
CommentProcessor() |
Modifier and Type | Method and Description |
---|---|
MgnlElement |
process(Model model,
com.google.gwt.event.shared.EventBus eventBus,
com.google.gwt.dom.client.Node node,
MgnlElement currentElement) |
public MgnlElement process(Model model, com.google.gwt.event.shared.EventBus eventBus, com.google.gwt.dom.client.Node node, MgnlElement currentElement) throws ProcessException
ProcessException
Copyright © 2021 Magnolia International Ltd.. All rights reserved.