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 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 for containingDocument.
      Returns:
      the JSON document which contains the query result.
    • getQueryResult

      public org.json.JSONObject getQueryResult()
      Getter for queryResult.
      Returns:
      the JSON object being the result of the query execution.