|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentHandlerFactory
DocumentHandlerFactory
Factory for generating DocumentHandlers
for specific document types
Method Summary | |
---|---|
boolean |
getConstraintsEnabled()
getConstraintsEnabled |
DocumentHandler |
getDocumentHandler(String documentType)
getDocumentHandler |
DocumentHandler |
getDocumentHandlerForPath(String documentPath)
getDocumentHandlerForPath |
boolean |
getPermissionsEnabled()
getPermissionsEnabled |
void |
registerDocumentHandler(DocumentHandler documentHandler)
addDocumentHandler |
void |
setConstraintsEnabled(boolean enabled)
setConstraintsEnabled |
void |
setPermissionsEnabled(boolean enabled)
setPermissionsEnabled |
Method Detail |
---|
DocumentHandler getDocumentHandler(String documentType) throws UnsupportedDocumentTypeException
getDocumentHandler
documentType
- document type to retreive a handler for. Examples: .psml, .link
documentType
indicated. Never returns null.
UnsupportedDocumentTypeException
- If no handler has been registered for the
documentType
argument.DocumentHandler getDocumentHandlerForPath(String documentPath) throws UnsupportedDocumentTypeException
getDocumentHandlerForPath
documentPath
-
UnsupportedDocumentTypeException
void registerDocumentHandler(DocumentHandler documentHandler) throws DocumentTypeAlreadyRegisteredException
addDocumentHandler
documentHandler
-
DocumentTypeAlreadyRegisteredException
boolean getConstraintsEnabled()
getConstraintsEnabled
void setConstraintsEnabled(boolean enabled)
setConstraintsEnabled
enabled
- indicatorboolean getPermissionsEnabled()
getPermissionsEnabled
void setPermissionsEnabled(boolean enabled)
setPermissionsEnabled
enabled
- indicator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |