Class ProfiledValidator
java.lang.Object
de.gematik.bbriccs.fhir.validation.ProfiledValidator
- All Implemented Interfaces:
ValidatorFhir
-
Constructor Summary
ConstructorsConstructorDescriptionProfiledValidator(ca.uhn.fhir.context.FhirContext ctx, String id, List<ca.uhn.fhir.context.support.IValidationSupport> customProfileSupports, ErrorMessageFilter errorFilter) ProfiledValidator(String id, List<ca.uhn.fhir.context.support.IValidationSupport> customProfileSupports) ProfiledValidator(String id, List<ca.uhn.fhir.context.support.IValidationSupport> customProfileSupports, ErrorMessageFilter errorFilter) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandoesSupport(String url) ca.uhn.fhir.context.FhirContextGet theFhirContextused by this validatorca.uhn.fhir.validation.ValidationResultPerform a validation on the given string contentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.gematik.bbriccs.fhir.validation.ValidatorFhir
isValid
-
Constructor Details
-
ProfiledValidator
-
ProfiledValidator
public ProfiledValidator(String id, List<ca.uhn.fhir.context.support.IValidationSupport> customProfileSupports, @Nullable ErrorMessageFilter errorFilter) -
ProfiledValidator
public ProfiledValidator(ca.uhn.fhir.context.FhirContext ctx, String id, List<ca.uhn.fhir.context.support.IValidationSupport> customProfileSupports, @Nullable ErrorMessageFilter errorFilter)
-
-
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
-
doesSupport
-