Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.01 KB

README.md

File metadata and controls

27 lines (22 loc) · 1.01 KB

Darwin Core API

The DwC-API library provides:

  • Enumerations representing Darwin Core terms
  • Enumerations representing terms or a subset of terms from other standards (e.g. Dublin Core, Audubon Core)
  • Handling of unknown terms through UnknownTerm
  • Factory for getting Term instances
  • Utilities like JSON serialization and Term comparator

To build the project

mvn clean install

Usage

//get Term by the defined enumaration
Term scientificNameFromEnum = DwcTerm.scientificName;

//get Term by the TermFactory
TermFactory factory = TermFactory.instance();
Term scientificNameFromPrefixAndSimpleName = factory.findTerm("dwc:scientificName");
Term scientificNameFromQualifiedName = factory.findTerm("http://rs.tdwg.org/dwc/terms/scientificName");

Documentation

JavaDocs