Package | Description |
---|---|
javax.jcr |
Provides interfaces and classes for the Content Repository for Java Technology.
|
Modifier and Type | Method and Description |
---|---|
String |
Session.getNamespacePrefix(String uri)
Returns the prefix to which the given URI is mapped
|
String |
Session.getNamespaceURI(String prefix)
For a given prefix, returns the URI to which it is mapped as currently
set in this
Session . |
String |
NamespaceRegistry.getPrefix(String uri)
Returns the prefix to which the given URI is mapped
|
String |
NamespaceRegistry.getURI(String prefix)
Returns the URI to which the given prefix is mapped.
|
void |
NamespaceRegistry.registerNamespace(String prefix,
String uri)
Sets a one-to-one mapping between prefix and URI in the global namespace registry of this repository.
|
void |
Session.setNamespacePrefix(String prefix,
String uri)
Within the scope of this session, rename a persistently registered
namespace URI to the new prefix.
|
void |
NamespaceRegistry.unregisterNamespace(String prefix)
Removes a namespace mapping from the registry.
|
Copyright © 2004-2013 Day Management AG. All Rights Reserved.