Interface TextHandler

All Known Implementing Classes:
AbstractUIHandler

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 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 Details

    • 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 - the FaceletContext for this view execution
      Returns:
      the resolved literal String value of the contained text after evaluating EL