Interface SimpleNode

    • Method Detail

      • getToken

        SimpleToken getToken()
        Gets the token by which this model was based upon
        Returns:
        the token
      • createExpression

        org.apache.camel.Expression createExpression​(org.apache.camel.CamelContext camelContext,
                                                     String expression)
                                              throws SimpleParserException
        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

        String createCode​(String expression)
                   throws SimpleParserException
        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