IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.config
Class TagUtils

java.lang.Object
  extended by com.ibm.btt.config.TagUtils

public class TagUtils
extends java.lang.Object

Tag utility class


Constructor Summary
TagUtils()
           
 
Method Summary
static Tag cloneATag(Tag tag)
          Clone tag to a new one
static Tag[] getSubTagByAttr(Tag tag, java.lang.String attrName, java.lang.String attrValue)
          Get sub-tags who contains attribute with desired name and desired vlaue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagUtils

public TagUtils()
Method Detail

getSubTagByAttr

public static Tag[] getSubTagByAttr(Tag tag,
                                    java.lang.String attrName,
                                    java.lang.String attrValue)
Get sub-tags who contains attribute with desired name and desired vlaue

Parameters:
tag - parent tag
attrName - attribute name
attrValue - attribute value
Returns:
matched sub-tags

cloneATag

public static Tag cloneATag(Tag tag)
Clone tag to a new one

Parameters:
tag - tag to be cloned
Returns:
cloned tag

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009