public class ExternalIdentifierValidation extends Object implements RegistryObjectValidator
Constructor and Description |
---|
ExternalIdentifierValidation(String scheme,
ValueValidator validator)
Constructs a validation.
|
Modifier and Type | Method and Description |
---|---|
void |
validate(EbXMLRegistryObject obj)
Validates a registry object.
|
public ExternalIdentifierValidation(String scheme, ValueValidator validator)
scheme
- the scheme of the external identifier to validate.validator
- the validator to call for the value of the external identifier.public void validate(EbXMLRegistryObject obj) throws XDSMetaDataException
RegistryObjectValidator
validate
in interface RegistryObjectValidator
obj
- the object.XDSMetaDataException
- if the validation failed.Copyright © 2018 Open eHealth Foundation. All rights reserved.