public abstract class AbstractGroupNode extends AbstractTransformationNode implements GroupNode
ANNOTATION_CHILDREN
Constructor and Description |
---|
AbstractGroupNode(GroupNode parent)
Create a group node.
|
Modifier and Type | Method and Description |
---|---|
void |
addAnnotatedChild(TargetNode node)
Add a node as annotated child.
|
List<TargetNode> |
getChildren(boolean includeAnnotations)
Get the type/group/property's children
|
abstract List<TargetNode> |
getFixedChildren()
Get the fixed target node children, i.e.
|
GroupNode |
getParent()
Get the parent group node
|
getAnnotation, hasAnnotations, reset, setAnnotation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, getAnnotation, hasAnnotations, reset, setAnnotation
public AbstractGroupNode(GroupNode parent)
parent
- the parent node, may be null
public abstract List<TargetNode> getFixedChildren()
public GroupNode getParent()
GroupNode
getParent
in interface GroupNode
null
GroupNode.getParent()
public List<TargetNode> getChildren(boolean includeAnnotations)
GroupNode
getChildren
in interface GroupNode
includeAnnotations
- if annotated children should be includedGroupNode.getChildren(boolean)
public void addAnnotatedChild(TargetNode node)
GroupNode
TransformationNode.reset()
.addAnnotatedChild
in interface GroupNode
node
- the target node to add as annotated childGroupNode.addAnnotatedChild(TargetNode)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a