Interface TextHandler


  • public interface TextHandler

    An interface that allows other code to identify FaceletHandlers that may provide text (String) content.

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