IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.config
Interface Tag

All Known Implementing Classes:
TagImp

public interface Tag

Tag interface used to describe XML tag


Method Summary
 void addAttribute(TagAttribute attr)
          Add attribute to this tag
 void addSubTag(Tag subTag)
          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
 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
 

Method Detail

getName

java.lang.String getName()
Get Tag Name

Returns:
tag name

setName

void setName(java.lang.String name)
Set Tag Name

Parameters:
name - tag name

getSubTags

Tag[] getSubTags()
Get sub tags of this tag

Returns:
sub tag array

addSubTag

void addSubTag(Tag subTag)
Add sub tag to this tag

Parameters:
subTag - tag to be add as sub tag

getAttributes

TagAttribute[] getAttributes()
Get attributes of this tag

Returns:
tag attributes

addAttribute

void addAttribute(TagAttribute attr)
Add attribute to this tag

Parameters:
attr - attribute to be added

getAttributeValue

java.lang.String getAttributeValue(java.lang.String key)
Get attribute value by desired attribute name key

Parameters:
key - attribute name
Returns:
attribute value

getSubTagByName

Tag[] getSubTagByName(java.lang.String name)
Get sub tags by tag name

Parameters:
name - tag name
Returns:
sub tags whose name match desired tag name

removeAttribute

void removeAttribute(java.lang.String name)
Remove attribute whose name matches desired string from this tag

Parameters:
name - attribute

getFileLocation

java.lang.String getFileLocation()
Get file location who contains this tag

Returns:
file location

setFileLocation

void setFileLocation(java.lang.String fileLocation)
Set file location who contains this tag

Parameters:
fileLocation - file location

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010