com.mentata.sg8
Class SG8MLSAttribute

java.lang.Object
  extended bycom.mentata.l3d.L3DAttribute
      extended bycom.mentata.sg8.SG8StringAttribute
          extended bycom.mentata.sg8.SG8MLSAttribute
All Implemented Interfaces:
Comparator, SG8Attribute

public class SG8MLSAttribute
extends SG8StringAttribute

A multi-line string attribute for use with SG8 objects. Values of this attribute type represent multi-line strings. HTML values have $ characters translated to HTML <br> tags.

Since:
0.7
Author:
Jon Roberts

Field Summary
 
Fields inherited from interface com.mentata.sg8.SG8Attribute
TEXT_RESOURCES
 
Constructor Summary
SG8MLSAttribute()
           
 
Method Summary
 String[] getHTMLValues()
          Returns the attribute values as paragraphs with line breaks.
 
Methods inherited from class com.mentata.sg8.SG8StringAttribute
getHyperlink, getSeparator, getSG8Object, getUpdateHTML, isAugmenting, isHTMLExceeded, processUpdateHTML, setAugmenting, setHTMLThreshold, setSeparator
 
Methods inherited from class com.mentata.l3d.L3DAttribute
addValue, compare, getAttribute, getBind, getContext, getLabel, getLengthThreshold, getName, getObject, getObject, getPrerequisites, getShortValues, getSize, getThreshold, getValues, initialize, isBound, isExceeded, isGenerated, isLengthExceeded, isMultivalue, isRequired, removeValue, same, setGenerated, setLabel, setLengthThreshold, setPrerequisites, setThreshold, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

SG8MLSAttribute

public SG8MLSAttribute()
Method Detail

getHTMLValues

public String[] getHTMLValues()
                       throws SG8Exception
Returns the attribute values as paragraphs with line breaks.

Specified by:
getHTMLValues in interface SG8Attribute
Overrides:
getHTMLValues in class SG8StringAttribute
Returns:
the HTML for multi-line values
Throws:
SG8Exception