public class PathElementBuilder
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
PathElementBuilder() |
Modifier and Type | Method and Description |
---|---|
static MatchablePathElement |
buildMatchablePathElement(java.lang.String rawJsonKey)
Create a path element and ensures it is a Matchable Path Element
|
static java.util.List<PathElement> |
parseDotNotationRHS(java.lang.String dotNotation)
Parse the dotNotation of the RHS.
|
static java.util.List<PathElement> |
parseList(java.util.List<java.lang.String> keys,
java.lang.String refDotNotation) |
static PathElement |
parseSingleKeyLHS(java.lang.String origKey)
Visible for Testing.
|
public static MatchablePathElement buildMatchablePathElement(java.lang.String rawJsonKey)
public static PathElement parseSingleKeyLHS(java.lang.String origKey)
origKey
- String that should represent a single PathElementpublic static java.util.List<PathElement> parseDotNotationRHS(java.lang.String dotNotation)
public static java.util.List<PathElement> parseList(java.util.List<java.lang.String> keys, java.lang.String refDotNotation)
refDotNotation
- the original dotNotation string used for error messages