Class InContentExpression

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TypeDescriptor<?> inferType()
      Infers the type of this expression including the type of the contained sub-expressions.
      boolean replaceEmptyLine()
      In content replacement, replace an entire line if this expression is evaluated to an empty string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InContentExpression

        public InContentExpression()
    • Method Detail

      • replaceEmptyLine

        public boolean replaceEmptyLine()
        Description copied from class: Expression
        In content replacement, replace an entire line if this expression is evaluated to an empty string.
        Overrides:
        replaceEmptyLine in class Expression
        Returns:
        true for replace entire line, false (default) else
      • inferType

        public TypeDescriptor<?> inferType()
                                    throws VilException
        Description copied from class: Expression
        Infers the type of this expression including the type of the contained sub-expressions.
        Specified by:
        inferType in class Expression
        Returns:
        the type of this expression
        Throws:
        VilException - in case that inferring the type fails