public abstract class Node
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
Constructor and Description |
---|
Node()
Constructor for JAXB.
|
Node(Node other)
Constructor for flat cloning
|
Node(java.lang.String name)
Returns a
String that represents the value of this
Node . |
Modifier and Type | Method and Description |
---|---|
abstract Node |
deepClone() |
Node |
getDeepestDescendant() |
int |
getIndex() |
protected Node |
getLastChild() |
Node |
getLinearlyPreceedingNode() |
Node |
getLinearlySucceedingNode() |
java.lang.String |
getName() |
Node |
getNextSibling() |
Node |
getNode(int index) |
int |
getNumberOfNodes() |
Trigger |
getParent() |
Node |
getPreviousSibling() |
boolean |
isAncestor(Node child) |
void |
setName(java.lang.String name) |
void |
setParent(Trigger parent) |
abstract org.w3c.dom.Element |
toElement(org.w3c.dom.Document document,
boolean deep) |
abstract java.lang.String |
toString(boolean deep,
int level) |
public Node(java.lang.String name)
String
that represents the value of this
Node
.deep
- If set the function will be called recursively for sub nodes if any.public Node()
public Node(Node other)
public java.lang.String getName()
public void setName(java.lang.String name)
public abstract java.lang.String toString(boolean deep, int level)
public abstract org.w3c.dom.Element toElement(org.w3c.dom.Document document, boolean deep)
public void setParent(Trigger parent)
public Trigger getParent()
public boolean isAncestor(Node child)
public int getNumberOfNodes()
public Node getNode(int index)
public int getIndex()
public Node getLinearlySucceedingNode()
public Node getLinearlyPreceedingNode()
public Node getDeepestDescendant()
protected Node getLastChild()
public Node getNextSibling()
public Node getPreviousSibling()
public abstract Node deepClone()