flexjson
Class PathExpression
java.lang.Object
flexjson.PathExpression
public class PathExpression
- extends Object
This is an internal class for Flexjson. It's used to match on fields it encounters
while walking the object graph. Every expression is expressed in dot notation like foo.bar.baz. Each term
between the dots is a field name in that parent object. All expressions are relative to some parent object
within the context in which they are used. Typically it is the object you're serializing. Expressions may
also contain wildcards like *.class.
PathExpression
public PathExpression(String expr,
boolean anInclude)
toString
public String toString()
- Overrides:
toString
in class Object
matches
public boolean matches(Path path)
isWildcard
public boolean isWildcard()
isIncluded
public boolean isIncluded()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2014. All Rights Reserved.