01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2006.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.rio.trix;
07:
08: /**
09: * Interface defining a number of constants for the TriX document format.
10: */
11: public interface TriXConstants {
12:
13: /** The TriX namespace. */
14: public static final String NAMESPACE = "http://www.w3.org/2004/03/trix/trix-1/";
15:
16: /** The root tag. */
17: public static final String ROOT_TAG = "TriX";
18:
19: /** The tag that starts a new context/graph. */
20: public static final String CONTEXT_TAG = "graph";
21:
22: /** The tag that starts a new triple. */
23: public static final String TRIPLE_TAG = "triple";
24:
25: /** The tag for URI values. */
26: public static final String URI_TAG = "uri";
27:
28: /** The tag for BNode values. */
29: public static final String BNODE_TAG = "id";
30:
31: /** The tag for plain literal values. */
32: public static final String PLAIN_LITERAL_TAG = "plainLiteral";
33:
34: /** The tag for typed literal values. */
35: public static final String TYPED_LITERAL_TAG = "typedLiteral";
36:
37: /** The attribute for language tags of plain literal. */
38: public static final String LANGUAGE_ATT = "xml:lang";
39:
40: /** The attribute for datatypes of typed literal. */
41: public static final String DATATYPE_ATT = "datatype";
42: }
|