Package jakarta.faces.view.facelets
Interface TextHandler
-
public interface TextHandler
An interface that allows other code to identify FaceletHandlers that may provide text (String) content.
- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getText()
Returns the literal String value of the contained text.String
getText(FaceletContext ctx)
Returns the resolved literal String value of the contained text after evaluating EL.
-
-
-
Method Detail
-
getText
String getText()
Returns the literal String value of the contained text.
- Returns:
- the literal String value of the contained text
-
getText
String getText(FaceletContext ctx)
Returns the resolved literal String value of the contained text after evaluating EL.
- Parameters:
ctx
- theFaceletContext
for this view execution- Returns:
- the resolved literal String value of the contained text after evaluating EL
-
-