|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.base.Externalizer | +--com.ibm.dse.base.ContextExternalizer
The ContextExternalizer class reads contexts. The SGML file must be specified in DSE.INI in the path settings.files.context. The tags must be in settings.tags.contexts.
Fields inherited from class com.ibm.dse.base.Externalizer |
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 | |
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 |
makeTagClassTable()
Makes the tagClassTable with the values in DSE.INI The path is: settings.tags.contexts. |
void |
reset()
Sets a new context externalizer to Context. |
void |
reset(java.util.Enumeration listTagId)
Resets the definition of tags 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 com.ibm.dse.base.Externalizer |
convertTagToObject,
getClasses,
getTagClassTable,
getTagInputStream,
getTagOutputStream,
isRunTime,
readObject,
readObject,
readTag,
setRunTime,
setTagClassTable,
setTagInputStream,
tagList,
tagWithId |
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.BufferedInputStreampublic ContextExternalizer(java.lang.String option, java.lang.String pathAndFile) throws java.io.IOException
option
- java.lang.StringpathAndFile
- java.lang.StringMethod Detail |
protected Externalizer createNewExternalizer() throws java.io.IOException, DSEObjectNotFoundException
public void end()
public static void linkContext(Tag parentTag) throws java.io.IOException, DSEObjectNotFoundException
linkContext(Tag, TagInputStream)
.
public static void linkContext(Tag parentTag, TagInputStream aTagInputStream) throws java.io.IOException, DSEObjectNotFoundException
public static void linkReferences(Tag parentTag) throws java.io.IOException, DSEObjectNotFoundException
parentTag
- com.ibm.dse.base.Tagprotected static void linkReferences(Tag parentTag, TagInputStream aTagInputStream) throws java.io.IOException, DSEObjectNotFoundException
parentTag
- com.ibm.dse.base.Tagpublic static void linkRefKColl(Tag parentTag) throws java.io.IOException, DSEObjectNotFoundException
public static void linkRefService(Tag parentTag) throws java.io.IOException, DSEObjectNotFoundException
public void makeTagClassTable()
public void reset() throws 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.protected void reset(java.lang.String tagId, TagInputStream aTagInputStream) throws java.io.IOException
tagId
- java.lang.StringaTagInputStream
- com.ibm.dse.base.TagInputStreampublic void reset(java.util.Enumeration listTagId) throws java.io.IOException, DSEObjectNotFoundException
listTagId
- java.util.Enumeration
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |