org.apache.tools.ant.taskdefs
Class XSLTProcess.Param
java.lang.Object
org.apache.tools.ant.taskdefs.XSLTProcess.Param
- XSLTProcess
public static class XSLTProcess.Param
extends java.lang.Object
The Param inner class used to store XSL parameters
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.
|
getExpression
public String getExpression()
throws BuildException
Get the parameter's value
getName
public String getName()
throws BuildException
Get the parameter name
setExpression
public void setExpression(String expression)
The parameter value
NOTE : was intended to be an XSL expression.
expression
- the parameter's value.
setIf
public void setIf(String ifProperty)
Set whether this param should be used. It will be
used if the property has been set, otherwise it won't.
ifProperty
- name of property
setName
public void setName(String name)
Set the parameter name.
name
- the name of the parameter.
setProject
public void setProject(Project project)
Set the current project
project
- the current project
setUnless
public void setUnless(String unlessProperty)
Set whether this param should NOT be used. It
will not be used if the property has been set, otherwise it
will be used.
unlessProperty
- name of property
shouldUse
public boolean shouldUse()
Ensures that the param passes the conditions placed
on it with if
and unless
properties.
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.