java.lang.Cloneable
, EnableAttribute
IfBlankAttribute
, IfSetAttribute
, IfTrueAttribute
public abstract class BaseIfAttribute extends ProjectComponent implements EnableAttribute
description, location, project
Constructor | Description |
---|---|
BaseIfAttribute() |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
convertResult(boolean val) |
convert the result.
|
protected java.util.Map<java.lang.String,java.lang.String> |
getParams(UnknownElement el) |
Get all the attributes in the ant-attribute:param
namespace and place them in a map.
|
protected boolean |
isPositive() |
Get the positive flag.
|
protected void |
setPositive(boolean positive) |
Set the positive flag.
|
isEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
protected void setPositive(boolean positive)
positive
- the value to use.protected boolean isPositive()
protected boolean convertResult(boolean val)
val
- the result to convertprotected java.util.Map<java.lang.String,java.lang.String> getParams(UnknownElement el)
el
- the element this attribute is in.