IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.cs.invoker.base.xml
Class BTTXMLUnFormatter

java.lang.Object
  extended bycom.ibm.btt.cs.invoker.base.xml.BTTXMLUnFormatter

public class BTTXMLUnFormatter
extends java.lang.Object

The BTTXMLUnFormatter class provide function to parse XML document into object


Field Summary
protected  XMLResultObjectController controller
           
 
Constructor Summary
BTTXMLUnFormatter(java.lang.String className)
          Contstructor
BTTXMLUnFormatter(XMLResultObjectController aCtrl)
          Constructor
 
Method Summary
 java.lang.Object addCollectionElement(java.lang.Object currentCollection, XMLToken aToken)
          Add an element to the given colletion.
 java.lang.Object addElement(java.lang.Object currentRecord, XMLToken aToken)
          Add a element to the given record.
 java.lang.Object createCollection(java.lang.Object currentRecord, XMLToken aToken)
          Create a collection inside a given record based on the information in the given token Returns the newly created collection
 java.lang.Object createRecord(java.lang.Object currentRecord, XMLToken aToken)
          Create a record inside a given record based on the information in the given token Returns the newly created record
 java.lang.Object createRecord(XMLToken aToken)
          Create a record based on the information in the given token Returns the newly created record
 java.lang.Object createRecordInCollection(java.lang.Object currentCollection, XMLToken aToken)
          Create a record inside a given collection based on the information in the given token
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

controller

protected XMLResultObjectController controller
Constructor Detail

BTTXMLUnFormatter

public BTTXMLUnFormatter(XMLResultObjectController aCtrl)
Constructor


BTTXMLUnFormatter

public BTTXMLUnFormatter(java.lang.String className)
                  throws java.lang.ClassNotFoundException,
                         java.lang.IllegalAccessException,
                         java.lang.InstantiationException
Contstructor

Method Detail

createRecord

public java.lang.Object createRecord(XMLToken aToken)
Create a record based on the information in the given token Returns the newly created record


createRecord

public java.lang.Object createRecord(java.lang.Object currentRecord,
                                     XMLToken aToken)
                              throws ObjectTypeMissMatchException
Create a record inside a given record based on the information in the given token Returns the newly created record

Throws:
ObjectTypeMissMatchException

createRecordInCollection

public java.lang.Object createRecordInCollection(java.lang.Object currentCollection,
                                                 XMLToken aToken)
                                          throws ObjectTypeMissMatchException
Create a record inside a given collection based on the information in the given token

Throws:
ObjectTypeMissMatchException

createCollection

public java.lang.Object createCollection(java.lang.Object currentRecord,
                                         XMLToken aToken)
                                  throws ObjectTypeMissMatchException
Create a collection inside a given record based on the information in the given token Returns the newly created collection

Throws:
ObjectTypeMissMatchException

addElement

public java.lang.Object addElement(java.lang.Object currentRecord,
                                   XMLToken aToken)
                            throws ObjectTypeMissMatchException
Add a element to the given record. Information of the element is stored in the given token Returns the currentRecord

Throws:
ObjectTypeMissMatchException

addCollectionElement

public java.lang.Object addCollectionElement(java.lang.Object currentCollection,
                                             XMLToken aToken)
                                      throws ObjectTypeMissMatchException
Add an element to the given colletion. Information of the element is stored in the given token Returns the currentCollection

Throws:
ObjectTypeMissMatchException

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005