Top Fields Constructors Methods
com.sun.faces.facelets.compiler

public final Class UIInstructions

extends UILeaf
Class Inheritance
Imports
java.io.IOException, java.util.Arrays, com.sun.faces.facelets.el.ELText, jakarta.faces.context.FacesContext

Field Summary

Modifier and TypeField and Description
private final transient Instruction[]
private final transient ELText

Constructor Summary

AccessConstructor and Description
public
UIInstructions(ELText txt, Instruction[] instructions)

Method Summary

Modifier and TypeMethod and Description
public void
encodeBegin(FacesContext
FacesContext for the response we are creating
context
)

Overrides com.sun.faces.facelets.compiler.UILeaf.encodeBegin.

If our rendered property is true, render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from com.sun.faces.facelets.compiler.UILeaf:
addFacesListenerbroadcastdecodeencodeAllencodeChildrenencodeEndfindComponentgetChildCountgetChildrengetFacesContextgetFacesListenersgetFacetgetFacetCountgetFacetsgetFacetsAndChildrengetFamilygetParentgetRenderergetRendererTypegetRendersChildrengetValueExpressionisTransientprocessDecodesprocessUpdatesprocessValidatorsqueueEventremoveFacesListenersetParentsetRendererTypesetTransientsetValueExpression

Field Detail

instructionsback to summary
private final transient Instruction[] instructions
txtback to summary
private final transient ELText txt

Constructor Detail

UIInstructionsback to summary
public UIInstructions(ELText txt, Instruction[] instructions)

Method Detail

encodeBeginback to summary
public void encodeBegin(FacesContext context) throws IOException

Overrides com.sun.faces.facelets.compiler.UILeaf.encodeBegin.

Doc from jakarta.faces.component.UIComponent.encodeBegin.

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 pushComponentToEL(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent). Call jakarta.faces.application.Application#publishEvent, passing jakarta.faces.event.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 pushComponentToEL(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent) and return immediately.

Parameters
context:FacesContext

FacesContext for the response we are creating

Annotations
@Override
Exceptions
IOException:
if an input/output error occurs while rendering
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override