|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.taskdefs.MacroDef.TemplateElement
A nested element for the MacroDef task.
Constructor Summary | |
MacroDef.TemplateElement()
|
Method Summary | |
boolean |
equals(java.lang.Object obj)
equality method |
java.lang.String |
getDescription()
|
java.lang.String |
getName()
|
int |
hashCode()
|
boolean |
isImplicit()
|
boolean |
isOptional()
|
void |
setDescription(java.lang.String desc)
|
void |
setImplicit(boolean implicit)
is this element implicit ? |
void |
setName(java.lang.String name)
The name of the element. |
void |
setOptional(boolean optional)
is this element optional ? |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MacroDef.TemplateElement()
Method Detail |
public void setName(java.lang.String name)
name
- the name of the element.public java.lang.String getName()
public void setOptional(boolean optional)
optional
- if true this element may be left out, default
is false.public boolean isOptional()
public void setImplicit(boolean implicit)
implicit
- if true this element may be left out, default
is false.public boolean isImplicit()
public void setDescription(java.lang.String desc)
desc
- Description of the element.public java.lang.String getDescription()
null
if
no description is available.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- an Object
value
boolean
valuepublic int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |