public class HtmlOutputText extends UIOutput
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
bindings
Constructor and Description |
---|
HtmlOutputText()
Construct an instance of the HtmlOutputText.
|
Modifier and Type | Method and Description |
---|---|
String |
getDir()
Gets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
|
String |
getFamily() |
String |
getLang()
Gets The base language of this document.
|
String |
getStyle()
Gets CSS styling instructions.
|
String |
getStyleClass()
Gets The CSS class for this element.
|
String |
getTitle()
Gets An advisory title for this element.
|
boolean |
isEscape()
Gets Indicates whether rendered markup should be escaped.
|
void |
restoreState(FacesContext facesContext,
Object state)
Invoked in the "restore view" phase, this initialises this
object's members from the values saved previously into the
provided state object.
|
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 |
setDir(String dir)
Sets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
|
void |
setEscape(boolean escape)
Sets Indicates whether rendered markup should be escaped.
|
void |
setLang(String lang)
Sets The base language of this document.
|
void |
setStyle(String style)
Sets CSS styling instructions.
|
void |
setStyleClass(String styleClass)
Sets The CSS class for this element.
|
void |
setTitle(String title)
Sets An advisory title for this element.
|
getConverter, getLocalValue, getValue, setConverter, setValue
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
encodeAll, getContainerClientId, getValueExpression, setValueExpression
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public HtmlOutputText()
public String getStyle()
public void setStyle(String style)
style
- the new style valuepublic String getStyleClass()
public void setStyleClass(String styleClass)
styleClass
- the new styleClass valuepublic String getDir()
public void setDir(String dir)
dir
- the new dir valuepublic String getLang()
public void setLang(String lang)
lang
- the new lang valuepublic String getTitle()
public void setTitle(String title)
title
- the new title valuepublic boolean isEscape()
public void setEscape(boolean escape)
escape
- the new escape valuepublic Object saveState(FacesContext facesContext)
UIComponentBase
saveState
in interface StateHolder
saveState
in class UIOutput
public void restoreState(FacesContext facesContext, Object state)
UIComponentBase
restoreState
in interface StateHolder
restoreState
in class UIOutput
state
- is an object previously returned by
the saveState method of this class.Copyright © 2013 Apache Software Foundation. All Rights Reserved.