|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.Externalizer
com.ibm.btt.base.ContextExternalizer
public class ContextExternalizer
The ContextExternalizer class reads contexts. The XML file must be specified in btt.xml in the path settings.files.context. The tags must be in settings.tags.contexts.
Field Summary |
---|
Fields inherited from class com.ibm.btt.base.Externalizer |
---|
numberOfObjects, tagClassTable, tagInputStream, TYPE_CONTEXT, TYPE_DATA, TYPE_FORMAT, TYPE_OPERATION, TYPE_PROCESSOR, TYPE_SERVICE, TYPE_SETTINGS, TYPE_TYPE, TYPE_UNKNOWN, TYPE_VIEW |
Constructor Summary | |
---|---|
ContextExternalizer()
This constructor creates a ContextExternalizer object. |
|
ContextExternalizer(java.lang.String option,
java.io.BufferedInputStream aIniStream)
This constructor creates a new instance of the ContextExternalizer class. |
|
ContextExternalizer(java.lang.String option,
java.lang.String pathAndFile)
This constructor creates a new instance of the ContextExternalizer class. |
Method Summary | |
---|---|
java.lang.Object |
convertTagToObject(Tag aTag)
Converts a tag to an object and initializes the object's attributes. |
protected Externalizer |
createNewExternalizer()
Returns a new externalizer for the generic context file. |
void |
end()
Releases resources from this externalizer |
static void |
linkContext(Tag parentTag)
Deprecated. Replaced by linkContext(Tag, TagInputStream) . |
static void |
linkContext(Tag parentTag,
TagInputStream aTagInputStream)
This method will add to parentTag (context tag), a subtag that is the parent context. |
static void |
linkReferences(Tag parentTag)
This method alters the tag structure of the tagInputStream for DSECTXT by linking all references to their real tags. |
protected static void |
linkReferences(Tag parentTag,
TagInputStream aTagInputStream)
This method alters the tag structure of the tagInputStream for DSECTXT by linking all references to their real tags. |
static void |
linkRefKColl(Tag parentTag)
This method will add the real corresponding tag as a subtag to parentTag (refKColl tag). |
static void |
linkRefService(Tag parentTag)
This method will add the real corresponding tag as a subtag to parentTag (refService tag). |
void |
reset()
Sets a new context externalizer to Context. |
void |
reset(java.util.Enumeration listTagId)
Resets the definition of tags in which tag id appears in listTagId. |
void |
reset(java.lang.String tagId)
Resets the definition of the tag with id tagId. |
protected void |
reset(java.lang.String tagId,
TagInputStream aTagInputStream)
Resets the definition of the context entity with id equals to tagId. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextExternalizer()
public ContextExternalizer(java.lang.String option, java.io.BufferedInputStream aIniStream) throws java.io.IOException
option
- java.lang.StringaIniStream
- java.io.BufferedInputStream
java.io.IOException
public ContextExternalizer(java.lang.String option, java.lang.String pathAndFile) throws java.io.IOException
option
- java.lang.StringpathAndFile
- java.lang.String
java.io.IOException
Method Detail |
---|
public java.lang.Object convertTagToObject(Tag aTag) throws java.io.IOException
convertTagToObject
in class Externalizer
aTag
- Tag
java.io.IOException
protected Externalizer createNewExternalizer() throws java.io.IOException, DSEObjectNotFoundException
java.io.IOException
DSEObjectNotFoundException
public void end()
end
in class Externalizer
public static void linkContext(Tag parentTag) throws java.io.IOException, DSEObjectNotFoundException
linkContext(Tag, TagInputStream)
.
java.io.IOException
DSEObjectNotFoundException
public static void linkContext(Tag parentTag, TagInputStream aTagInputStream) throws java.io.IOException, DSEObjectNotFoundException
java.io.IOException
DSEObjectNotFoundException
public static void linkReferences(Tag parentTag) throws java.io.IOException, DSEObjectNotFoundException
parentTag
- com.ibm.btt.base.Tag
java.io.IOException
DSEObjectNotFoundException
protected static void linkReferences(Tag parentTag, TagInputStream aTagInputStream) throws java.io.IOException, DSEObjectNotFoundException
parentTag
- com.ibm.btt.base.Tag
java.io.IOException
DSEObjectNotFoundException
public static void linkRefKColl(Tag parentTag) throws java.io.IOException, DSEObjectNotFoundException
java.io.IOException
DSEObjectNotFoundException
public static void linkRefService(Tag parentTag) throws java.io.IOException, DSEObjectNotFoundException
java.io.IOException
DSEObjectNotFoundException
public void reset() throws java.io.IOException, DSEObjectNotFoundException
java.io.IOException
DSEObjectNotFoundException
public void reset(java.lang.String tagId) throws java.io.IOException, DSEObjectNotFoundException
tagId
- java.lang.String The id of the tag to reset.
java.io.IOException
DSEObjectNotFoundException
protected void reset(java.lang.String tagId, TagInputStream aTagInputStream) throws java.io.IOException
tagId
- java.lang.StringaTagInputStream
- com.ibm.btt.base.TagInputStream
java.io.IOException
public void reset(java.util.Enumeration listTagId) throws java.io.IOException, DSEObjectNotFoundException
listTagId
- java.util.Enumeration
java.io.IOException
DSEObjectNotFoundException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |