Class ELText.ELCacheableTextVariable

java.lang.Object
org.apache.myfaces.view.facelets.el.ELText
org.apache.myfaces.view.facelets.el.ELText.ELCacheableTextVariable
Enclosing class:
ELText

protected static final class ELText.ELCacheableTextVariable extends ELText
  • Constructor Details

    • ELCacheableTextVariable

      public ELCacheableTextVariable(jakarta.el.ValueExpression ve)
  • Method Details

    • isLiteral

      public boolean isLiteral()
      Description copied from class: ELText
      If it's literal text
      Overrides:
      isLiteral in class ELText
      Returns:
      true if the String is literal (doesn't contain #{..} or ${..})
    • apply

      public ELText apply(jakarta.el.ExpressionFactory factory, jakarta.el.ELContext ctx)
      Description copied from class: ELText
      Return an instance of this that is applicable given the ELContext and ExpressionFactory state.
      Overrides:
      apply in class ELText
      Parameters:
      factory - the ExpressionFactory to use
      ctx - the ELContext to use
      Returns:
      an ELText instance
    • write

      public void write(Writer out, jakarta.el.ELContext ctx) throws jakarta.el.ELException, IOException
      Description copied from class: ELText
      Allow this instance to write to the passed Writer, given the ELContext state
      Overrides:
      write in class ELText
      Parameters:
      out - Writer to write to
      ctx - current ELContext state
      Throws:
      jakarta.el.ELException
      IOException
    • toString

      public String toString(jakarta.el.ELContext ctx) throws jakarta.el.ELException
      Description copied from class: ELText
      Evaluates the ELText to a String
      Overrides:
      toString in class ELText
      Parameters:
      ctx - current ELContext state
      Returns:
      the evaluated String
      Throws:
      jakarta.el.ELException
    • writeText

      public void writeText(ResponseWriter out, jakarta.el.ELContext ctx) throws jakarta.el.ELException, IOException
      Overrides:
      writeText in class ELText
      Throws:
      jakarta.el.ELException
      IOException