Class QueryTemplateParser

java.lang.Object
de.calamanari.adl.sql.QueryTemplateParser

public class QueryTemplateParser extends Object
A QueryParameter parses a template with named parameters (${id}) to trigger the registered listener on any occurrence with the name and the exact position.
Author:
Karl Eilebrecht
  • Constructor Details

  • Method Details

    • parseSqlTemplate

      public void parseSqlTemplate(String template)
      Parses the given template and informs the listener about any parameter occurrence.

      This allows the listener to conveniently convert the template in a final form (replace parameters).

      Parameters:
      template -