|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NamespaceManager
Author: Matthew Horridge
The University Of Manchester
Information Management Group
Date:
10-Sep-2008
Method Summary | |
---|---|
boolean |
containsPrefixMapping(java.lang.String prefix)
Determines if this manager knows about a given namespace prefix and it contains a (non-null) mapping for the prefix. |
java.lang.String |
getDefaultNamespace()
Gets the default namespace. |
java.lang.String |
getNamespace(java.lang.String prefix)
Gets the namespace that is bound to a particular prefix. |
java.util.Map<java.lang.String,java.lang.String> |
getNamespaceMap()
Gets a map that maps prefixes to namespaces. |
java.net.URI |
getURI(java.lang.String curi)
Gets the URI for a given CURI. |
Method Detail |
---|
java.lang.String getDefaultNamespace()
boolean containsPrefixMapping(java.lang.String prefix)
prefix
- The prefix to be tested for.
true
if the manager knows about this prefix and there is a non-null mapping for this
prefix.java.lang.String getNamespace(java.lang.String prefix)
getDefaultNamespace()
method.
prefix
- The namespace prefix. A string that represents a namespace prefix of the namespace to be retrieved.
Note that specifying the empty string is the same as asking for the default namespace (see the
getDefaultNamespace() method).
null
if there is no namespace bound to this prefix, or the prefix doesn't
exist.java.util.Map<java.lang.String,java.lang.String> getNamespaceMap()
java.net.URI getURI(java.lang.String curi)
curi
- The CURI
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |