Class JSONPointer.QueryResult
- java.lang.Object
-
- org.everit.json.schema.loader.internal.JSONPointer.QueryResult
-
- Enclosing class:
- JSONPointer
public static class JSONPointer.QueryResult extends Object
Data-transfer object for holding the result of a JSON pointer query.
-
-
Constructor Summary
Constructors Constructor Description QueryResult(org.json.JSONObject containingDocument, org.json.JSONObject queryResult)
Constructor.
-
Method Summary
Modifier and Type Method Description org.json.JSONObject
getContainingDocument()
Getter forcontainingDocument
.org.json.JSONObject
getQueryResult()
Getter forqueryResult
.
-
-
-
Method Detail
-
getContainingDocument
public org.json.JSONObject getContainingDocument()
Getter forcontainingDocument
.- Returns:
- the JSON document which contains the query result.
-
getQueryResult
public org.json.JSONObject getQueryResult()
Getter forqueryResult
.- Returns:
- the JSON object being the result of the query execution.
-
-