public interface IBaseNode
extends java.lang.Cloneable
Modifier and Type | Method and Description |
---|---|
IBaseNode |
clone() |
java.util.ArrayList<IBaseNode> |
getChildren() |
<T extends IBaseNode> |
getNode(java.lang.Class<T> nodeType,
java.lang.String property,
java.lang.String value)
Fetch the first node in the child structure by a depth first search that
corresponds to the given NodeType and fulfills the property constraint.
|
NodeType |
getNodeType() |
IBaseNode |
getParent() |
void |
setParent(IBaseNode parent) |
boolean |
structurallyEquals(IBaseNode other) |
void |
update(IBaseNode other) |
NodeType getNodeType()
void setParent(IBaseNode parent)
IBaseNode getParent()
java.util.ArrayList<IBaseNode> getChildren()
IBaseNode clone()
boolean structurallyEquals(IBaseNode other)
void update(IBaseNode other)
<T extends IBaseNode> T getNode(java.lang.Class<T> nodeType, java.lang.String property, java.lang.String value)
T
- - the intended node typenodeType
- - the intended node typeproperty
- - a property of the node that should be checked or null if
no check should be performedvalue
- - the value which the specified property should contain