|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.fikin.ant.types.IfUnless
net.sf.fikin.ant.XPathTask.Select
public class XPathTask.Select
Represents a value-of nested tag created on Jan 3, 2007
| Constructor Summary | |
|---|---|
XPathTask.Select()
|
|
| Method Summary | |
|---|---|
void |
check(org.apache.tools.ant.Task task)
check if parent is ok and classname has been set |
void |
compileXPathExpression()
compile the expression into an XPathExpression object |
java.lang.Object |
evaluate(org.w3c.dom.Node root)
evaluate the expression against that root and return the result |
javax.xml.xpath.XPathExpression |
getExpt()
instantiate the expression if needed |
java.lang.String |
getSelect()
|
void |
setSelect(java.lang.String select)
set xpath select expression |
| Methods inherited from class net.sf.fikin.ant.types.IfUnless |
|---|
setIf, setUnless, shouldUse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XPathTask.Select()
| Method Detail |
|---|
public void compileXPathExpression()
throws javax.xml.xpath.XPathExpressionException
javax.xml.xpath.XPathExpressionException
public javax.xml.xpath.XPathExpression getExpt()
throws javax.xml.xpath.XPathExpressionException
javax.xml.xpath.XPathExpressionException
public java.lang.Object evaluate(org.w3c.dom.Node root)
throws javax.xml.xpath.XPathExpressionException
compile the expression if not that yet
root -
javax.xml.xpath.XPathExpressionExceptionpublic void setSelect(java.lang.String select)
select - xpath select expressionpublic java.lang.String getSelect()
public void check(org.apache.tools.ant.Task task)
throws org.apache.tools.ant.BuildException
task - is enclosing ant task
org.apache.tools.ant.BuildException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||