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
      java.lang.String getText​()
      Returns the literal String value of the contained text.
      java.lang.String getText​(FaceletContext ctx)
      Returns the resolved literal String value of the contained text after evaluating EL.
    • Method Detail

      • getText

        java.lang.String getText​()

        Returns the literal String value of the contained text.

        Returns:
        the literal String value of the contained text
      • getText

        java.lang.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