Package org.opencms.acacia.shared
Class CmsEntityHtml
- java.lang.Object
-
- org.opencms.acacia.shared.CmsEntityHtml
-
- All Implemented Interfaces:
java.io.Serializable
public class CmsEntityHtml extends java.lang.Object implements java.io.Serializable
The entity HTML representation including validation data.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CmsEntityHtml()
Constructor needed for serialization.CmsEntityHtml(java.lang.String htmlContent, CmsValidationResult validationResult)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHtmlContent()
Returns the HTML representation.CmsValidationResult
getValidationResult()
Returns the validation result.
-
-
-
Constructor Detail
-
CmsEntityHtml
public CmsEntityHtml(java.lang.String htmlContent, CmsValidationResult validationResult)
Constructor.- Parameters:
htmlContent
- the HTML representationvalidationResult
- the validation result
-
CmsEntityHtml
protected CmsEntityHtml()
Constructor needed for serialization.
-
-
Method Detail
-
getHtmlContent
public java.lang.String getHtmlContent()
Returns the HTML representation.- Returns:
- the HTML representation
-
getValidationResult
public CmsValidationResult getValidationResult()
Returns the validation result.- Returns:
- the validation result
-
-