|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.ant.AntTransform.Param
public static class AntTransform.Param
The Param inner class used to store XSL parameters
Constructor Summary | |
---|---|
AntTransform.Param()
|
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(org.apache.tools.ant.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AntTransform.Param()
Method Detail |
---|
public void setProject(org.apache.tools.ant.Project project)
project
- the current projectpublic void setName(String name)
name
- the name of the parameter.public void setExpression(String expression)
expression
- the parameter's value.public String getName() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
- if the name is not set.public String getExpression() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
- if the value is not set.public void setIf(String ifProperty)
ifProperty
- name of propertypublic void setUnless(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 |