|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The class defines the node of XATTree.
Method Summary | |
int |
addChild(XATNode new_child)
Add one child to this node. |
int |
addChild(XATNode new_child,
int position)
Add one child to this node at specified position. |
java.util.Set |
clearSchema()
Clear the schema of this XATNode. |
java.lang.Object |
clone()
Deep clone this XATNode. |
int |
deleteChild(XATNode child)
Delete a child from this node. |
XATNode |
getChild(int position)
Get a specific child node of this node by their position. |
XATNode[] |
getChildren()
Get all the children nodes of this node. |
int |
getChildrenSize()
Returns how many children this node has |
int |
getIndexOf(XATNode node)
Return the index of a node. |
XATOperator |
getOperator()
Get the operator in this Node. |
XATNode |
getParent()
Get the parent node of this node. |
java.util.Iterator |
getParents()
Get an Iterator of all of the parents. |
java.util.Set |
getSchema()
Get the schema of this XATNode. |
int |
locateChild(XATNode child)
Get a position for a specific child node. |
XATNode |
setChild(int position,
XATNode new_child)
Set a specific child to be a new child node. |
XATNode[] |
setChildren(XATNode[] new_children)
Set all the children nodes of this node. |
XATOperator |
setOperator(XATOperator new_operator)
Set the operator in this Node. |
XATNode |
setParent(XATNode new_parent)
Set the parent node of this node. |
java.util.Set |
setSchema(java.util.Set new_schema)
Set the schema for current node. |
Method Detail |
public int addChild(XATNode new_child)
new_child
- The new child node added.public int addChild(XATNode new_child, int position)
new_child
- The new child node.position
- The position of new added node.public java.util.Set clearSchema()
public java.lang.Object clone()
public int deleteChild(XATNode child)
child
- The to-be-deleted child node.public XATNode getChild(int position) throws XATNodeDoesNotExistException
position
- The position of the child node.public XATNode[] getChildren()
public int getChildrenSize()
public int getIndexOf(XATNode node)
node
- The XATNode computing index for.public XATOperator getOperator()
public XATNode getParent()
public java.util.Iterator getParents()
public java.util.Set getSchema()
public int locateChild(XATNode child)
child
- The reference of child node searching for.public XATNode setChild(int position, XATNode new_child) throws XATNodeDoesNotExistException
position
- The position of the child node.new_child
- The new child node.public XATNode[] setChildren(XATNode[] new_children)
new_children
- The new children nodes.public XATOperator setOperator(XATOperator new_operator)
new_operator
- The new operator in this node.public XATNode setParent(XATNode new_parent)
new_parent
- The new parent node of this node.public java.util.Set setSchema(java.util.Set new_schema)
new_schema
- The new schema for this node.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |