com.ibm.btt.format.impl
Class XMLTagProcessor
java.lang.Object
com.ibm.btt.format.impl.XMLTagProcessor
- All Implemented Interfaces:
- ElementProcessor
public class XMLTagProcessor
- extends java.lang.Object
- implements ElementProcessor
Method Summary |
protected void |
addDecorator(Tag des,
int size,
int current)
|
void |
addTagName(java.lang.String tagName)
|
java.lang.Object |
afterInitializeElement(Tag tag,
java.lang.Object element)
this method will be called after the ElementFactory populate all the
properties of the Element. |
Tag |
beforeCreateElement(Tag tag)
this method will be called before the ElementFactory to create the
element from Tag. |
java.lang.Object |
beforeInitializeElement(Tag tag,
java.lang.Object element)
this method will be called before the ElementFactory to populate the properties of
the Element. |
protected Tag |
getTag(Tag tag)
|
protected void |
processTag(Tag src,
Tag des)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLTagProcessor
public XMLTagProcessor()
afterInitializeElement
public java.lang.Object afterInitializeElement(Tag tag,
java.lang.Object element)
throws ElementException
- Description copied from interface:
ElementProcessor
- this method will be called after the ElementFactory populate all the
properties of the Element.
- Specified by:
afterInitializeElement
in interface ElementProcessor
- Parameters:
tag
- the tag from which the element is created.element
- the element
- Returns:
-
- Throws:
ElementException
beforeCreateElement
public Tag beforeCreateElement(Tag tag)
throws ElementException
- Description copied from interface:
ElementProcessor
- this method will be called before the ElementFactory to create the
element from Tag.
- Specified by:
beforeCreateElement
in interface ElementProcessor
- Parameters:
tag
- the Tag from which to create the Element.
- Returns:
-
- Throws:
ElementException
beforeInitializeElement
public java.lang.Object beforeInitializeElement(Tag tag,
java.lang.Object element)
throws ElementException
- Description copied from interface:
ElementProcessor
- this method will be called before the ElementFactory to populate the properties of
the Element.
- Specified by:
beforeInitializeElement
in interface ElementProcessor
- Parameters:
tag
- the Tag from which the element is created.element
- the element
- Returns:
- the element
- Throws:
ElementException
addTagName
public void addTagName(java.lang.String tagName)
getTag
protected Tag getTag(Tag tag)
processTag
protected void processTag(Tag src,
Tag des)
addDecorator
protected void addDecorator(Tag des,
int size,
int current)
(c) Copyright IBM Corporation 1998, 2008