Interface OutputUnit
-
- All Known Implementing Classes:
OutputUnitFlag,OutputUnitNode
public interface OutputUnit
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAbsoluteKeywordLocation()The absolute, dereferenced location of the validating keyword@Nullable java.lang.ObjectgetAnnotation()@Nullable java.util.Collection<OutputUnit>getAnnotations()errors or annotation produced by a successful validation@Nullable java.lang.StringgetError()@Nullable java.util.Collection<OutputUnit>getErrors()errors or annotation produced by a failed validationjava.lang.StringgetInstanceLocation()The location of the validated JSON value within the instancejava.lang.StringgetKeywordLocation()relative location of the validating keywordbooleanisValid()validation result
-
-
-
Method Detail
-
isValid
boolean isValid()
validation result
-
getKeywordLocation
java.lang.String getKeywordLocation()
relative location of the validating keyword
-
getInstanceLocation
java.lang.String getInstanceLocation()
The location of the validated JSON value within the instance
-
getAbsoluteKeywordLocation
java.lang.String getAbsoluteKeywordLocation()
The absolute, dereferenced location of the validating keyword
-
getError
@Nullable java.lang.String getError()
-
getAnnotation
@Nullable java.lang.Object getAnnotation()
-
getErrors
@Nullable java.util.Collection<OutputUnit> getErrors()
errors or annotation produced by a failed validation
-
getAnnotations
@Nullable java.util.Collection<OutputUnit> getAnnotations()
errors or annotation produced by a successful validation
-
-