| java.lang.Object org.quilt.frontend.ant.SummaryAttribute
SummaryAttribute | public class SummaryAttribute (Code) | | Accept a limited set of String values for the summary attribute.
|
Method Summary | |
public boolean | asBoolean() | public String | getValue() Return the value successfully set.
The String passed as the value of the summary attribute. | final public void | setValue(String value) Ant-compatible set method. |
SummaryAttribute | public SummaryAttribute(String v)(Code) | | Constructor.
Parameters: v - A candidate value; causes exception if invalid. |
asBoolean | public boolean asBoolean()(Code) | | True if the value was on/true/withoutanderr/yes, falseotherwise. |
getValue | public String getValue()(Code) | | Return the value successfully set.
The String passed as the value of the summary attribute. |
setValue | final public void setValue(String value) throws BuildException(Code) | | Ant-compatible set method. Interprets on/true/withoutanderr/yes
as true, false/no/off as false, and throws exception otherwise.
Parameters: v - String, converted to lower case before checking. |
|
|