Interface OutputUnitWrite

  • All Known Implementing Classes:
    OutputUnitNode

    public interface OutputUnitWrite
    • Method Detail

      • setValid

        void setValid​(boolean valid)
        set validation result
      • setKeywordLocation

        void setKeywordLocation​(java.lang.String location)
        relative location of the validating keyword
      • setInstanceLocation

        void setInstanceLocation​(java.lang.String location)
        The location of the validated JSON value within the instance
      • setAbsoluteKeywordLocation

        void setAbsoluteKeywordLocation​(java.lang.String location)
        The absolute, dereferenced location of the validating keyword
      • setError

        void setError​(java.lang.String error)
      • setAnnotation

        void setAnnotation​(java.lang.Object annotation)
      • setErrors

        void setErrors​(java.util.Collection<OutputUnit> errors)
        errors or annotation produced by a failed validation
      • setAnnotations

        void setAnnotations​(java.util.Collection<OutputUnit> annotations)
        errors or annotation produced by a successful validation