org.apache.myfaces.component.html.ext

Class HtmlMessage

Implemented Interfaces:
UserRoleAware

public class HtmlMessage
extends javax.faces.component.html.HtmlMessage
implements UserRoleAware

Version:
$Revision: 169646 $ $Date: 2005-05-11 17:34:57 +0200 (Wed, 11 May 2005) $
Author:
Manfred Geiler (latest modification by $Author: grantsmith $)

Field Summary

static String
COMPONENT_TYPE

Fields inherited from interface org.apache.myfaces.component.UserRoleAware

ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR

Constructor Summary

HtmlMessage()

Method Summary

String
getClientId(FacesContext context)
String
getDetailFormat()
String
getEnabledOnUserRole()
String
getSummaryFormat()
String
getVisibleOnUserRole()
boolean
isRendered()
boolean
isReplaceIdWithLabel()
void
restoreState(FacesContext context, Object state)
Object
saveState(FacesContext context)
void
setDetailFormat(String detailFormat)
void
setEnabledOnUserRole(String enabledOnUserRole)
void
setReplaceIdWithLabel(boolean replaceIdWithLabel)
void
setSummaryFormat(String summaryFormat)
void
setVisibleOnUserRole(String visibleOnUserRole)

Field Details

COMPONENT_TYPE

public static final String COMPONENT_TYPE

Constructor Details

HtmlMessage

public HtmlMessage()

Method Details

getClientId

public String getClientId(FacesContext context)

getDetailFormat

public String getDetailFormat()

getEnabledOnUserRole

public String getEnabledOnUserRole()
Specified by:
getEnabledOnUserRole in interface UserRoleAware

getSummaryFormat

public String getSummaryFormat()

getVisibleOnUserRole

public String getVisibleOnUserRole()
Specified by:
getVisibleOnUserRole in interface UserRoleAware

isRendered

public boolean isRendered()

isReplaceIdWithLabel

public boolean isReplaceIdWithLabel()

restoreState

public void restoreState(FacesContext context,
                         Object state)

saveState

public Object saveState(FacesContext context)

setDetailFormat

public void setDetailFormat(String detailFormat)

setEnabledOnUserRole

public void setEnabledOnUserRole(String enabledOnUserRole)
Specified by:
setEnabledOnUserRole in interface UserRoleAware

setReplaceIdWithLabel

public void setReplaceIdWithLabel(boolean replaceIdWithLabel)

setSummaryFormat

public void setSummaryFormat(String summaryFormat)

setVisibleOnUserRole

public void setVisibleOnUserRole(String visibleOnUserRole)
Specified by:
setVisibleOnUserRole in interface UserRoleAware