Package org.apache.tools.ant.taskdefs
Class Replace.NestedString
- java.lang.Object
- 
- org.apache.tools.ant.taskdefs.Replace.NestedString
 
- 
- Enclosing class:
- Replace
 
 public class Replace.NestedString extends java.lang.ObjectAn inline string to use as the replacement text.
- 
- 
Constructor SummaryConstructors Constructor Description NestedString()
 - 
Method SummaryModifier and Type Method Description voidaddText(java.lang.String val)The text of the element.java.lang.StringgetText()voidsetExpandProperties(boolean b)Whether properties should be expanded in nested test.
 
- 
- 
- 
Method Detail- 
setExpandPropertiespublic void setExpandProperties(boolean b) Whether properties should be expanded in nested test.If you use this class via its Java interface the text you add via addTexthas most likely been expanded already so you do not want to set this to true.- Parameters:
- b- boolean
- Since:
- Ant 1.8.0
 
 - 
addTextpublic void addText(java.lang.String val) The text of the element.- Parameters:
- val- the string to add
 
 - 
getTextpublic java.lang.String getText() - Returns:
- the text
 
 
- 
 
-