org.apache.tools.ant.attribute

Class IfBlankAttribute

    • Constructor Detail

      • IfBlankAttribute

        public IfBlankAttribute()
    • Method Detail

      • isEnabled

        public boolean isEnabled(UnknownElement el,
                                 java.lang.String value)
        check if the attribute value is blank 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.