public class SchemaBaseValidator extends Object implements IValidatorModule
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCES_JAR_NOTE |
| Constructor and Description |
|---|
SchemaBaseValidator(FhirContext theContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
validateBundle(IValidationContext<Bundle> theContext)
This method applies only to DSTU1 Atom Bundles.
|
void |
validateResource(IValidationContext<IBaseResource> theContext)
Validate the actual resource.
|
public static final String RESOURCES_JAR_NOTE
public SchemaBaseValidator(FhirContext theContext)
public void validateBundle(IValidationContext<Bundle> theContext)
IValidatorModuleIValidatorModule.validateResource(IValidationContext) inclusing DSTU2+ Bundle resources. If you
will not be validating DSTU1 Bundles, you may implement this method as
a NO-OP.validateBundle in interface IValidatorModulepublic void validateResource(IValidationContext<IBaseResource> theContext)
IValidatorModuleIValidationContext can be used to access the resource being validated,
and is populated with the results.validateResource in interface IValidatorModuleCopyright © 2014–2016 University Health Network. All rights reserved.