Class Template


  • public class Template
    extends Object
    INTERNAL: Represents a CTM template. Contains a recorded list of parse events which is replayed when the template is invoked.
    • Method Detail

      • getName

        public String getName()
      • getParameterCount

        public int getParameterCount()
      • getUsedParameters

        public Set<String> getUsedParameters()
      • invoke

        public void invoke​(List arguments,
                           ParseEventHandlerIF handler)
        Invokes the template.
        Parameters:
        arguments - a list of generator objects producing the values for the arguments, in the same order as the parameters list
      • setParameters

        public void setParameters​(List<String> parameters)
        This method is only used by the tolog INSERT statement. It is not meant to be called during normal operation. If you do, don't complain if it breaks.