Class QueryUtils

java.lang.Object
org.apache.jackrabbit.oak.commons.QueryUtils

public final class QueryUtils extends Object
  • Method Details

    • escapeNodeName

      @NotNull public static @NotNull String escapeNodeName(@NotNull @NotNull String string)
      Escape string for matching in jcr escaped node names
      Parameters:
      string - string to escape
      Returns:
      escaped string
    • escapeForQuery

      @NotNull public static @NotNull String escapeForQuery(@NotNull @NotNull String value)