public abstract class PathToken
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Boolean |
definite |
private PathToken |
next |
private PathToken |
prev |
private java.lang.Boolean |
upstreamDefinite |
| Constructor and Description |
|---|
PathToken() |
| Modifier and Type | Method and Description |
|---|---|
(package private) PathToken |
appendTailToken(PathToken next) |
boolean |
equals(java.lang.Object obj) |
abstract void |
evaluate(java.lang.String currentPath,
PathRef parent,
java.lang.Object model,
EvaluationContextImpl ctx) |
protected abstract java.lang.String |
getPathFragment() |
int |
getTokenCount() |
protected void |
handleArrayIndex(int index,
java.lang.String currentPath,
java.lang.Object model,
EvaluationContextImpl ctx) |
(package private) void |
handleObjectProperty(java.lang.String currentPath,
java.lang.Object model,
EvaluationContextImpl ctx,
java.util.List<java.lang.String> properties) |
int |
hashCode() |
private static boolean |
hasProperty(java.lang.String property,
java.lang.Object model,
EvaluationContextImpl ctx) |
void |
invoke(PathFunction pathFunction,
java.lang.String currentPath,
PathRef parent,
java.lang.Object model,
EvaluationContextImpl ctx) |
(package private) boolean |
isLeaf() |
boolean |
isPathDefinite() |
(package private) boolean |
isRoot() |
abstract boolean |
isTokenDefinite() |
(package private) boolean |
isUpstreamDefinite() |
(package private) PathToken |
next() |
(package private) PathToken |
prev() |
private static java.lang.Object |
readObjectProperty(java.lang.String property,
java.lang.Object model,
EvaluationContextImpl ctx) |
java.lang.String |
toString() |
private PathToken prev
private PathToken next
private java.lang.Boolean definite
private java.lang.Boolean upstreamDefinite
void handleObjectProperty(java.lang.String currentPath,
java.lang.Object model,
EvaluationContextImpl ctx,
java.util.List<java.lang.String> properties)
private static boolean hasProperty(java.lang.String property,
java.lang.Object model,
EvaluationContextImpl ctx)
private static java.lang.Object readObjectProperty(java.lang.String property,
java.lang.Object model,
EvaluationContextImpl ctx)
protected void handleArrayIndex(int index,
java.lang.String currentPath,
java.lang.Object model,
EvaluationContextImpl ctx)
PathToken prev()
PathToken next()
boolean isLeaf()
boolean isRoot()
boolean isUpstreamDefinite()
public int getTokenCount()
public boolean isPathDefinite()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic void invoke(PathFunction pathFunction, java.lang.String currentPath, PathRef parent, java.lang.Object model, EvaluationContextImpl ctx)
public abstract void evaluate(java.lang.String currentPath,
PathRef parent,
java.lang.Object model,
EvaluationContextImpl ctx)
public abstract boolean isTokenDefinite()
protected abstract java.lang.String getPathFragment()