|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.dse.base.FormatElement
com.ibm.dse.base.FormatDecorator
com.ibm.dse.base.Identifier
This decorator prepends a character to the string that identifies the data in the receiver.
Field Summary | |
---|---|
char |
id
|
static java.lang.String |
idSet
|
Fields inherited from class com.ibm.dse.base.FormatDecorator |
---|
decorated |
Fields inherited from class com.ibm.dse.base.FormatElement |
---|
dataElementName, externalizer, name |
Constructor Summary | |
---|---|
Identifier()
This is the default constructor used to create an Identifier object. |
|
Identifier(java.lang.String aName)
This is the constructor used by the Externalizer to create an Identifier object. |
Method Summary | |
---|---|
java.lang.String |
addDecoration(java.lang.String aString)
Prepends the ID character to the String. |
java.lang.String[] |
extract(java.lang.String aString)
Extracts the String up to the next occurrence of any identifier included in the idSet attribute. |
char |
getId()
Returns the value of id. |
static java.lang.String |
getIdSet()
Returns the value of the idSet attribute. |
java.lang.Object |
initializeFrom(Tag aTag)
Initializes an Identifier with the aTag attributes. |
java.lang.String |
removeDecoration(java.lang.String aString)
Removes the id character from the beginning of the string. |
void |
setId(char anId)
Sets the value of id. |
static void |
setIdSet(java.lang.String aString)
Sets the value of idSet. |
Vector |
toStrings()
Returns a visual representation of this decorator. |
Methods inherited from class com.ibm.dse.base.FormatDecorator |
---|
format, format, getDataElementName, getDecorated, getName, isConstant, isItConstant, reinitialize, rootDecorated, rootDecorator, setDecorated, toString, unformat, unformat |
Methods inherited from class com.ibm.dse.base.FormatElement |
---|
exceptionInfo, externalizer, format, getExternalizer, getTagName, isCacheable, readExternal, readExternal, readObject, removeExternal, setDataElementName, setExternalizer, setName, setSize, toTags, unformat, writeExternal, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public char id
public static java.lang.String idSet
Constructor Detail |
public Identifier()
public Identifier(java.lang.String aName) throws java.io.IOException
aName
- java.lang.StringMethod Detail |
public java.lang.String addDecoration(java.lang.String aString)
addDecoration
in class FormatDecorator
public java.lang.String[] extract(java.lang.String aString) throws DSEInvalidArgumentException
extract
in class FormatDecorator
aString
- String
DSEInvalidArgumentException
public char getId()
public static java.lang.String getIdSet()
public java.lang.Object initializeFrom(Tag aTag)
initializeFrom
in interface Externalizable
initializeFrom
in class FormatElement
aTag
- com.ibm.dse.base.Tag
public java.lang.String removeDecoration(java.lang.String aString) throws DSEInvalidArgumentException
removeDecoration
in class FormatDecorator
aString
- String
DSEInvalidArgumentException
public void setId(char anId)
anId
- charpublic static void setIdSet(java.lang.String aString)
aString
- java.lang.Stringpublic Vector toStrings()
toStrings
in interface Externalizable
toStrings
in class FormatDecorator
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |