01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2007.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.query.resultio.sparqlxml;
07:
08: /**
09: * Interface defining tags and attribute names that are used in SPARQL Results
10: * Documents. See <a href="http://www.w3.org/TR/rdf-sparql-XMLres/">SPARQL Query
11: * Results XML Format</a> for the definition of this format.
12: *
13: * @author Arjohn Kampman
14: */
15: interface SPARQLResultsXMLConstants {
16:
17: public static final String NAMESPACE = "http://www.w3.org/2005/sparql-results#";
18:
19: public static final String ROOT_TAG = "sparql";
20:
21: public static final String HEAD_TAG = "head";
22:
23: public static final String VAR_TAG = "variable";
24:
25: public static final String VAR_NAME_ATT = "name";
26:
27: public static final String BOOLEAN_TAG = "boolean";
28:
29: public static final String BOOLEAN_TRUE = "true";
30:
31: public static final String BOOLEAN_FALSE = "false";
32:
33: public static final String RESULT_SET_TAG = "results";
34:
35: public static final String RESULT_TAG = "result";
36:
37: public static final String BINDING_TAG = "binding";
38:
39: public static final String BINDING_NAME_ATT = "name";
40:
41: public static final String URI_TAG = "uri";
42:
43: public static final String BNODE_TAG = "bnode";
44:
45: public static final String LITERAL_TAG = "literal";
46:
47: public static final String LITERAL_LANG_ATT = "xml:lang";
48:
49: public static final String LITERAL_DATATYPE_ATT = "datatype";
50:
51: public static final String UNBOUND_TAG = "unbound";
52: }
|