net.sf.cantina
Interface Document
- All Known Implementing Classes:
- DocumentDecorator, PersistentDocument
- public interface Document
- Author:
- Stephane JAIS
getDocumentId
public java.lang.String getDocumentId()
getContent
public byte[] getContent(java.util.Locale locale)
getContentAsString
public java.lang.String getContentAsString(java.util.Locale locale)
throws java.lang.Exception
- Throws:
java.lang.Exception
getContentType
public java.lang.String getContentType()
getRealm
public Realm getRealm()
setContent
public void setContent(java.util.Locale locale,
byte[] content)
setContentAsString
public void setContentAsString(java.util.Locale locale,
java.lang.String content)
throws java.lang.Exception
- Throws:
java.lang.Exception
setContentType
public void setContentType(java.lang.String contentType)
setRealm
public void setRealm(Realm realm)
getAvailableLocales
public java.util.Collection getAvailableLocales()
Copyright © 2004 Cantina. All Rights Reserved.