Class JSONPointer.QueryResult
java.lang.Object
org.everit.json.schema.loader.internal.JSONPointer.QueryResult
- Enclosing class:
- JSONPointer
Data-transfer object for holding the result of a JSON pointer query.
-
Constructor Summary
ConstructorsConstructorDescriptionQueryResult(org.json.JSONObject containingDocument, org.json.JSONObject queryResult) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionorg.json.JSONObjectGetter forcontainingDocument.org.json.JSONObjectGetter forqueryResult.
-
Constructor Details
-
QueryResult
public QueryResult(org.json.JSONObject containingDocument, org.json.JSONObject queryResult) Constructor.- Parameters:
containingDocument- the JSON document which contains the query result.queryResult- the JSON object being the result of the query execution.
-
-
Method Details
-
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.
-