Contains java classes representing GeoSamples.org schema.
Java
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.travis.yml
LICENSE
README.md
pom.xml

README.md

GeoSamples

Build Status

This library consists of java class files compiled from the samplev2.xsd schema (http://app.geosamples.org/samplev2.xsd) using JAXB : https://jaxb.java.net/ and modified to add parent, children, and siblings that are provided when http GET is invoked at one of geosamples.org services.

Three de-serialization methods are provided - one for each of the three working versions of the services.

Two serializing methods to XML strings are provided - plain and pretty-print.

One method for validating a Sample object for upload is provided.

JavaDocs in browser

This is a work-in-progress, so please contribute ideas, code, docs, etc.

For use with Maven, add to your pom.xml file this repository:

      <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
      </repository>

and this reference to GeoSamples:

      <dependency>
        <groupId>com.github.cirdles</groupId>
        <artifactId>GeoSamples</artifactId>
        <version>v.2.0.0</version>
      </dependency>