Class OutputUnitNode

    • Constructor Summary

      Constructors 
      Constructor Description
      OutputUnitNode()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAbsoluteKeywordLocation()
      The absolute, dereferenced location of the validating keyword
      @Nullable java.lang.Object getAnnotation()  
      @Nullable java.util.Collection<OutputUnit> getAnnotations()
      errors or annotation produced by a successful validation
      @Nullable java.lang.String getError()  
      @Nullable java.util.Collection<OutputUnit> getErrors()
      errors or annotation produced by a failed validation
      java.lang.String getInstanceLocation()
      The location of the validated JSON value within the instance
      java.lang.String getKeywordLocation()
      relative location of the validating keyword
      boolean isValid()
      validation result
      void setAbsoluteKeywordLocation​(java.lang.String location)
      The absolute, dereferenced location of the validating keyword
      void setAnnotation​(@Nullable java.lang.Object annotation)  
      void setAnnotations​(@Nullable java.util.Collection<OutputUnit> annotations)
      errors or annotation produced by a successful validation
      void setError​(@Nullable java.lang.String error)  
      void setErrors​(@Nullable java.util.Collection<OutputUnit> errors)
      errors or annotation produced by a failed validation
      void setInstanceLocation​(java.lang.String location)
      The location of the validated JSON value within the instance
      void setKeywordLocation​(java.lang.String location)
      relative location of the validating keyword
      void setValid​(boolean valid)
      set validation result
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OutputUnitNode

        public OutputUnitNode()
    • Method Detail

      • isValid

        public boolean isValid()
        Description copied from interface: OutputUnit
        validation result
        Specified by:
        isValid in interface OutputUnit
      • getKeywordLocation

        public java.lang.String getKeywordLocation()
        Description copied from interface: OutputUnit
        relative location of the validating keyword
        Specified by:
        getKeywordLocation in interface OutputUnit
      • getInstanceLocation

        public java.lang.String getInstanceLocation()
        Description copied from interface: OutputUnit
        The location of the validated JSON value within the instance
        Specified by:
        getInstanceLocation in interface OutputUnit
      • getAbsoluteKeywordLocation

        public java.lang.String getAbsoluteKeywordLocation()
        Description copied from interface: OutputUnit
        The absolute, dereferenced location of the validating keyword
        Specified by:
        getAbsoluteKeywordLocation in interface OutputUnit
      • getError

        public @Nullable java.lang.String getError()
        Specified by:
        getError in interface OutputUnit
      • getAnnotation

        public @Nullable java.lang.Object getAnnotation()
        Specified by:
        getAnnotation in interface OutputUnit
      • getErrors

        public @Nullable java.util.Collection<OutputUnit> getErrors()
        Description copied from interface: OutputUnit
        errors or annotation produced by a failed validation
        Specified by:
        getErrors in interface OutputUnit
      • getAnnotations

        public @Nullable java.util.Collection<OutputUnit> getAnnotations()
        Description copied from interface: OutputUnit
        errors or annotation produced by a successful validation
        Specified by:
        getAnnotations in interface OutputUnit
      • setKeywordLocation

        public void setKeywordLocation​(java.lang.String location)
        Description copied from interface: OutputUnitWrite
        relative location of the validating keyword
        Specified by:
        setKeywordLocation in interface OutputUnitWrite
      • setInstanceLocation

        public void setInstanceLocation​(java.lang.String location)
        Description copied from interface: OutputUnitWrite
        The location of the validated JSON value within the instance
        Specified by:
        setInstanceLocation in interface OutputUnitWrite
      • setAbsoluteKeywordLocation

        public void setAbsoluteKeywordLocation​(java.lang.String location)
        Description copied from interface: OutputUnitWrite
        The absolute, dereferenced location of the validating keyword
        Specified by:
        setAbsoluteKeywordLocation in interface OutputUnitWrite
      • setError

        public void setError​(@Nullable java.lang.String error)
        Specified by:
        setError in interface OutputUnitWrite
      • setAnnotation

        public void setAnnotation​(@Nullable java.lang.Object annotation)
        Specified by:
        setAnnotation in interface OutputUnitWrite
      • setErrors

        public void setErrors​(@Nullable java.util.Collection<OutputUnit> errors)
        Description copied from interface: OutputUnitWrite
        errors or annotation produced by a failed validation
        Specified by:
        setErrors in interface OutputUnitWrite
      • setAnnotations

        public void setAnnotations​(@Nullable java.util.Collection<OutputUnit> annotations)
        Description copied from interface: OutputUnitWrite
        errors or annotation produced by a successful validation
        Specified by:
        setAnnotations in interface OutputUnitWrite