org.apache.myfaces.component.html.ext
Class HtmlMessages

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIMessages
              extended by javax.faces.component.html.HtmlMessages
                  extended by org.apache.myfaces.component.html.ext.HtmlMessages
All Implemented Interfaces:
javax.faces.component.StateHolder, UserRoleAware

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

Version:
$Revision: 472630 $ $Date: 2006-11-08 21:40:03 +0100 (Mi, 08 Nov 2006) $
Author:
Thomas Spiegl (latest modification by $Author: grantsmith $), Manfred Geiler

Field Summary
static java.lang.String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIMessages
COMPONENT_FAMILY
 
Fields inherited from interface org.apache.myfaces.component.UserRoleAware
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR
 
Constructor Summary
HtmlMessages()
           
 
Method Summary
 java.lang.String getClientId(javax.faces.context.FacesContext context)
           
 java.lang.String getDetailFormat()
           
 java.lang.String getEnabledOnUserRole()
           
 boolean getForceSpan()
           
 java.lang.String getGlobalSummaryFormat()
           
 java.lang.String getSummaryFormat()
           
 java.lang.String getVisibleOnUserRole()
           
 boolean isRendered()
           
 boolean isReplaceIdWithLabel()
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setDetailFormat(java.lang.String detailFormat)
           
 void setEnabledOnUserRole(java.lang.String enabledOnUserRole)
           
 void setForceSpan(boolean forceSpan)
           
 void setGlobalSummaryFormat(java.lang.String globalSummaryFormat)
           
 void setReplaceIdWithLabel(boolean replaceIdWithLabel)
           
 void setSummaryFormat(java.lang.String summaryFormat)
           
 void setVisibleOnUserRole(java.lang.String visibleOnUserRole)
           
 
Methods inherited from class javax.faces.component.html.HtmlMessages
getErrorClass, getErrorStyle, getFatalClass, getFatalStyle, getInfoClass, getInfoStyle, getLayout, getStyle, getStyleClass, getTitle, getWarnClass, getWarnStyle, isTooltip, setErrorClass, setErrorStyle, setFatalClass, setFatalStyle, setInfoClass, setInfoStyle, setLayout, setStyle, setStyleClass, setTitle, setTooltip, setWarnClass, setWarnStyle
 
Methods inherited from class javax.faces.component.UIMessages
getFamily, isGlobalOnly, isShowDetail, isShowSummary, setGlobalOnly, setShowDetail, setShowSummary
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values
Constructor Detail

HtmlMessages

public HtmlMessages()
Method Detail

getClientId

public java.lang.String getClientId(javax.faces.context.FacesContext context)
Overrides:
getClientId in class javax.faces.component.UIComponentBase

setSummaryFormat

public void setSummaryFormat(java.lang.String summaryFormat)

getSummaryFormat

public java.lang.String getSummaryFormat()

setGlobalSummaryFormat

public void setGlobalSummaryFormat(java.lang.String globalSummaryFormat)

getGlobalSummaryFormat

public java.lang.String getGlobalSummaryFormat()

setDetailFormat

public void setDetailFormat(java.lang.String detailFormat)

getDetailFormat

public java.lang.String getDetailFormat()

setEnabledOnUserRole

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

getEnabledOnUserRole

public java.lang.String getEnabledOnUserRole()
Specified by:
getEnabledOnUserRole in interface UserRoleAware

setVisibleOnUserRole

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

getVisibleOnUserRole

public java.lang.String getVisibleOnUserRole()
Specified by:
getVisibleOnUserRole in interface UserRoleAware

setReplaceIdWithLabel

public void setReplaceIdWithLabel(boolean replaceIdWithLabel)

isReplaceIdWithLabel

public boolean isReplaceIdWithLabel()

setForceSpan

public void setForceSpan(boolean forceSpan)

getForceSpan

public boolean getForceSpan()

isRendered

public boolean isRendered()
Overrides:
isRendered in class javax.faces.component.UIComponentBase

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class javax.faces.component.html.HtmlMessages

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.html.HtmlMessages


Copyright © 2010. All Rights Reserved.