|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.student.r2.common.dto.RichTextInfo
public class RichTextInfo
Constructor Summary | |
---|---|
RichTextInfo()
Constructs a new RichTextInfo. |
|
RichTextInfo(RichText richText)
Constructs a new RichTextInfo from another RichText. |
|
RichTextInfo(String plain,
String formatted)
Constructs a new RichTextInfo from a plain and a formatted string |
Method Summary | |
---|---|
String |
getFormatted()
Formatted version of the rich text with all the formatting included. |
String |
getPlain()
Plain text version of the rich text with all the special formatting stripped out. |
void |
setFormatted(String formatted)
|
void |
setPlain(String plain)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RichTextInfo()
public RichTextInfo(RichText richText)
richText
- the RichText to copypublic RichTextInfo(String plain, String formatted)
plain
- The Plain text representationformatted
- The Formatted text representationMethod Detail |
---|
public String getPlain()
RichText
getPlain
in interface RichText
public void setPlain(String plain)
public String getFormatted()
RichText
getFormatted
in interface RichText
public void setFormatted(String formatted)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |