|
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.URLComponentElement
public class URLComponentElement
This class represents a URL.
| Field Summary | |
|---|---|
static String |
CLASS_NAME
|
| Fields inherited from class com.ibm.hats.transform.elements.ComponentElement |
|---|
consumedRegion |
| Constructor Summary | |
|---|---|
URLComponentElement(String url,
String caption)
Constructs a new URLComponentElement object. |
|
| Method Summary | |
|---|---|
void |
doTextReplacement(TextReplacementPair pair,
ContextAttributes contextAttributes)
Performs text replacement on the caption of this element. |
String |
getCaption()
Returns the caption of this URL. |
String |
getPreviewText()
Returns some form of descriptive text about the component element. |
String |
getUrl()
Returns the full URL. |
void |
setCaption(String string)
Sets the caption of this element. |
void |
setUrl(String string)
Sets the URL. |
| 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 URLComponentElement(String url,
String caption)
URLComponentElement object.
url - URLcaption - caption of the URL (normally the URL itself)| Method Detail |
|---|
public String getPreviewText()
ComponentElement
getPreviewText in class ComponentElement
public void doTextReplacement(TextReplacementPair pair,
ContextAttributes contextAttributes)
doTextReplacement in class ComponentElementpair - TextReplacementPair to base replacement oncontextAttributes - context attributespublic String getCaption()
public String getUrl()
public void setCaption(String string)
string - public void setUrl(String string)
string -
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||