org.openrdf.model
Interface Namespace

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
NamespaceImpl

public interface Namespace
extends java.io.Serializable

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


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

Method Detail

getName

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

Returns:
name of namespace

getPrefix

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

Returns:
prefix of namespace


Copyright © 2001-2010 Aduna. All Rights Reserved.