protected JsonPointer |
JsonPointer._constructHead() |
|
protected JsonPointer |
JsonPointer._constructHead(int suffixLength,
JsonPointer last) |
|
protected static JsonPointer |
JsonPointer._parseTail(java.lang.String fullPath) |
|
JsonPointer |
JsonPointer.append(JsonPointer tail) |
Mutant factory method that will return
`tail` if `this` instance is "empty" pointer, OR
`this` instance if `tail` is "empty" pointer, OR
Newly constructed JsonPointer instance that starts with all segments
of `this`, followed by all segments of `tail`.
|
JsonPointer |
JsonPointer.appendIndex(int index) |
ATTENTION! JsonPointer is head centric, tail appending is much costlier than head appending.
|
JsonPointer |
JsonPointer.appendProperty(java.lang.String property) |
ATTENTION! JsonPointer is head centric, tail appending is much costlier than head appending.
|
static JsonPointer |
JsonPointer.compile(java.lang.String expr) |
Factory method that parses given input and construct matching pointer
instance, if it represents a valid JSON Pointer: if not, a
IllegalArgumentException is thrown.
|
static JsonPointer |
JsonPointer.empty() |
|
static JsonPointer |
JsonPointer.forPath(JsonStreamContext context,
boolean includeRoot) |
Factory method that will construct a pointer instance that describes
path to location given JsonStreamContext points to.
|
JsonPointer |
JsonPointer.head() |
Accessor for getting a pointer instance that is identical to this
instance except that the last segment has been dropped.
|
JsonPointer |
JsonPointer.last() |
|
JsonPointer |
JsonPointer.matchElement(int index) |
Method that may be called to check whether the pointer head (first segment)
matches specified Array index and if so, return
JsonPointer that represents rest of the path after match.
|
JsonPointer |
JsonPointer.matchProperty(java.lang.String name) |
Method that may be called to check whether the pointer head (first segment)
matches specified Object property (by name) and if so, return
JsonPointer that represents rest of the path after match.
|
JsonPointer |
JsonStreamContext.pathAsPointer() |
Factory method for constructing a JsonPointer that points to the current
location within the stream that this context is for, excluding information about
"root context" (only relevant for multi-root-value cases)
|
JsonPointer |
JsonStreamContext.pathAsPointer(boolean includeRoot) |
Factory method for constructing a JsonPointer that points to the current
location within the stream that this context is for, optionally including
"root value index"
|
JsonPointer |
JsonPointer.tail() |
Accessor for getting a "sub-pointer" (or sub-path), instance where current segment
has been removed and pointer includes rest of the segments.
|
static JsonPointer |
JsonPointer.valueOf(java.lang.String expr) |
|