|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.attribute.BaseIfAttribute org.apache.tools.ant.attribute.IfTrueAttribute
public class IfTrueAttribute
Check if an attribute value is true or not.
Nested Class Summary | |
---|---|
static class |
IfTrueAttribute.Unless
The unless version |
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
IfTrueAttribute()
|
Method Summary | |
---|---|
boolean |
isEnabled(UnknownElement el,
java.lang.String value)
check if the attribute value is true or not is enabled. |
Methods inherited from class org.apache.tools.ant.attribute.BaseIfAttribute |
---|
convertResult, getParams, isPositive, setPositive |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IfTrueAttribute()
Method Detail |
---|
public boolean isEnabled(UnknownElement el, java.lang.String value)
el
- the unknown element this attribute is in.value
- the value of the attribute.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |