|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.config.impl.TagImp
public class TagImp
Default imlementation for tag
Constructor Summary | |
---|---|
TagImp()
The constructor |
|
TagImp(java.lang.String name)
The constructor |
Method Summary | |
---|---|
void |
addAttribute(TagAttribute attr)
Add attribute to this tag |
void |
addSubTag(Tag childTag)
Add sub tag to this tag |
TagAttribute[] |
getAttributes()
Get attributes of this tag |
java.lang.String |
getAttributeValue(java.lang.String key)
Get attribute value by desired attribute name key |
java.lang.String |
getFileLocation()
Get file location who contains this tag |
java.lang.String |
getName()
Get Tag Name |
TagImp |
getParent()
the parent attribute is only used to help implement toString method. |
Tag[] |
getSubTagByName(java.lang.String name)
Get sub tags by tag name |
Tag[] |
getSubTags()
Get sub tags of this tag |
void |
removeAttribute(java.lang.String name)
Remove attribute whose name matches desired string from this tag |
void |
setFileLocation(java.lang.String fileLocation)
Set file location who contains this tag |
void |
setName(java.lang.String name)
Set Tag Name |
void |
setParent(TagImp parent)
the parent attribute is only used to help implement toString method. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TagImp()
public TagImp(java.lang.String name)
name
- tag nameMethod Detail |
---|
public java.lang.String getName()
Tag
getName
in interface Tag
public void setName(java.lang.String name)
Tag
setName
in interface Tag
name
- tag namepublic Tag[] getSubTags()
Tag
getSubTags
in interface Tag
public void addSubTag(Tag childTag)
Tag
addSubTag
in interface Tag
childTag
- tag to be add as sub tagpublic TagAttribute[] getAttributes()
Tag
getAttributes
in interface Tag
public void addAttribute(TagAttribute attr)
Tag
addAttribute
in interface Tag
attr
- attribute to be addedpublic void removeAttribute(java.lang.String name)
Tag
removeAttribute
in interface Tag
name
- attributepublic TagImp getParent()
public void setParent(TagImp parent)
parent
- the parent to setpublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getAttributeValue(java.lang.String key)
Tag
getAttributeValue
in interface Tag
key
- attribute name
public Tag[] getSubTagByName(java.lang.String name)
Tag
getSubTagByName
in interface Tag
name
- tag name
public java.lang.String getFileLocation()
Tag
getFileLocation
in interface Tag
public void setFileLocation(java.lang.String fileLocation)
Tag
setFileLocation
in interface Tag
fileLocation
- file location
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |