public abstract class Decorator
extends java.lang.Object
| Constructor and Description |
|---|
Decorator() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
decorate(org.thymeleaf.dom.Element decorator,
org.thymeleaf.dom.Element content)
Apply the contents of the decorator element to the content element.
|
protected static org.thymeleaf.dom.Element |
findElement(org.thymeleaf.dom.Element node,
java.lang.String elementname)
Recursive search for an element within the given node in the DOM tree.
|
public abstract void decorate(org.thymeleaf.dom.Element decorator,
org.thymeleaf.dom.Element content)
decorator - Element from the decorator template to bring in to the
content template which is currently being processed.content - Element from the content template.protected static org.thymeleaf.dom.Element findElement(org.thymeleaf.dom.Element node,
java.lang.String elementname)
node - Node to initiate the search from.elementname - Name of the element to look for.