Package org.apache.tools.ant.types
Class PropertySet.PropertyRef
- java.lang.Object
- 
- org.apache.tools.ant.types.PropertySet.PropertyRef
 
- 
- Enclosing class:
- PropertySet
 
 public static class PropertySet.PropertyRef extends java.lang.ObjectThis is a nested class containing a reference to some properties and optionally a source of properties.
- 
- 
Constructor SummaryConstructors Constructor Description PropertyRef()
 - 
Method SummaryModifier and Type Method Description voidsetBuiltin(PropertySet.BuiltinPropertySetName b)Builtin property names - all, system or commandline.voidsetName(java.lang.String name)Set the name.voidsetPrefix(java.lang.String prefix)Set the prefix to use.voidsetRegex(java.lang.String regex)Set the regular expression to use to filter the properties.java.lang.StringtoString()A debug toString().
 
- 
- 
- 
Method Detail- 
setNamepublic void setName(java.lang.String name) Set the name.- Parameters:
- name- a- Stringvalue.
 
 - 
setRegexpublic void setRegex(java.lang.String regex) Set the regular expression to use to filter the properties.- Parameters:
- regex- a regular expression.
 
 - 
setPrefixpublic void setPrefix(java.lang.String prefix) Set the prefix to use.- Parameters:
- prefix- a- Stringvalue.
 
 - 
setBuiltinpublic void setBuiltin(PropertySet.BuiltinPropertySetName b) Builtin property names - all, system or commandline.- Parameters:
- b- an enumerated- BuildinPropertySetNamevalue.
 
 - 
toStringpublic java.lang.String toString() A debug toString().- Overrides:
- toStringin class- java.lang.Object
- Returns:
- a string version of this object.
 
 
- 
 
-