org.apache.tools.ant.attribute

Class IfTrueAttribute

    • Constructor Detail

      • IfTrueAttribute

        public IfTrueAttribute()
    • Method Detail

      • isEnabled

        public boolean isEnabled(UnknownElement el,
                                 java.lang.String value)
        check if the attribute value is true or not is enabled.
        Parameters:
        el - the unknown element this attribute is in.
        value - the value of the attribute.
        Returns:
        true if the attribute enables the element, false otherwise.