| |
|
| java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.taskdefs.condition.ParserSupports
ParserSupports | public class ParserSupports extends ProjectComponent implements Condition(Code) | | Test for the XML parser supporting a particular feature
since: Ant 1.7 |
ERROR_BOTH_ATTRIBUTES | final public static String ERROR_BOTH_ATTRIBUTES(Code) | | error - combined attributes not allowed
|
ERROR_NO_ATTRIBUTES | final public static String ERROR_NO_ATTRIBUTES(Code) | | error - missing attribute
|
ERROR_NO_VALUE | final public static String ERROR_NO_VALUE(Code) | | error - no value
|
NOT_RECOGNIZED | final public static String NOT_RECOGNIZED(Code) | | error - not recognized
|
NOT_SUPPORTED | final public static String NOT_SUPPORTED(Code) | | error - not supported
|
evalFeature | public boolean evalFeature()(Code) | | Set a feature
true if the feature could be set |
evalProperty | public boolean evalProperty()(Code) | | Set a property
true if the feature could be set |
setFeature | public void setFeature(String feature)(Code) | | Feature to probe for.
Parameters: feature - the feature to probe for. |
setProperty | public void setProperty(String property)(Code) | | Property to probe for
Parameters: property - the property to probe for. |
setValue | public void setValue(String value)(Code) | | Optional value to set.
Converted to a boolean value when setting a property
Parameters: value - the value to set. |
|
|
|