Nuxeo Enterprise Platform 5.1

org.nuxeo.ecm.platform.url.service
Class AbstractDocumentViewCodec

java.lang.Object
  extended by org.nuxeo.ecm.platform.url.service.AbstractDocumentViewCodec
All Implemented Interfaces:
DocumentViewCodec
Direct Known Subclasses:
DocumentFileCodec, DocumentIdCodec

public abstract class AbstractDocumentViewCodec
extends Object
implements DocumentViewCodec

Abstract implementation for codecs.

Implements methods that are not likely to be customized except for optimization.

Author:
Anahide Tchertchian

Field Summary
protected  String prefix
           
 
Constructor Summary
AbstractDocumentViewCodec()
           
 
Method Summary
 String getPrefix()
           
 boolean handleDocumentView(DocumentView docView)
           
 boolean handleUrl(String url)
           
 void setPrefix(String prefix)
           
 
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 Detail

prefix

protected String prefix
Constructor Detail

AbstractDocumentViewCodec

public AbstractDocumentViewCodec()
Method Detail

getPrefix

public String getPrefix()
Specified by:
getPrefix in interface DocumentViewCodec

setPrefix

public void setPrefix(String prefix)
Specified by:
setPrefix in interface DocumentViewCodec

handleDocumentView

public boolean handleDocumentView(DocumentView docView)
Specified by:
handleDocumentView in interface DocumentViewCodec

handleUrl

public boolean handleUrl(String url)
Specified by:
handleUrl in interface DocumentViewCodec

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.