|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.umd.cs.db.xsq.XPathNode
XPathNode is the functional unit, location step, in the XPath query expression. Please refer to README for general information about the XPath query expression. For example, the XPath expression "/publication//book[@price>20]/title" contains three context nodes: 1. /publication 2. //book[@price>20] 3. /title
Constructor Summary | |
XPathNode()
|
|
XPathNode(java.lang.String tag,
java.lang.String filter,
java.lang.String output,
boolean closure)
|
Method Summary | |
java.lang.String |
getFilter()
Get the filter String. |
java.lang.String |
getOutput()
Get the output String. |
java.lang.String |
getTag()
Get the tag. |
boolean |
isClosure()
Get the value of closure. |
boolean |
nextIsClosure()
Get the value of mNextIsClosure. |
void |
printNode(int depth)
|
void |
setClosure(boolean v)
Set the value of closure. |
void |
setFilter(java.lang.String newFilter)
Set the filter String. |
void |
setNextIsClosure(boolean v)
Set the value of nextIsClosure. |
void |
setOutput(java.lang.String newOutput)
Set the output String. |
void |
setTag(java.lang.String newTag)
Set the tag. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XPathNode()
public XPathNode(java.lang.String tag, java.lang.String filter, java.lang.String output, boolean closure)
Method Detail |
public boolean nextIsClosure()
public void setNextIsClosure(boolean v)
v
- Value to assign to nextIsClosure.public boolean isClosure()
public void setClosure(boolean v)
v
- Value to assign to closure.public void setTag(java.lang.String newTag)
public java.lang.String getTag()
public void setFilter(java.lang.String newFilter)
public java.lang.String getFilter()
public void setOutput(java.lang.String newOutput)
public java.lang.String getOutput()
public void printNode(int depth)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |