| |
|
| java.lang.Object org.openrdf.model.impl.NamespaceImpl
NamespaceImpl | public NamespaceImpl(String prefix, String name)(Code) | | Creates a new NamespaceImpl object.
Parameters: prefix - The namespace's prefix. Parameters: name - The namespace's name. |
getName | public String getName()(Code) | | Gets the name of the namespace.
name of the namespace |
getPrefix | public String getPrefix()(Code) | | Gets the prefix of the namespace.
prefix of the namespace |
setName | public void setName(String name)(Code) | | Sets the name of the namespace.
Parameters: name - The (new) name for this namespace. |
setPrefix | public void setPrefix(String prefix)(Code) | | Sets the prefix of the namespace.
Parameters: prefix - The (new) prefix for this namespace. |
toString | public String toString()(Code) | | Returns a string representation of the object.
String representation of the namespace |
|
|
|