org.apache.tools.ant.taskdefs.condition
public class ParserSupports extends ProjectComponent implements Condition
Since: Ant 1.7
| Field Summary | |
|---|---|
| static String | ERROR_BOTH_ATTRIBUTES error - combined attributes not allowed |
| static String | ERROR_NO_ATTRIBUTES error - missing attribute |
| static String | ERROR_NO_VALUE error - no value |
| static String | FEATURE feature |
| static String | NOT_RECOGNIZED error - not recognized |
| static String | NOT_SUPPORTED error - not supported |
| static String | PROPERTY property |
| Method Summary | |
|---|---|
| boolean | eval() {@inheritDoc }. |
| boolean | evalFeature()
Set a feature |
| boolean | evalProperty()
Set a property |
| void | setFeature(String feature)
Feature to probe for. |
| void | setProperty(String property)
Property to probe for |
| void | setValue(String value)
Optional value to set.
|
Returns: true if the feature could be set
Returns: true if the feature could be set
Parameters: feature the feature to probe for.
Parameters: property the property to probe for.
Parameters: value the value to set.