Class WikidataValidator
- java.lang.Object
-
- org.gbif.api.util.validators.identifierschemes.WikidataValidator
-
- All Implemented Interfaces:
IdentifierSchemeValidator
public class WikidataValidator extends Object implements IdentifierSchemeValidator
-
-
Constructor Summary
Constructors Constructor Description WikidataValidator()
-
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
-
WikidataValidator
public WikidataValidator()
-
-
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
-
-