01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 2007.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.repository.config;
07:
08: import org.openrdf.model.URI;
09: import org.openrdf.model.ValueFactory;
10: import org.openrdf.model.impl.ValueFactoryImpl;
11:
12: /**
13: * Defines constants for the repository configuration schema that is used by
14: * {@link RepositoryManager}s.
15: *
16: * @author Arjohn Kampman
17: */
18: public class RepositoryConfigSchema {
19:
20: /** The HTTPRepository schema namespace (<tt>http://www.openrdf.org/config/repository#</tt>). */
21: public static final String NAMESPACE = "http://www.openrdf.org/config/repository#";
22:
23: /** <tt>http://www.openrdf.org/config/repository#RepositoryContext</tt> */
24: public final static URI REPOSITORY_CONTEXT;
25:
26: /** <tt>http://www.openrdf.org/config/repository#Repository</tt> */
27: public final static URI REPOSITORY;
28:
29: /** <tt>http://www.openrdf.org/config/repository#repositoryID</tt> */
30: public final static URI REPOSITORYID;
31:
32: /** <tt>http://www.openrdf.org/config/repository#repositoryImpl</tt> */
33: public final static URI REPOSITORYIMPL;
34:
35: /** <tt>http://www.openrdf.org/config/repository#repositoryType</tt> */
36: public final static URI REPOSITORYTYPE;
37:
38: /** <tt>http://www.openrdf.org/config/repository#delegate</tt> */
39: public final static URI DELEGATE;
40:
41: static {
42: ValueFactory factory = ValueFactoryImpl.getInstance();
43: REPOSITORY_CONTEXT = factory.createURI(NAMESPACE,
44: "RepositoryContext");
45: REPOSITORY = factory.createURI(NAMESPACE, "Repository");
46: REPOSITORYID = factory.createURI(NAMESPACE, "repositoryID");
47: REPOSITORYIMPL = factory.createURI(NAMESPACE, "repositoryImpl");
48: REPOSITORYTYPE = factory.createURI(NAMESPACE, "repositoryType");
49: DELEGATE = factory.createURI(NAMESPACE, "delegate");
50: }
51: }
|