Class ResearcherIdValidator
- java.lang.Object
-
- org.gbif.api.util.validators.identifierschemes.ResearcherIdValidator
-
- All Implemented Interfaces:
IdentifierSchemeValidator
public class ResearcherIdValidator extends Object implements IdentifierSchemeValidator
-
-
Field Summary
Fields Modifier and Type Field Description static Pattern
FORMAT_PATTERN
-
Constructor Summary
Constructors Constructor Description ResearcherIdValidator()
-
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.
-
-
-
Field Detail
-
FORMAT_PATTERN
public static final Pattern FORMAT_PATTERN
-
-
Constructor Detail
-
ResearcherIdValidator
public ResearcherIdValidator()
-
-
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
-
-