public class OutputUnit extends Object
Constructor and Description |
---|
OutputUnit() |
OutputUnit(boolean valid) |
OutputUnit(JsonObject json) |
OutputUnit(String instanceLocation,
String absoluteKeywordLocation,
String keywordLocation,
String error) |
Modifier and Type | Method and Description |
---|---|
OutputUnit |
addAnnotation(OutputUnit annotation) |
OutputUnit |
addAnnotations(List<OutputUnit> annotations) |
OutputUnit |
addError(OutputUnit error) |
OutputUnit |
addErrors(List<OutputUnit> errors) |
void |
checkValidity() |
String |
getAbsoluteKeywordLocation() |
List<OutputUnit> |
getAnnotations() |
String |
getError() |
List<OutputUnit> |
getErrors() |
String |
getInstanceLocation() |
String |
getKeywordLocation() |
Boolean |
getValid() |
OutputUnit |
setAbsoluteKeywordLocation(String absoluteKeywordLocation) |
OutputUnit |
setAnnotations(List<OutputUnit> annotations) |
OutputUnit |
setError(String error) |
OutputUnit |
setErrors(List<OutputUnit> errors) |
OutputUnit |
setInstanceLocation(String instanceLocation) |
OutputUnit |
setKeywordLocation(String keywordLocation) |
OutputUnit |
setValid(Boolean valid) |
ValidationException |
toException(Object input) |
JsonObject |
toJson() |
String |
toString() |
public OutputUnit()
public OutputUnit(JsonObject json)
public OutputUnit(boolean valid)
public Boolean getValid()
public OutputUnit setValid(Boolean valid)
public String getAbsoluteKeywordLocation()
public OutputUnit setAbsoluteKeywordLocation(String absoluteKeywordLocation)
public String getKeywordLocation()
public OutputUnit setKeywordLocation(String keywordLocation)
public String getInstanceLocation()
public OutputUnit setInstanceLocation(String instanceLocation)
public String getError()
public OutputUnit setError(String error)
public List<OutputUnit> getErrors()
public OutputUnit setErrors(List<OutputUnit> errors)
public OutputUnit addError(OutputUnit error)
public OutputUnit addErrors(List<OutputUnit> errors)
public List<OutputUnit> getAnnotations()
public OutputUnit setAnnotations(List<OutputUnit> annotations)
public OutputUnit addAnnotation(OutputUnit annotation)
public OutputUnit addAnnotations(List<OutputUnit> annotations)
public void checkValidity() throws JsonSchemaValidationException
JsonSchemaValidationException
public ValidationException toException(Object input)
public JsonObject toJson()
Copyright © 2024 Eclipse. All rights reserved.