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.http.protocol.transaction;
07:
08: /**
09: * Interface defining tags and attribute names for the XML serialization of
10: * transactions.
11: *
12: * @author Arjohn Kampman
13: */
14: interface TransactionXMLConstants {
15:
16: public static final String TRANSACTION_TAG = "transaction";
17:
18: public static final String ADD_STATEMENT_TAG = "add";
19:
20: public static final String REMOVE_STATEMENTS_TAG = "remove";
21:
22: public static final String REMOVE_NAMED_CONTEXT_STATEMENTS_TAG = "removeFromNamedContext";
23:
24: public static final String CLEAR_TAG = "clear";
25:
26: public static final String NULL_TAG = "null";
27:
28: public static final String URI_TAG = "uri";
29:
30: public static final String BNODE_TAG = "bnode";
31:
32: public static final String LITERAL_TAG = "literal";
33:
34: public static final String LANG_ATT = "xml:lang";
35:
36: public static final String DATATYPE_ATT = "datatype";
37:
38: public static final String SET_NAMESPACE_TAG = "setNamespace";
39:
40: public static final String REMOVE_NAMESPACE_TAG = "removeNamespace";
41:
42: public static final String PREFIX_ATT = "prefix";
43:
44: public static final String NAME_ATT = "name";
45:
46: public static final String CLEAR_NAMESPACES_TAG = "clearNamespaces";
47:
48: public static final String CONTEXTS_TAG = "contexts";
49: }
|