<substitition [ [id="id"] expression="expression" | refid="id" ] />
Constructor for Substitution. this.expression = null;
this.expression = null;
Gets the pattern string for this RegularExpression in the given project.paramp the project to look for the regular expression if this object is a referencereturnthe pattern string if (isReference()) { return getRef(p).getExpression(p); } return expression;
if (isReference()) { return getRef(p).getExpression(p); } return expression;
Get the RegularExpression this reference refers to in the given project. Check for circular references too.paramp the project to look for the regular expression referencereturnthe resolved reference return (Substitution) getCheckedRef(p);
return (Substitution) getCheckedRef(p);
Set the pattern string for this regular expression substitution.paramexpression the regular expression to use this.expression = expression;
this.expression = expression;