Class PathToken

    • Field Detail

      • definite

        private java.lang.Boolean definite
      • upstreamDefinite

        private java.lang.Boolean upstreamDefinite
    • Constructor Detail

      • PathToken

        public PathToken()
    • Method Detail

      • handleObjectProperty

        void handleObjectProperty​(java.lang.String currentPath,
                                  java.lang.Object model,
                                  EvaluationContextImpl ctx,
                                  java.util.List<java.lang.String> properties)
      • hasProperty

        private static boolean hasProperty​(java.lang.String property,
                                           java.lang.Object model,
                                           EvaluationContextImpl ctx)
      • readObjectProperty

        private static java.lang.Object readObjectProperty​(java.lang.String property,
                                                           java.lang.Object model,
                                                           EvaluationContextImpl ctx)
      • handleArrayIndex

        protected void handleArrayIndex​(int index,
                                        java.lang.String currentPath,
                                        java.lang.Object model,
                                        EvaluationContextImpl ctx)
      • isLeaf

        boolean isLeaf()
      • isRoot

        boolean isRoot()
      • isUpstreamDefinite

        boolean isUpstreamDefinite()
      • getTokenCount

        public int getTokenCount()
      • isPathDefinite

        public boolean isPathDefinite()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • evaluate

        public abstract void evaluate​(java.lang.String currentPath,
                                      PathRef parent,
                                      java.lang.Object model,
                                      EvaluationContextImpl ctx)
      • isTokenDefinite

        public abstract boolean isTokenDefinite()
      • getPathFragment

        protected abstract java.lang.String getPathFragment()