|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.taskdefs.XSLTProcess.Param
The Param inner class used to store XSL parameters
Constructor Summary | |
XSLTProcess.Param()
|
Method Summary | |
java.lang.String |
getExpression()
Get the parameter's value |
java.lang.String |
getName()
Get the parameter name |
void |
setExpression(java.lang.String expression)
The parameter value NOTE : was intended to be an XSL expression. |
void |
setIf(java.lang.String ifProperty)
Set whether this param should be used. |
void |
setName(java.lang.String name)
Set the parameter name. |
void |
setProject(Project project)
Set the current project |
void |
setUnless(java.lang.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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XSLTProcess.Param()
Method Detail |
public void setProject(Project project)
project
- the current projectpublic void setName(java.lang.String name)
name
- the name of the parameter.public void setExpression(java.lang.String expression)
expression
- the parameter's value.public java.lang.String getName() throws BuildException
BuildException
- if the name is not set.public java.lang.String getExpression() throws BuildException
BuildException
- if the value is not set.public void setIf(java.lang.String ifProperty)
ifProperty
- name of propertypublic void setUnless(java.lang.String unlessProperty)
unlessProperty
- name of propertypublic boolean shouldUse()
if
and unless
properties.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |