|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
L3D attributes that fulfill additional SG8 functionality. This interface is implemented by all gateway attributes, defining methods to create a hyperlink to the attribute, translate values to HTML, define a separator for between values in HTML output, maintain value count thresholds for HTML output, and express/process attribute update HTML form elements.
| Field Summary | |
static String |
TEXT_RESOURCES
Textual resources property file. |
| Method Summary | |
String[] |
getHTMLValues()
Returns the attribute values formatted for HTML output. |
String |
getHyperlink()
Returns an SG8 gateway hyperlink for displaying the attribute. |
String |
getSeparator()
Returns a separator string to display between values in HTML output. |
String |
getUpdateHTML()
Returns HTML form elements for modifying the attribute. |
boolean |
isAugmenting()
Indicates if the attribute only accepts additional values. |
boolean |
isHTMLExceeded()
Indicates if the number of values for the attribute exceeds the maximum for HTML display. |
boolean |
processUpdateHTML(HttpServletRequest req)
Reads and processes attribute changes from relevant HTML request form parameters. |
void |
setAugmenting()
Configures the attribute to only accept additional values. |
void |
setHTMLThreshold(int threshold)
Sets the maximum number of values to display in HTML output. |
void |
setSeparator(String separator)
Sets the separator string to display between values in HTML output. |
| Field Detail |
public static final String TEXT_RESOURCES
| Method Detail |
public String[] getHTMLValues()
throws SG8Exception
SG8Exceptionpublic void setHTMLThreshold(int threshold)
threshold - a maximum number of values to displaypublic boolean isHTMLExceeded()
public String getHyperlink()
throws SG8Exception
SG8Exceptionpublic void setSeparator(String separator)
separator - a string to display between valuespublic String getSeparator()
public void setAugmenting()
public boolean isAugmenting()
public String getUpdateHTML()
throws SG8Exception
SG8Exception - if the attribute is generated
public boolean processUpdateHTML(HttpServletRequest req)
throws SG8Exception
req - a servlet request
SG8Exception - if form values are inappropriate or the attribute is generated
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||