public interface DocumentHandler
DocumentHandler
Modifier and Type | Method and Description |
---|---|
Document |
getDocument(String name) |
Document |
getDocument(String name,
boolean fromCahe) |
DocumentHandlerFactory |
getHandlerFactory() |
String |
getType() |
void |
removeDocument(Document document) |
void |
setHandlerFactory(DocumentHandlerFactory factory) |
void |
shutdown()
shutdown - gracefully shutdown handler and disconnect
from other singleton components, (e.g.
|
void |
updateDocument(Document document) |
Document getDocument(String name) throws DocumentNotFoundException, NodeException
Document getDocument(String name, boolean fromCahe) throws DocumentNotFoundException, NodeException
void updateDocument(Document document) throws FailedToUpdateDocumentException
FailedToUpdateDocumentException
void removeDocument(Document document) throws DocumentNotFoundException, FailedToDeleteDocumentException
String getType()
DocumentHandlerFactory getHandlerFactory()
void setHandlerFactory(DocumentHandlerFactory factory)
void shutdown()
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.