Class OrcidValidator
- java.lang.Object
-
- org.gbif.api.util.validators.identifierschemes.OrcidValidator
-
- All Implemented Interfaces:
IdentifierSchemeValidator
public class OrcidValidator extends Object implements IdentifierSchemeValidator
Validator for Orcid identifiers.
-
-
Constructor Summary
Constructors Constructor Description OrcidValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValid(String value)
Is the identifier value valid?.String
normalize(String value)
Transforms the value parameter into a recommended value according to a IdentifierScheme.
-
-
-
Constructor Detail
-
OrcidValidator
public OrcidValidator()
-
-
Method Detail
-
isValid
public boolean isValid(String value)
Description copied from interface:IdentifierSchemeValidator
Is the identifier value valid?.- Specified by:
isValid
in interfaceIdentifierSchemeValidator
-
normalize
public String normalize(String value)
Description copied from interface:IdentifierSchemeValidator
Transforms the value parameter into a recommended value according to a IdentifierScheme.- Specified by:
normalize
in interfaceIdentifierSchemeValidator
-
-