|
HATS 7.5.1 Web API ReferencePublicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.hats.transform.elements.ComponentElement
com.ibm.hats.transform.elements.TextComponentElement
public class TextComponentElement
This class represents text.
| Field Summary | |
|---|---|
static String |
CLASS_NAME
|
| Fields inherited from class com.ibm.hats.transform.elements.ComponentElement |
|---|
consumedRegion |
| Constructor Summary | |
|---|---|
TextComponentElement(String text)
Constructs a new TextComponentElement object which contains the specified text. |
|
| Method Summary | |
|---|---|
void |
doTextReplacement(TextReplacementPair pair,
ContextAttributes contextAttributes)
Performs text replacement on the text in this element. |
String |
getPreviewText()
Returns the preview text. |
String |
getText()
Returns the text contained in this element. |
void |
setText(String newText)
Sets the text of this element. |
| Methods inherited from class com.ibm.hats.transform.elements.ComponentElement |
|---|
clone, getConsumedRegion, getScreenId, isConsumer, isMatch, isTruncateToPreserveLength, setConsumedRegion, setScreenId, type, type |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CLASS_NAME
| Constructor Detail |
|---|
public TextComponentElement(String text)
TextComponentElement object which contains the specified text.
text - The specified text.| Method Detail |
|---|
public String getText()
public void setText(String newText)
newText - The new text to set.public String getPreviewText()
getPreviewText in class ComponentElement
public void doTextReplacement(TextReplacementPair pair,
ContextAttributes contextAttributes)
doTextReplacement in class ComponentElementpair - The text replacement pair.contextAttributes - The context attributes.
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||