Class NullExpression

  • All Implemented Interfaces:
    SimpleNode

    public class NullExpression
    extends BaseSimpleNode
    Represents a null expression.
    • Constructor Detail

      • NullExpression

        public NullExpression​(SimpleToken token)
    • Method Detail

      • createExpression

        public org.apache.camel.Expression createExpression​(org.apache.camel.CamelContext camelContext,
                                                            String expression)
                                                     throws SimpleParserException
        Description copied from interface: SimpleNode
        Creates a Camel Expression based on this model.
        Parameters:
        camelContext - the camel context
        expression - the input string
        Returns:
        the created Expression
        Throws:
        SimpleParserException - should be thrown if error parsing the model
      • createCode

        public String createCode​(String expression)
                          throws SimpleParserException
        Description copied from interface: SimpleNode
        Creates Java code based on this model.
        Parameters:
        expression - the input string
        Returns:
        the created Java code
        Throws:
        SimpleParserException - should be thrown if error parsing the model