org.apache.tools.ant.taskdefs
public static class XSLTProcess.Param extends Object
| Method Summary | |
|---|---|
| String | getExpression()
Get the parameter's value
|
| String | getName()
Get the parameter name
|
| void | setExpression(String expression)
The parameter value
NOTE : was intended to be an XSL expression. |
| void | setIf(String ifProperty)
Set whether this param should be used. |
| void | setName(String name)
Set the parameter name.
|
| void | setProject(Project project)
Set the current project
|
| void | setUnless(String unlessProperty)
Set whether this param should NOT be used. |
| boolean | shouldUse()
Ensures that the param passes the conditions placed
on it with if and unless properties. |
Returns: the parameter value
Throws: BuildException if the value is not set.
Returns: the parameter name
Throws: BuildException if the name is not set.
Parameters: expression the parameter's value.
Parameters: ifProperty name of property
Parameters: name the name of the parameter.
Parameters: project the current project
Parameters: unlessProperty name of property
if and unless properties.Returns: true if the task passes the "if" and "unless" parameters