public class ParserSupports extends ProjectComponent implements Condition
| Type | Property and Description | 
|---|---|
| boolean | evalSet a property | 
| Modifier and Type | Field and Description | 
|---|---|
| static String | ERROR_BOTH_ATTRIBUTESerror - combined attributes not allowed | 
| static String | ERROR_NO_ATTRIBUTESerror - missing attribute | 
| static String | ERROR_NO_VALUEerror - no value | 
| static String | FEATUREfeature | 
| static String | NOT_RECOGNIZEDerror - not recognized | 
| static String | NOT_SUPPORTEDerror - not supported | 
| static String | PROPERTYproperty | 
| Constructor and Description | 
|---|
| ParserSupports() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | eval()Is this condition true? | 
| 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. | 
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectpublic static final String ERROR_BOTH_ATTRIBUTES
public static final String ERROR_NO_ATTRIBUTES
public static final String ERROR_NO_VALUE
public static final String FEATURE
public static final String NOT_RECOGNIZED
public static final String NOT_SUPPORTED
public static final String PROPERTY
public boolean eval()
             throws BuildException
eval in interface ConditionBuildException - if an error occurspublic boolean evalFeature()
public boolean evalProperty()
public void setFeature(String feature)
feature - the feature to probe for.public void setProperty(String property)
property - the property to probe for.public void setValue(String value)
value - the value to set.