|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.tspaces.xtuples.SubPath
The SubPath class encapsulates a single path node in the path expression of the XQuery. Here is the list of components inside an SubPath 1. boolean wildcard - is this subpath a wildcard 2. boolean descendant - is this subpath a "//" 3. String tagname 4. String value 5. Vector attributes
XQuery,
XQueryImpl,
XTuple,
TupleTree,
XTupleException| Constructor Summary | |
SubPath(boolean snip)
If the subpath node is just a "//", then this constructor sets that flag. |
|
SubPath(java.lang.String pathString)
Converts a pathString excerpt to an encapsulation of the XQL constructs. |
|
| Method Summary | |
java.util.Vector |
getAttributes()
Access method for the attribute constraints. |
java.lang.String |
getTagName()
Access method for the tagname of the subpath node. |
java.lang.String |
getTagValue()
Access method for the tag value of the subpath node. |
boolean |
isDescendant()
Access method for descendant |
boolean |
isWild()
Returns whether the pathnode is a wildcard |
static void |
main(java.lang.String[] argv)
|
java.lang.String |
toString()
The method that prints out the contents of the subpath node in a pretty format |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public SubPath(java.lang.String pathString)
throws XTupleException
pathString - The string to be convertedpublic SubPath(boolean snip)
snip - is the true boolean value if the subpath node is a "//"| Method Detail |
public boolean isWild()
public boolean isDescendant()
public java.lang.String getTagName()
public java.lang.String getTagValue()
public java.util.Vector getAttributes()
public java.lang.String toString()
public static void main(java.lang.String[] argv)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||