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

pack-priv final Class UITextHandler

extends AbstractUIHandler
Class Inheritance
Imports
java.io.IOException, .Writer, com.sun.faces.facelets.el.ELText, com.sun.faces.facelets.tag.faces.ComponentSupport, com.sun.faces.facelets.util.FastWriter, jakarta.el.ELException, jakarta.faces.component.UIComponent, .UniqueIdVendor, jakarta.faces.view.facelets.FaceletContext

Author
Jacob Hookom
Version
$Id$

Field Summary

Modifier and TypeField and Description
private final String
private final int
private final ELText

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
apply(FaceletContext
the current FaceletContext instance for this execution
ctx
,
UIComponent
the parent UIComponent to operate upon
parent
)

Implements jakarta.faces.view.facelets.FaceletHandler.apply.

Process changes on a particular UIComponent

public String
getText()

Implements jakarta.faces.view.facelets.TextHandler.getText.

Returns the literal String value of the contained text.

public String
getText(FaceletContext
the FaceletContext for this view execution
ctx
)

Implements jakarta.faces.view.facelets.TextHandler.getText.

Returns the resolved literal String value of the contained text after evaluating EL.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from com.sun.faces.facelets.compiler.AbstractUIHandler:
addComponent

Field Detail

aliasback to summary
private final String alias
lengthback to summary
private final int length
txtback to summary
private final ELText txt

Constructor Detail

UITextHandlerback to summary
public UITextHandler(String alias, ELText txt)

Method Detail

applyback to summary
public void apply(FaceletContext ctx, UIComponent parent) throws IOException

Implements jakarta.faces.view.facelets.FaceletHandler.apply.

Doc from jakarta.faces.view.facelets.FaceletHandler.apply.

Process changes on a particular UIComponent

Parameters
ctx:FaceletContext

the current FaceletContext instance for this execution

parent:UIComponent

the parent UIComponent to operate upon

Annotations
@Override
Exceptions
IOException:
if unable to load relativePath
getTextback to summary
public String getText()

Implements jakarta.faces.view.facelets.TextHandler.getText.

Doc from jakarta.faces.view.facelets.TextHandler.getText.

Returns the literal String value of the contained text.

Returns:String

the literal String value of the contained text

Annotations
@Override
getTextback to summary
public String getText(FaceletContext ctx)

Implements jakarta.faces.view.facelets.TextHandler.getText.

Doc from jakarta.faces.view.facelets.TextHandler.getText.

Returns the resolved literal String value of the contained text after evaluating EL.

Parameters
ctx:FaceletContext

the FaceletContext for this view execution

Returns:String

the resolved literal String value of the contained text after evaluating EL

Annotations
@Override
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