|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.path.PathNode
public class PathNode
A PathNode is a node in the XNodePath. The path node specifies the selection of tree nodes on one subtree level. If the subtree is a sequence node (multiple nodes with same node name), a condition can be attached to the path node to select a subset of nodes from the sequence.
| Constructor Summary | |
|---|---|
PathNode(String name)
Create a path node. |
|
PathNode(String name,
ConditionExpression cond)
Create a path node. |
|
| Method Summary | |
|---|---|
Object |
clone()
Returns a clone of this object. |
ConditionExpression |
getCondition()
Get the path node condition. |
String |
getName()
Get the path node name. |
XNode |
select(XNode root,
VariableTable vars)
Select a node from the tree that matches this node. |
void |
setCondition(ConditionExpression cond)
Set the path node condition. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PathNode(String name)
name - tree node to select.
public PathNode(String name,
ConditionExpression cond)
name - tree node to select.cond - condition used to select nodes from the sequence.| Method Detail |
|---|
public String getName()
public ConditionExpression getCondition()
public void setCondition(ConditionExpression cond)
public XNode select(XNode root,
VariableTable vars)
throws Exception
Exceptionpublic String toString()
toString in class Objectpublic Object clone()
clone in class Object
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||