public interface NamespacesManager
| Modifier and Type | Method and Description |
|---|---|
void |
addPrefix(String prefix,
String namespaceURI)
Creates a namespace binding on the server.
|
void |
deleteAll()
Deletes all namespace bindings on the server.
|
void |
deletePrefix(String prefix)
Deletes a namespace binding on the server.
|
NamespaceContext |
readAll()
Reads all of the namespace bindings from the server.
|
String |
readPrefix(String prefix)
Returns the namespace URI bound to the specified prefix on the server.
|
void |
startLogging(RequestLogger logger)
Starts debugging client requests.
|
void |
stopLogging()
Stops debugging client requests.
|
void |
updatePrefix(String prefix,
String namespaceURI)
Writes a namespace binding on the server.
|
String readPrefix(String prefix) throws ForbiddenUserException, FailedRequestException
prefix - the prefix for the bindingForbiddenUserExceptionFailedRequestExceptionNamespaceContext readAll() throws ForbiddenUserException, FailedRequestException
ForbiddenUserExceptionFailedRequestExceptionvoid addPrefix(String prefix, String namespaceURI) throws ForbiddenUserException, FailedRequestException
prefix - the prefix bound to the URInamespaceURI - the URI bound to the prefixForbiddenUserExceptionFailedRequestExceptionvoid updatePrefix(String prefix, String namespaceURI) throws ResourceNotFoundException, ForbiddenUserException, FailedRequestException
prefix - the prefix bound to the URInamespaceURI - the URI bound to the prefixResourceNotFoundExceptionForbiddenUserExceptionFailedRequestExceptionvoid deletePrefix(String prefix) throws ResourceNotFoundException, ForbiddenUserException, FailedRequestException
prefix - the prefix bound to the URIResourceNotFoundExceptionForbiddenUserExceptionFailedRequestExceptionvoid deleteAll()
throws ForbiddenUserException,
FailedRequestException
void startLogging(RequestLogger logger)
logger - the logger that receives debugging outputvoid stopLogging()
Copyright © 2013-2016 MarkLogic Corporation.