Skip to content

Contains java classes representing GeoSamples.org schema.

License

Notifications You must be signed in to change notification settings

CIRDLES/GeoSamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>