com.ibm.btt.config.impl
Class TagImp
java.lang.Object
com.ibm.btt.config.impl.TagImp
- All Implemented Interfaces:
- Tag
public class TagImp
- extends java.lang.Object
- implements Tag
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TagImp
public TagImp()
TagImp
public TagImp(java.lang.String name)
getName
public java.lang.String getName()
- Specified by:
getName
in interface Tag
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface Tag
getSubTags
public Tag[] getSubTags()
- Specified by:
getSubTags
in interface Tag
addSubTag
public void addSubTag(Tag childTag)
- Specified by:
addSubTag
in interface Tag
getAttributes
public TagAttribute[] getAttributes()
- Specified by:
getAttributes
in interface Tag
addAttribute
public void addAttribute(TagAttribute attr)
- Specified by:
addAttribute
in interface Tag
getParent
public TagImp getParent()
- the parent attribute is only used to help implement toString method.
- Returns:
- the parent
setParent
public void setParent(TagImp parent)
- the parent attribute is only used to help implement toString method.
- Parameters:
parent
- the parent to set
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getAttributeValue
public java.lang.String getAttributeValue(java.lang.String key)
- Specified by:
getAttributeValue
in interface Tag
getSubTagByName
public Tag[] getSubTagByName(java.lang.String name)
- Specified by:
getSubTagByName
in interface Tag
(c) Copyright IBM Corporation 1998, 2008