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.model;
07:
08: import java.io.Serializable;
09:
10: /**
11: * A namespace, consisting of a namespace name and a prefix that has been
12: * assigned to it.
13: */
14: public interface Namespace extends Serializable {
15:
16: /**
17: * Gets the name of the current namespace (i.e. it's URI).
18: *
19: * @return name of namespace
20: */
21: public String getName();
22:
23: /**
24: * Gets the prefix of the current namespace.
25: *
26: * @return prefix of namespace
27: */
28: public String getPrefix();
29: }
|