code: public void replaceWith(String nodeName) {
  		feature = null;
  		this.nodeName = nodeName;
  		trueNode = falseNode = null;
  	}
docs: Replaces the properties of the current node with the specified node name, making this node
  into an end point node.
  
  @param nodeName
  The name of the end point.