public final class GroupNode extends NestableAttributeHolderNode
A node group, potentially with attributes but no element name (no tag associated).
Node.NodeLocalVariablesMap
NODE_PROPERTY_XML_ENCODING, NODE_PROPERTY_XML_STANDALONE, NODE_PROPERTY_XML_VERSION
Constructor and Description |
---|
GroupNode() |
GroupNode(String documentName) |
GroupNode(String documentName,
Integer lineNumber) |
Modifier and Type | Method and Description |
---|---|
GroupNode |
cloneElementNodeWithNewName(NestableNode newParent,
String newElementName,
boolean cloneProcessors)
Clones this element node, setting it a new name in the process.
|
clearAttributes, getAttributeFromNormalizedName, getAttributeMap, getAttributeOriginalNameFromNormalizedName, getAttributeValue, getAttributeValueFromNormalizedName, getAttributeValueFromNormalizedName, hasAttribute, hasAttributes, hasNormalizedAttribute, hasNormalizedAttribute, numAttributes, removeAttribute, setAttribute, setAttribute, setAttribute, setAttributes, unsafeGetAttributeNormalizedNames, unsafeGetAttributes
addChild, clearChildren, extractChild, getChildren, getElementChildren, getFirstChild, getFirstElementChild, hasChildren, insertAfter, insertBefore, insertChild, moveAllChildren, numChildren, removeChild, removeChild, setChildren, setProcessCommentNodes, setProcessTextNodes, unsafeGetChildrenNodeArray, visit
addAllNonExistingNodeLocalVariables, applyDialectPrefix, cloneNode, getDocumentName, getLineNumber, getNodeLocalVariableNames, getNodeProperty, getNodePropertyNames, getParent, getProcessCommentNodes, getProcessTextNodes, getRecomputeProcessorsAfterEachExecution, getRecomputeProcessorsImmediately, hasNodeLocalVariables, hasNodeProperty, hasParent, isProcessable, isSkippable, normalizeName, setAllNodeLocalVariables, setNodeLocalVariable, setNodeProperty, setParent, setProcessable, setRecomputeProcessorsAfterEachExecution, setRecomputeProcessorsImmediately, setSkippable, unsafeGetNodeProperties
public GroupNode()
public GroupNode(String documentName)
public GroupNode cloneElementNodeWithNewName(NestableNode newParent, String newElementName, boolean cloneProcessors)
Clones this element node, setting it a new name in the process.
newParent
- the new parent node to be assigned to the cloned element.newElementName
- the new element namecloneProcessors
- whether the precomputed list of processors should be cloned too or not.Copyright © 2016 The THYMELEAF team. All rights reserved.