Class QueryUtils


  • public final class QueryUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static @NotNull java.lang.String escapeForQuery​(@NotNull java.lang.String value)  
      static @NotNull java.lang.String escapeNodeName​(@NotNull java.lang.String string)
      Escape string for matching in jcr escaped node names
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • escapeNodeName

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

        @NotNull
        public static @NotNull java.lang.String escapeForQuery​(@NotNull
                                                               @NotNull java.lang.String value)