blob: 934437aaf76a7f3a209e3473e987eee077de6024 [file] [log] [blame]
/*
* Contains code originally developed for Apache Pivot under the Apache
* License, Version 2.0:
*
* http://www.apache.org/licenses/LICENSE-2.0
*/
package org.apache.pivot.xml;
/**
* Abstract base class for XML nodes.
*/
public abstract class Node {
private Element parent = null;
/**
* Returns the parent element of the node.
*/
public Element getParent() {
return parent;
}
/**
* Sets the parent element of the node.
*
* @param parent
*/
protected void setParent(Element parent) {
this.parent = parent;
}
}