public class Path extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_DEPTH |
static com.couchbase.mock.subdoc.Component |
ROOT |
| Modifier and Type | Method and Description |
|---|---|
com.couchbase.mock.subdoc.Component |
get(int ix) |
com.couchbase.mock.subdoc.Component |
getLast() |
int |
size() |
void |
validateComponentType(int ix,
com.google.gson.JsonElement parent) |
public static final com.couchbase.mock.subdoc.Component ROOT
public static final int MAX_DEPTH
public Path(String input) throws PathParseException, PathTooDeepException
public com.couchbase.mock.subdoc.Component get(int ix)
public com.couchbase.mock.subdoc.Component getLast()
public int size()
public void validateComponentType(int ix,
com.google.gson.JsonElement parent)
throws PathMismatchException
PathMismatchExceptionCopyright © 2017. All rights reserved.