Class Selectors


  • public final class Selectors
    extends java.lang.Object
    Common Selector implementations
    • Field Detail

      • THIS

        public static final UniversalFilter.Selector THIS
        A selector returning the node for which a call back on EventFilter was called or a non existing node in the case of a property call back.
    • Method Detail

      • fromThis

        @NotNull
        public static @NotNull UniversalFilter.Selector fromThis​(@NotNull
                                                                 @NotNull java.lang.String relPath)
        A selector returning the node at relPath relative to THIS
        Parameters:
        relPath - relative path
        Returns:
        selector for relPath from THIS
      • fromParent

        @NotNull
        public static @NotNull UniversalFilter.Selector fromParent​(@NotNull
                                                                   @NotNull java.lang.String relPath)
        A selector returning the node at relPath relative to PARENT
        Parameters:
        relPath - relative path
        Returns:
        selector for relPath from PARENT