Class AbstractDocumentViewCodec
java.lang.Object
org.nuxeo.ecm.platform.url.service.AbstractDocumentViewCodec
- All Implemented Interfaces:
DocumentViewCodec
- Direct Known Subclasses:
DocumentFileCodec
,DocumentIdCodec
,DocumentPathCodec
,DocumentPreviewCodec
,RestDocumentViewCodec
,WebUIRedirectCodec
Abstract implementation for codecs.
Implements methods that are not likely to be customized except for optimization.
- Author:
- Anahide Tchertchian
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
handleDocumentView
(DocumentView docView) Returns true if this codec should apply when iterating over codecs to find a matching one.boolean
Returns true if this codec should apply when iterating over codecs to find a matching one.void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.ecm.platform.url.codec.api.DocumentViewCodec
getDocumentViewFromUrl, getUrlFromDocumentView
-
Field Details
-
prefix
-
-
Constructor Details
-
AbstractDocumentViewCodec
public AbstractDocumentViewCodec()
-
-
Method Details
-
getPrefix
- Specified by:
getPrefix
in interfaceDocumentViewCodec
-
setPrefix
- Specified by:
setPrefix
in interfaceDocumentViewCodec
-
handleDocumentView
Description copied from interface:DocumentViewCodec
Returns true if this codec should apply when iterating over codecs to find a matching one.- Specified by:
handleDocumentView
in interfaceDocumentViewCodec
- See Also:
-
handleUrl
Description copied from interface:DocumentViewCodec
Returns true if this codec should apply when iterating over codecs to find a matching one.- Specified by:
handleUrl
in interfaceDocumentViewCodec
- See Also:
-