| |
|
| org.apache.tools.ant.types.DataType org.apache.tools.ant.types.Substitution
Substitution | public class Substitution extends DataType (Code) | | A regular expression substitution datatype. It is an expression
that is meant to replace a regular expression.
<substitition [ [id="id"] expression="expression" | refid="id" ]
/>
See Also: org.apache.oro.text.regex.Perl5Substitution |
Constructor Summary | |
public | Substitution() Constructor for Substitution. |
DATA_TYPE_NAME | final public static String DATA_TYPE_NAME(Code) | | The name of this data type
|
Substitution | public Substitution()(Code) | | Constructor for Substitution.
|
getExpression | public String getExpression(Project p)(Code) | | Gets the pattern string for this RegularExpression in the
given project.
Parameters: p - the project to look for the regular expression if this object isa reference the pattern string |
getRef | public Substitution getRef(Project p)(Code) | | Get the RegularExpression this reference refers to in
the given project. Check for circular references too.
Parameters: p - the project to look for the regular expression reference the resolved reference |
setExpression | public void setExpression(String expression)(Code) | | Set the pattern string for this regular expression substitution.
Parameters: expression - the regular expression to use |
|
|
|