Class TemplateUtil

java.lang.Object
com.e1c.langtool.v8.dt.right.ql.translator.TemplateUtil

public final class TemplateUtil extends Object
Right query language extension util for integration with templates.
  • Method Details

    • hasPoundBracket

      public static boolean hasPoundBracket(String name)
      Checks template name that has pound or bracket.
      Parameters:
      name - the template name
      Returns:
      true, if name has pound or bracket
    • getName

      public static Pair<String,Integer> getName(String templateName)
      Gets the name extracted from template name and position of name.
      Parameters:
      templateName - the template name, cannot be null
      Returns:
      the name and position, return never null.