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
Modifier and TypeMethodDescriptiongetText()
Returns the literal String value of the contained text.getText
(FaceletContext ctx) Returns the resolved literal String value of the contained text after evaluating EL.
-
Method Details
-
getText
String getText()Returns the literal String value of the contained text.
- Returns:
- the literal String value of the contained text
-
getText
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
-