IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.invoker
Class RegexTagProvider

java.lang.Object
  extended by com.ibm.btt.config.impl.SimpleXMLTagProvider
      extended by com.ibm.btt.invoker.RegexTagProvider
All Implemented Interfaces:
Initializer, TagProvider

public class RegexTagProvider
extends SimpleXMLTagProvider


Field Summary
 
Fields inherited from class com.ibm.btt.config.impl.SimpleXMLTagProvider
tags
 
Constructor Summary
RegexTagProvider()
           
RegexTagProvider(java.lang.String fullPath)
           
 
Method Summary
 Tag getTag(java.lang.String key)
          find a Tag identified by the id.
 
Methods inherited from class com.ibm.btt.config.impl.SimpleXMLTagProvider
cleanup, initialize, initialize, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegexTagProvider

public RegexTagProvider()

RegexTagProvider

public RegexTagProvider(java.lang.String fullPath)
Method Detail

getTag

public Tag getTag(java.lang.String key)
           throws TagNotFoundException,
                  TagProviderException
Description copied from interface: TagProvider
find a Tag identified by the id.
the behavior of this method depends on the implementaion.
You can choose to use SimpleXMLTagProvider, as its defines all the tag in one file,
or, you can implement your own TagProvider, according to your requirments.
You should throw a TagNotFondException when the tag for id is not defined rather than return a null value.

Specified by:
getTag in interface TagProvider
Overrides:
getTag in class SimpleXMLTagProvider
Parameters:
key - id of the tag.
Returns:
corresponding tag.
Throws:
TagNotFoundException - cannot find the tag because of no definition for the id.
TagProviderException - Some error exist in TagProvider or its definition file.

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009