|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A tag must be able to give its name, its list of attributes and its composition.
Method Summary | |
void |
addAttribute(TagAttribute anAttribute)
Adds an attribute to the list of attributes. |
void |
addSubTag(Tag aSubTag)
Adds a subTag to the tag. |
TagAttribute[] |
getAttrList()
Returns a list of attributes. |
java.lang.String |
getName()
Returns the name of the tag. |
Tag[] |
getSubTags()
Returns the list of subtags. |
boolean |
isAComposedTag()
Indicates whether the Tag is a composed tag or a simple tag. |
void |
setAttrList(TagAttribute[] aAttrList)
Sets the list of attributes. |
void |
setName(java.lang.String aName)
Sets the name of the tag. |
void |
setSubTagAt(Tag aSubTag,
int index)
Sets the subTag at the specified index of the list of subTags. |
void |
setSubTags(Tag[] someSubTags)
Sets the list of subtags. |
Method Detail |
public void addAttribute(TagAttribute anAttribute)
anAttribute
- com.ibm.dse.tools.workbench.base.TagAttributepublic void addSubTag(Tag aSubTag)
aSubTag
- com.ibm.dse.base.Tagpublic TagAttribute[] getAttrList()
public java.lang.String getName()
public Tag[] getSubTags()
public boolean isAComposedTag()
public void setAttrList(TagAttribute[] aAttrList)
aTagAttrList
- com.ibm.dse.tools.workbench.base.TagAttribute[]public void setName(java.lang.String aName)
aName
- java.lang.Stringpublic void setSubTagAt(Tag aSubTag, int index) throws WBInvalidArgumentException
The previous subTag at that position is discarded. The index must be a value greater than or equal to 0 and less than the current size of the vector or a exception will be thrown.
aSubTag
- com.ibm.dse.base.Tagindex
- intpublic void setSubTags(Tag[] someSubTags)
someSubTags
- com.ibm.dse.tools.workbench.base.Tag[]
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |