Class DummyValidator
java.lang.Object
de.gematik.bbriccs.fhir.validation.DummyValidator
- All Implemented Interfaces:
ValidatorFhir
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.context.FhirContextGet theFhirContextused by this validatorbooleanPerform a validation on the given content and extract the overall result from theValidationResultca.uhn.fhir.validation.ValidationResultPerform a validation on the given string content
-
Constructor Details
-
DummyValidator
public DummyValidator(ca.uhn.fhir.context.FhirContext ctx)
-
-
Method Details
-
getContext
public ca.uhn.fhir.context.FhirContext getContext()Description copied from interface:ValidatorFhirGet theFhirContextused by this validator- Specified by:
getContextin interfaceValidatorFhir- Returns:
- the
FhirContextused for validation
-
validate
Description copied from interface:ValidatorFhirPerform a validation on the given string content- Specified by:
validatein interfaceValidatorFhir- Parameters:
content- to be validated- Returns:
- the
ValidationResult
-
isValid
Description copied from interface:ValidatorFhirPerform a validation on the given content and extract the overall result from theValidationResult- Specified by:
isValidin interfaceValidatorFhir- Parameters:
content- to be validated- Returns:
- true if the
ValidationResultwas successful or false otherwise
-