Top Description Methods
org.apache.tools.ant.attribute

public Interface EnableAttribute

Known Direct Implementers
org.apache.tools.ant.attribute.BaseIfAttribute
Imports
org.apache.tools.ant.UnknownElement

This interface is used by Ant attributes.
Since
Ant 1.9.1

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the attribute enables the element, false otherwise.
isEnabled
(UnknownElement
the unknown element this attribute is in.
el
,
String
the value of the attribute.
value
)

is enabled.

Method Detail

isEnabledback to summary
public boolean isEnabled(UnknownElement el, String value)

is enabled.

Parameters
el:UnknownElement

the unknown element this attribute is in.

value:String

the value of the attribute.

Returns:boolean

true if the attribute enables the element, false otherwise.