|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.fikin.ant.types.IfUnless net.sf.fikin.ant.types.Namespace net.sf.fikin.ant.XPathTask.Function
public class XPathTask.Function
Represent a function tag created on Jan 3, 2007
Constructor Summary | |
---|---|
XPathTask.Function()
|
Method Summary | |
---|---|
void |
check(org.apache.tools.ant.Task task)
check if parent is ok and classname has been set test classname and name has been given test that classname is present in classpath and object can be instantiated |
java.lang.String |
getClassname()
|
boolean |
getIsReusable()
|
java.lang.String |
getName()
|
javax.xml.xpath.XPathFunction |
getXPathFunction()
|
void |
setClassname(java.lang.String fqclsname)
set classname of the function |
void |
setIsReusable(boolean flg)
is the function object reusable i.e. |
void |
setName(java.lang.String name)
function name in xpath |
Methods inherited from class net.sf.fikin.ant.types.Namespace |
---|
getPrefix, getUri, setPrefix, setUri |
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.Function()
Method Detail |
---|
public void setClassname(java.lang.String fqclsname)
fqclsname
- of the functionpublic java.lang.String getClassname()
public void setName(java.lang.String name)
name
- public java.lang.String getName()
public void setIsReusable(boolean flg)
by default true
flg
- true if function object is reusable i.e. statelesspublic boolean getIsReusable()
public void check(org.apache.tools.ant.Task task) throws org.apache.tools.ant.BuildException
check
in interface Type
check
in class Namespace
task
- is enclosing ant task
org.apache.tools.ant.BuildException
public javax.xml.xpath.XPathFunction getXPathFunction() throws java.lang.NullPointerException
javax.xml.xpath.XPathFunctionException
java.lang.NullPointerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |