public void ReplaceBy(Node node) { if(parent_node != null) { parent_node.ReplaceChild(this, node); } }
protected Node CloneNode(Node node) { if(node != null) { return (Node) node.Clone(); } return null; }
protected string ToString(Node node) { if(node != null) { return node.ToString(); } return ""; }
internal abstract void ReplaceChild(Node oldChild, Node newChild);
internal abstract void RemoveChild(Node child);
internal void Parent(Node parent_node) { this.parent_node = parent_node; }