public class Replace.Replacefilter
extends java.lang.Object
Constructor and Description |
---|
Replacefilter() |
Modifier and Type | Method and Description |
---|---|
Replace.NestedString |
createReplaceToken()
Create a token to filter as the text of a nested element.
|
Replace.NestedString |
createReplaceValue()
Create a string to replace the token as the text of a nested element.
|
java.lang.String |
getProperty()
Get the name of the property whose value is to serve as
the replacement value.
|
java.lang.String |
getReplaceValue()
Get the replacement value for this filter token.
|
java.lang.String |
getToken()
Get the string to search for.
|
java.lang.String |
getValue()
Get replacement
String . |
void |
setProperty(java.lang.String property)
Set the name of the property whose value is to serve as
the replacement value; required if
value is not set. |
void |
setToken(java.lang.String t)
Set the token to replace.
|
void |
setValue(java.lang.String value)
The replacement string; required if
property
is not set. |
void |
validate()
Validate the filter's configuration.
|
public void validate() throws BuildException
BuildException
- if any part is invalid.public java.lang.String getReplaceValue()
public void setToken(java.lang.String t)
t
- String
token.public java.lang.String getToken()
String
token.public void setValue(java.lang.String value)
property
is not set.value
- String
value to replace.public java.lang.String getValue()
String
.public void setProperty(java.lang.String property)
value
is not set.property
- property name.public java.lang.String getProperty()
public Replace.NestedString createReplaceToken()
NestedString
to configure.public Replace.NestedString createReplaceValue()
NestedString
to configure.