public final class UILiteralText extends UILeaf
| Constructor and Description |
|---|
UILiteralText(String text) |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeBegin(javax.faces.context.FacesContext faces)
If our
rendered property is
true, render the beginning of the current state of this
UIComponent to the response contained in the specified
FacesContext. |
String |
toString() |
addFacesListener, broadcast, decode, encodeAll, encodeChildren, encodeEnd, findComponent, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getFamily, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, isTransient, processDecodes, processUpdates, processValidators, queueEvent, removeFacesListener, setParent, setRendererType, setTransient, setValueBinding, setValueExpressionaddClientBehavior, clearInitialState, getAttributes, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getId, getListenersForEventClass, getPassThroughAttributes, invokeOnComponent, isRendered, markInitialState, processRestoreState, processSaveState, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setRendered, subscribeToEvent, unsubscribeFromEventgetClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreepublic UILiteralText(String text)
public void encodeBegin(javax.faces.context.FacesContext faces)
throws IOException
javax.faces.component.UIComponent
If our rendered property is
true, render the beginning of the current state of this
UIComponent to the response contained in the specified
FacesContext. Call
UIComponent.pushComponentToEL(javax.faces.context.FacesContext,javax.faces.component.UIComponent).
Call Application.publishEvent(javax.faces.context.FacesContext, java.lang.Class<? extends javax.faces.event.SystemEvent>, java.lang.Object), passing
PreRenderComponentEvent.class as the first
argument and the component instance to be rendered as the second argument.
If a Renderer is associated with this UIComponent, the actual
encoding will be delegated to
Renderer.encodeBegin(FacesContext, UIComponent).
If our rendered property is false, call
UIComponent.pushComponentToEL(javax.faces.context.FacesContext,javax.faces.component.UIComponent)
and return immediately.
encodeBegin in class UILeaffaces - FacesContext for the response we are creatingIOException - if an input/output error occurs while renderingCopyright © 2010–2020 JBoss by Red Hat. All rights reserved.