public class UIOutputText extends UIOutput
COMPONENT_FAMILY, COMPONENT_TYPE
Constructor and Description |
---|
UIOutputText()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
encodeBegin(FacesContext context) |
String |
getFamily() |
boolean |
isEncodeForJavaScript()
Returns whether the text is going to be encoded or not
|
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setEncodeForJavaScript(boolean encodeForJavaScript)
Sets whether the text should be encoded for JavaScript consumption
|
getConverter, getLocalValue, getValue, setConverter, setValue
addFacesListener, broadcast, decode, 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
public String getFamily()
getFamily
in class UIOutput
UIComponent.getFamily()
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
restoreState
in class UIOutput
StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)
public Object saveState(FacesContext context)
saveState
in interface StateHolder
saveState
in class UIOutput
StateHolder.saveState(javax.faces.context.FacesContext)
public void setEncodeForJavaScript(boolean encodeForJavaScript)
encodeForJavaScript
- true to escape textpublic boolean isEncodeForJavaScript()
public void encodeBegin(FacesContext context) throws IOException
encodeBegin
in class UIComponentBase
IOException
UIComponentBase.encodeBegin(javax.faces.context.FacesContext)
Copyright © 2005–2017 Alfresco Software. All rights reserved.