Package org.jasig.portlet.cms.mvc.form
Class ContentForm
java.lang.Object
org.jasig.portlet.cms.mvc.form.ContentForm
public class ContentForm extends Object
Simple form for representing CMS content entry.
- Version:
- $Revision$
- Author:
- Jen Bourey, jbourey@unicon.net
-
Constructor Summary
Constructors Constructor Description ContentForm() -
Method Summary
Modifier and Type Method Description StringgetContent()Get the HTML content to be displayed by this portlet.StringgetLocale()Get the locale string associated with the content.voidsetContent(String content)Set the HTML content to be displayed by this portlet.voidsetLocale(String locale)Set the locale string associated with the content.
-
Constructor Details
-
ContentForm
public ContentForm()
-
-
Method Details
-
getContent
Get the HTML content to be displayed by this portlet.- Returns:
- HTML content
-
setContent
Set the HTML content to be displayed by this portlet.- Parameters:
content- HTML content
-
getLocale
Get the locale string associated with the content.- Returns:
- local string associated with the content
-
setLocale
Set the locale string associated with the content.- Parameters:
locale- local string associated with the content
-