Class DoubleQuoteEnd

java.lang.Object
org.apache.camel.language.simple.ast.BaseSimpleNode
org.apache.camel.language.simple.ast.DoubleQuoteEnd
All Implemented Interfaces:
BlockEnd, SimpleNode

public class DoubleQuoteEnd extends BaseSimpleNode implements BlockEnd
Ends a block enclosed by double quotes
  • Constructor Details

    • DoubleQuoteEnd

      public DoubleQuoteEnd(SimpleToken token)
  • Method Details

    • createExpression

      public org.apache.camel.Expression createExpression(org.apache.camel.CamelContext camelContext, String expression)
      Description copied from interface: SimpleNode
      Creates a Camel Expression based on this model.
      Specified by:
      createExpression in interface SimpleNode
      Parameters:
      camelContext - the camel context
      expression - the input string
      Returns:
      the created Expression
    • createCode

      public String createCode(org.apache.camel.CamelContext camelContext, String expression) throws SimpleParserException
      Description copied from interface: SimpleNode
      Creates Java code based on this model.
      Specified by:
      createCode in interface SimpleNode
      Parameters:
      camelContext - the camel context
      expression - the input string
      Returns:
      the created Java code
      Throws:
      SimpleParserException - should be thrown if error parsing the model