public class

RichText

extends Object
java.lang.Object
   ↳ com.emc.documentum.fs.datamodel.core.RichText

Class Overview

Java class for RichText complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="RichText">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Body" type="{http://content.core.datamodel.fs.documentum.emc.com/}Content" minOccurs="0"/>
         <element name="Contents" type="{http://content.core.datamodel.fs.documentum.emc.com/}Content" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected Content body
protected List<Content> contents
protected String format
Public Constructors
RichText()
Public Methods
Content getBody()
Gets the value of the body property.
List<Content> getContents()
Gets the value of the contents property.
String getFormat()
Gets the value of the format property.
void setBody(Content value)
Sets the value of the body property.
void setFormat(String value)
Sets the value of the format property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected Content body

protected List<Content> contents

protected String format

Public Constructors

public RichText ()

Public Methods

public Content getBody ()

Gets the value of the body property.

Returns

public List<Content> getContents ()

Gets the value of the contents property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the contents property.

For example, to add a new item, do as follows:

    getContents().add(newItem);
 

Objects of the following type(s) are allowed in the list Content

public String getFormat ()

Gets the value of the format property.

Returns
  • possible object is String

public void setBody (Content value)

Sets the value of the body property.

Parameters
value Allowed object is Content

public void setFormat (String value)

Sets the value of the format property.

Parameters
value Allowed object is String