org.fcrepo.common.rdf.RDFXSDNamespace Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fcrepo-common Show documentation
Show all versions of fcrepo-common Show documentation
Common, generally useful utilities
/* The contents of this file are subject to the license and copyright terms
* detailed in the license directory at the root of the source tree (also
* available online at http://fedora-commons.org/license/).
*/
package org.fcrepo.common.rdf;
/**
* The XSD RDF namespace.
*
*
* Namespace URI : http://www.w3.org/2001/XMLSchema#
* Preferred Prefix : xsd
*
*
*
* NOTE: This is subtly different from the XML XSD namespace, in
* that its URI ends with a #
.
* See
* http://www.w3.org/2001/tag/group/track/issues/6 for more information on
* why this is necessary.
*
*
* @author Chris Wilper
*/
public class RDFXSDNamespace
extends RDFNamespace {
private static final long serialVersionUID = 1L;
public final RDFName DATE_TIME;
public final RDFName INT;
public final RDFName LONG;
public final RDFName FLOAT;
public final RDFName DOUBLE;
public final RDFName STRING;
public RDFXSDNamespace() {
uri = "http://www.w3.org/2001/XMLSchema#";
prefix = "xsd";
DATE_TIME = new RDFName(this, "dateTime");
INT = new RDFName(this, "int");
LONG = new RDFName(this, "long");
FLOAT = new RDFName(this, "float");
DOUBLE = new RDFName(this, "double");
STRING = new RDFName(this, "string");
}
}