javax.faces.component.html
Class HtmlOutputText
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.html.HtmlOutputText
- All Implemented Interfaces:
- StateHolder, ValueHolder
public class HtmlOutputText
- extends UIOutput
Method Summary |
java.lang.String |
getStyle()
|
java.lang.String |
getStyleClass()
|
java.lang.String |
getTitle()
|
boolean |
isEscape()
|
void |
restoreState(FacesContext facesContext,
java.lang.Object state)
Invoked in the "restore view" phase, this initialises this
object's members from the values saved previously into the
provided state object. |
java.lang.Object |
saveState(FacesContext facesContext)
Invoked after the render phase has completed, this method
returns an object which can be passed to the restoreState
of some other instance of UIComponentBase to reset that
object's state to the same values as this object currently
has. |
void |
setEscape(boolean escape)
|
void |
setStyle(java.lang.String style)
|
void |
setStyleClass(java.lang.String styleClass)
|
void |
setTitle(java.lang.String title)
|
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, 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 |
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
HtmlOutputText
public HtmlOutputText()
getStyle
public java.lang.String getStyle()
setStyle
public void setStyle(java.lang.String style)
getStyleClass
public java.lang.String getStyleClass()
setStyleClass
public void setStyleClass(java.lang.String styleClass)
getTitle
public java.lang.String getTitle()
setTitle
public void setTitle(java.lang.String title)
isEscape
public boolean isEscape()
setEscape
public void setEscape(boolean escape)
saveState
public java.lang.Object saveState(FacesContext facesContext)
- Description copied from class:
UIComponentBase
- Invoked after the render phase has completed, this method
returns an object which can be passed to the restoreState
of some other instance of UIComponentBase to reset that
object's state to the same values as this object currently
has.
- Specified by:
saveState
in interface StateHolder
- Overrides:
saveState
in class UIOutput
restoreState
public void restoreState(FacesContext facesContext,
java.lang.Object state)
- Description copied from class:
UIComponentBase
- Invoked in the "restore view" phase, this initialises this
object's members from the values saved previously into the
provided state object.
- Specified by:
restoreState
in interface StateHolder
- Overrides:
restoreState
in class UIOutput
state
- is an object previously returned by
the saveState method of this class.
Copyright © 2009 The Apache Software Foundation. All Rights Reserved.