org.openrdf.model
Interface Namespace

All Superinterfaces:
Serializable
All Known Implementing Classes:
NamespaceImpl

public interface Namespace
extends Serializable

A namespace, consisting of a namespace name and a prefix that has been assigned to it.


Method Summary
 String getName()
          Gets the name of the current namespace (i.e.
 String getPrefix()
          Gets the prefix of the current namespace.
 

Method Detail

getName

String getName()
Gets the name of the current namespace (i.e. it's URI).

Returns:
name of namespace

getPrefix

String getPrefix()
Gets the prefix of the current namespace.

Returns:
prefix of namespace


Copyright © 2001-2007 Aduna. All Rights Reserved.