
org.eclipse.rdf4j.rio.trix.TriXConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rdf4j-rio-trix Show documentation
Show all versions of rdf4j-rio-trix Show documentation
Rio parser and writer implementation for the TriX file format.
/*******************************************************************************
* Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, and others.
* 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.
*******************************************************************************/
package org.eclipse.rdf4j.rio.trix;
/**
* Interface defining a number of constants for the TriX document format.
*/
public interface TriXConstants {
/** The TriX namespace. */
public static final String NAMESPACE = "http://www.w3.org/2004/03/trix/trix-1/";
/** The root tag. */
public static final String ROOT_TAG = "TriX";
/** The tag that starts a new context/graph. */
public static final String CONTEXT_TAG = "graph";
/** The tag that starts a new triple. */
public static final String TRIPLE_TAG = "triple";
/** The tag for URI values. */
public static final String URI_TAG = "uri";
/** The tag for BNode values. */
public static final String BNODE_TAG = "id";
/** The tag for plain literal values. */
public static final String PLAIN_LITERAL_TAG = "plainLiteral";
/** The tag for typed literal values. */
public static final String TYPED_LITERAL_TAG = "typedLiteral";
/** The attribute for language tags of plain literal. */
public static final String LANGUAGE_ATT = "xml:lang";
/** The attribute for datatypes of typed literal. */
public static final String DATATYPE_ATT = "datatype";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy