edu.wpi.cs.dsrg.utils
Class XATLeaf

java.lang.Object
  |
  +--edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNodeImp
        |
        +--edu.wpi.cs.dsrg.utils.XATLeaf

public class XATLeaf
extends XATNodeImp

This class define the XATLeaf node.

Since:
1.0
See Also:
Serialized Form

Fields inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNodeImp
children, operator, parent, schema
 
Constructor Summary
XATLeaf()
          The default XATLeaf constructor.
XATLeaf(int dep)
          The XATLeaf constructor given depth.
XATLeaf(XATNode node, int dep)
          The XATLeaf constructor using given depth and XATNode.
 
Method Summary
 int getDepth()
          Get the depth of XATLeaf node.
 void setDepth(int dep)
          Set the depth of XATLeaf node.
 
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNodeImp
addChild, addChild, clearSchema, clone, deleteChild, getChild, getChildren, getChildrenSize, getIndexOf, getOperator, getParent, getParents, getSchema, locateChild, setChild, setChildren, setOperator, setParent, setSchema, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XATLeaf

public XATLeaf()
The default XATLeaf constructor.
Since:
1.0

XATLeaf

public XATLeaf(int dep)
The XATLeaf constructor given depth.
Parameters:
dep - The depth of XATLeaf node.
Since:
1.0

XATLeaf

public XATLeaf(XATNode node,
               int dep)
The XATLeaf constructor using given depth and XATNode.
Parameters:
dep - The depth of XATLeaf node.
node - The XAtNode for constructe leaf node.
Since:
1.0
Method Detail

getDepth

public int getDepth()
Get the depth of XATLeaf node.
Returns:
int The depth of XATLeaf node.
Since:
1.0

setDepth

public void setDepth(int dep)
Set the depth of XATLeaf node.
Parameters:
dep - The depth of XATLeaf node.
Since:
1.0