info.magnolia.ui.vaadin.gwt.client.editor.dom.processor
Class CommentProcessor
java.lang.Object
info.magnolia.ui.vaadin.gwt.client.editor.dom.processor.CommentProcessor
public class CommentProcessor
- extends Object
Processor for comment elements. This processor builds a CmsNode
-tree
based on Comment
elements in the DOM structure.
The nesting of elements is given by the opening and closing of the 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommentProcessor
public CommentProcessor()
process
public MgnlElement process(Model model,
com.google.gwt.event.shared.EventBus eventBus,
com.google.gwt.dom.client.Node node,
MgnlElement currentElement)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.