org.thymeleaf.dom
Class GroupNode

Object
  extended by org.thymeleaf.dom.Node
      extended by org.thymeleaf.dom.NestableNode
          extended by org.thymeleaf.dom.NestableAttributeHolderNode
              extended by org.thymeleaf.dom.GroupNode
All Implemented Interfaces:
Serializable

public final class GroupNode
extends NestableAttributeHolderNode

A node group, potentially with attributes but no element name (no tag associated).

Since:
2.0.8
Author:
Daniel Fernández
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.thymeleaf.dom.Node
Node.NodeLocalVariablesMap
 
Field Summary
 
Fields inherited from class org.thymeleaf.dom.Node
NODE_PROPERTY_XML_ENCODING, NODE_PROPERTY_XML_STANDALONE, NODE_PROPERTY_XML_VERSION
 
Constructor Summary
GroupNode()
           
GroupNode(String documentName)
           
GroupNode(String documentName, Integer lineNumber)
           
 
Method Summary
 GroupNode cloneElementNodeWithNewName(NestableNode newParent, String newElementName, boolean cloneProcessors)
           Clones this element node, setting it a new name in the process.
 
Methods inherited from class org.thymeleaf.dom.NestableAttributeHolderNode
clearAttributes, getAttributeFromNormalizedName, getAttributeMap, getAttributeOriginalNameFromNormalizedName, getAttributeValue, getAttributeValueFromNormalizedName, getAttributeValueFromNormalizedName, hasAttribute, hasAttributes, hasNormalizedAttribute, hasNormalizedAttribute, numAttributes, removeAttribute, setAttribute, setAttribute, setAttributes, unsafeGetAttributeNormalizedNames, unsafeGetAttributes
 
Methods inherited from class org.thymeleaf.dom.NestableNode
addChild, clearChildren, extractChild, getChildren, getElementChildren, getFirstChild, getFirstElementChild, hasChildren, insertAfter, insertBefore, insertChild, moveAllChildren, numChildren, removeChild, removeChild, setChildren, setProcessCommentNodes, setProcessTextNodes, unsafeGetChildrenNodeArray, visit
 
Methods inherited from class org.thymeleaf.dom.Node
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
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupNode

public GroupNode()

GroupNode

public GroupNode(String documentName)

GroupNode

public GroupNode(String documentName,
                 Integer lineNumber)
Method Detail

cloneElementNodeWithNewName

public GroupNode cloneElementNodeWithNewName(NestableNode newParent,
                                             String newElementName,
                                             boolean cloneProcessors)

Clones this element node, setting it a new name in the process.

Parameters:
newParent - the new parent node to be assigned to the cloned element.
newElementName - the new element name
cloneProcessors - whether the precomputed list of processors should be cloned too or not.
Returns:
the cloned element.


Copyright © 2013 The THYMELEAF team. All Rights Reserved.