Package | Description |
---|---|
org.thymeleaf.dom | |
org.thymeleaf.util |
Modifier and Type | Class and Description |
---|---|
class |
Document |
class |
Element
An Element node in a Thymeleaf DOM tree.
|
class |
GroupNode
A node group, potentially with attributes but no element name (no tag associated).
|
class |
NestableAttributeHolderNode
A specialization of
NestableNode that adds the ability to hold
attributes. |
Modifier and Type | Method and Description |
---|---|
NestableNode |
Node.getParent()
Returns the parent of a node.
|
Modifier and Type | Method and Description |
---|---|
Element |
Element.cloneElementNodeWithNewName(NestableNode newParent,
String newElementName,
boolean cloneProcessors)
Clones this element node, setting it a new name in the process.
|
GroupNode |
GroupNode.cloneElementNodeWithNewName(NestableNode newParent,
String newElementName,
boolean cloneProcessors)
Clones this element node, setting it a new name in the process.
|
Node |
Node.cloneNode(NestableNode newParent,
boolean cloneProcessors)
Creates a clone of this node.
|
void |
NestableNode.moveAllChildren(NestableNode newParent)
Refactors a DOM tree by moving all the children of this node
to another (which will be their new parent node).
|
void |
Node.setParent(NestableNode parent)
Sets a new parent for the node.
|
Modifier and Type | Method and Description |
---|---|
static CDATASection |
StandardDOMTranslator.translateCDATASection(CDATASection domNode,
NestableNode parentNode,
String documentName) |
static Comment |
StandardDOMTranslator.translateComment(Comment domNode,
NestableNode parentNode,
String documentName) |
static Element |
StandardDOMTranslator.translateElement(Element domNode,
NestableNode parentNode,
String documentName) |
static Node |
StandardDOMTranslator.translateNode(Node domNode,
NestableNode parentNode,
String documentName) |
static Text |
StandardDOMTranslator.translateText(Text domNode,
NestableNode parentNode,
String documentName) |
Copyright © 2017 The THYMELEAF team. All rights reserved.