org.eclipse.rdf4j.model.vocabulary.XSD Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rdf4j-model-vocabulary Show documentation
Show all versions of rdf4j-model-vocabulary Show documentation
Well-Known RDF vocabularies.
The newest version!
/*******************************************************************************
* Copyright (c) 2020 Eclipse RDF4J contributors.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
package org.eclipse.rdf4j.model.vocabulary;
import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Namespace;
import org.eclipse.rdf4j.model.base.CoreDatatype;
/**
* Constants for the standard XML Schema 1.1 datatypes.
*
* @see XML Schema 1.1 Part 2: Datatypes
*/
public class XSD {
/**
* The XML Schema namespace (http://www.w3.org/2001/XMLSchema#).
*/
public final static String NAMESPACE = CoreDatatype.XSD.NAMESPACE;
/**
* Recommended prefix for XML Schema datatypes: "xsd"
*/
public final static String PREFIX = "xsd";
/**
* An immutable {@link Namespace} constant that represents the XML Schema namespace.
*/
public final static Namespace NS = Vocabularies.createNamespace(PREFIX, NAMESPACE);
/*
* Primitive datatypes
*/
/** http://www.w3.org/2001/XMLSchema#duration */
public final static IRI DURATION = CoreDatatype.XSD.DURATION.getIri();
/** http://www.w3.org/2001/XMLSchema#dateTime */
public final static IRI DATETIME = CoreDatatype.XSD.DATETIME.getIri();
/** http://www.w3.org/2001/XMLSchema#dateTimeStamp */
public final static IRI DATETIMESTAMP = CoreDatatype.XSD.DATETIMESTAMP.getIri();
/** http://www.w3.org/2001/XMLSchema#dayTimeDuration */
public final static IRI DAYTIMEDURATION = CoreDatatype.XSD.DAYTIMEDURATION.getIri();
/** http://www.w3.org/2001/XMLSchema#time */
public final static IRI TIME = CoreDatatype.XSD.TIME.getIri();
/** http://www.w3.org/2001/XMLSchema#date */
public final static IRI DATE = CoreDatatype.XSD.DATE.getIri();
/** http://www.w3.org/2001/XMLSchema#gYearMonth */
public final static IRI GYEARMONTH = CoreDatatype.XSD.GYEARMONTH.getIri();
/** http://www.w3.org/2001/XMLSchema#gYear */
public final static IRI GYEAR = CoreDatatype.XSD.GYEAR.getIri();
/** http://www.w3.org/2001/XMLSchema#gMonthDay */
public final static IRI GMONTHDAY = CoreDatatype.XSD.GMONTHDAY.getIri();
/** http://www.w3.org/2001/XMLSchema#gDay */
public final static IRI GDAY = CoreDatatype.XSD.GDAY.getIri();
/** http://www.w3.org/2001/XMLSchema#gMonth */
public final static IRI GMONTH = CoreDatatype.XSD.GMONTH.getIri();
/** http://www.w3.org/2001/XMLSchema#string */
public final static IRI STRING = CoreDatatype.XSD.STRING.getIri();
/** http://www.w3.org/2001/XMLSchema#boolean */
public final static IRI BOOLEAN = CoreDatatype.XSD.BOOLEAN.getIri();
/** http://www.w3.org/2001/XMLSchema#base64Binary */
public final static IRI BASE64BINARY = CoreDatatype.XSD.BASE64BINARY.getIri();
/** http://www.w3.org/2001/XMLSchema#hexBinary */
public final static IRI HEXBINARY = CoreDatatype.XSD.HEXBINARY.getIri();
/** http://www.w3.org/2001/XMLSchema#float */
public final static IRI FLOAT = CoreDatatype.XSD.FLOAT.getIri();
/** http://www.w3.org/2001/XMLSchema#decimal */
public final static IRI DECIMAL = CoreDatatype.XSD.DECIMAL.getIri();
/** http://www.w3.org/2001/XMLSchema#double */
public final static IRI DOUBLE = CoreDatatype.XSD.DOUBLE.getIri();
/** http://www.w3.org/2001/XMLSchema#anyURI */
public final static IRI ANYURI = CoreDatatype.XSD.ANYURI.getIri();
/** http://www.w3.org/2001/XMLSchema#QName */
public final static IRI QNAME = CoreDatatype.XSD.QNAME.getIri();
/** http://www.w3.org/2001/XMLSchema#NOTATION */
public final static IRI NOTATION = CoreDatatype.XSD.NOTATION.getIri();
/*
* Derived datatypes
*/
/** http://www.w3.org/2001/XMLSchema#normalizedString */
public final static IRI NORMALIZEDSTRING = CoreDatatype.XSD.NORMALIZEDSTRING.getIri();
/** http://www.w3.org/2001/XMLSchema#token */
public final static IRI TOKEN = CoreDatatype.XSD.TOKEN.getIri();
/** http://www.w3.org/2001/XMLSchema#language */
public final static IRI LANGUAGE = CoreDatatype.XSD.LANGUAGE.getIri();
/** http://www.w3.org/2001/XMLSchema#NMTOKEN */
public final static IRI NMTOKEN = CoreDatatype.XSD.NMTOKEN.getIri();
/** http://www.w3.org/2001/XMLSchema#NMTOKENS */
public final static IRI NMTOKENS = CoreDatatype.XSD.NMTOKENS.getIri();
/** http://www.w3.org/2001/XMLSchema#Name */
public final static IRI NAME = CoreDatatype.XSD.NAME.getIri();
/** http://www.w3.org/2001/XMLSchema#NCName */
public final static IRI NCNAME = CoreDatatype.XSD.NCNAME.getIri();
/** http://www.w3.org/2001/XMLSchema#ID */
public final static IRI ID = CoreDatatype.XSD.ID.getIri();
/** http://www.w3.org/2001/XMLSchema#IDREF */
public final static IRI IDREF = CoreDatatype.XSD.IDREF.getIri();
/** http://www.w3.org/2001/XMLSchema#IDREFS */
public final static IRI IDREFS = CoreDatatype.XSD.IDREFS.getIri();
/** http://www.w3.org/2001/XMLSchema#ENTITY */
public final static IRI ENTITY = CoreDatatype.XSD.ENTITY.getIri();
/** http://www.w3.org/2001/XMLSchema#ENTITIES */
public final static IRI ENTITIES = CoreDatatype.XSD.ENTITIES.getIri();
/** http://www.w3.org/2001/XMLSchema#integer */
public final static IRI INTEGER = CoreDatatype.XSD.INTEGER.getIri();
/** http://www.w3.org/2001/XMLSchema#long */
public final static IRI LONG = CoreDatatype.XSD.LONG.getIri();
/** http://www.w3.org/2001/XMLSchema#int */
public final static IRI INT = CoreDatatype.XSD.INT.getIri();
/** http://www.w3.org/2001/XMLSchema#short */
public final static IRI SHORT = CoreDatatype.XSD.SHORT.getIri();
/** http://www.w3.org/2001/XMLSchema#byte */
public final static IRI BYTE = CoreDatatype.XSD.BYTE.getIri();
/** http://www.w3.org/2001/XMLSchema#nonPositiveInteger */
public final static IRI NON_POSITIVE_INTEGER = CoreDatatype.XSD.NON_POSITIVE_INTEGER.getIri();
/** http://www.w3.org/2001/XMLSchema#negativeInteger */
public final static IRI NEGATIVE_INTEGER = CoreDatatype.XSD.NEGATIVE_INTEGER.getIri();
/** http://www.w3.org/2001/XMLSchema#nonNegativeInteger */
public final static IRI NON_NEGATIVE_INTEGER = CoreDatatype.XSD.NON_NEGATIVE_INTEGER.getIri();
/** http://www.w3.org/2001/XMLSchema#positiveInteger */
public final static IRI POSITIVE_INTEGER = CoreDatatype.XSD.POSITIVE_INTEGER.getIri();
/** http://www.w3.org/2001/XMLSchema#unsignedLong */
public final static IRI UNSIGNED_LONG = CoreDatatype.XSD.UNSIGNED_LONG.getIri();
/** http://www.w3.org/2001/XMLSchema#unsignedInt */
public final static IRI UNSIGNED_INT = CoreDatatype.XSD.UNSIGNED_INT.getIri();
/** http://www.w3.org/2001/XMLSchema#unsignedShort */
public final static IRI UNSIGNED_SHORT = CoreDatatype.XSD.UNSIGNED_SHORT.getIri();
/** http://www.w3.org/2001/XMLSchema#unsignedByte */
public final static IRI UNSIGNED_BYTE = CoreDatatype.XSD.UNSIGNED_BYTE.getIri();
/** http://www.w3.org/2001/XMLSchema#yearMonthDuration */
public final static IRI YEARMONTHDURATION = CoreDatatype.XSD.YEARMONTHDURATION.getIri();
}