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 bindingForbiddenUserException
FailedRequestException
NamespaceContext readAll() throws ForbiddenUserException, FailedRequestException
ForbiddenUserException
FailedRequestException
void addPrefix(String prefix, String namespaceURI) throws ForbiddenUserException, FailedRequestException
prefix
- the prefix bound to the URInamespaceURI
- the URI bound to the prefixForbiddenUserException
FailedRequestException
void updatePrefix(String prefix, String namespaceURI) throws ResourceNotFoundException, ForbiddenUserException, FailedRequestException
prefix
- the prefix bound to the URInamespaceURI
- the URI bound to the prefixResourceNotFoundException
ForbiddenUserException
FailedRequestException
void deletePrefix(String prefix) throws ResourceNotFoundException, ForbiddenUserException, FailedRequestException
prefix
- the prefix bound to the URIResourceNotFoundException
ForbiddenUserException
FailedRequestException
void deleteAll() throws ForbiddenUserException, FailedRequestException
void startLogging(RequestLogger logger)
logger
- the logger that receives debugging outputvoid stopLogging()
Copyright © 2013-2015 MarkLogic Corporation.