org.jboss.errai.ui.shared
Class TranslationDomRevisitor
java.lang.Object
org.jboss.errai.ui.shared.TranslationDomRevisitor
- All Implemented Interfaces:
- DomRevisitor, DomVisitor
public class TranslationDomRevisitor
- extends Object
- implements DomRevisitor
Visit DOM elements and translate sub-trees which are Errai Templated
.
- Author:
- Max Barkley
Method Summary |
void |
afterVisit(Element element)
This method is invoked after this element and all of its children have been visited. |
boolean |
visit(Element element)
Visits an element in the dom, returns true if the visitor should
continue visiting down the dom. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TranslationDomRevisitor
public TranslationDomRevisitor()
visit
public boolean visit(Element element)
- Description copied from interface:
DomVisitor
- Visits an element in the dom, returns true if the visitor should
continue visiting down the dom.
- Specified by:
visit
in interface DomVisitor
- Parameters:
element
- the root element to visit
afterVisit
public void afterVisit(Element element)
- Description copied from interface:
DomRevisitor
- This method is invoked after this element and all of its children have been visited.
- Specified by:
afterVisit
in interface DomRevisitor
- Parameters:
element
- The element that has previously been visited.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.