1 /*
2 * Copyright James Leigh (c) 2006, 2007.
3 *
4 * Licensed under the Aduna BSD-style license.
5 */
6 package org.openrdf.repository.augur.model;
7
8 import org.openrdf.model.URI;
9
10 /**
11 * Wraps a URI to include the AugurNode.
12 *
13 * @author James Leigh
14 *
15 */
16 public class AURI extends AResource implements URI {
17
18 public AURI(String name, URI uri, AugurNode node) {
19 super(name, uri, node);
20 }
21
22 public String getLocalName() {
23 return ((URI) getValue()).getLocalName();
24 }
25
26 public String getNamespace() {
27 return ((URI) getValue()).getNamespace();
28 }
29 }