Package org.ametys.cms.transformation
Interface RichTextTransformer
- All Known Implementing Classes:
 AbstractRichTextTransformer,DocbookTransformer,HTMLTransformer,ThreadDocbookTransformer
public interface RichTextTransformer
- 
Method Summary
Modifier and TypeMethodDescriptionvoidvoidtransformForEditing(RichText source, DataContext dataContext, StringBuilder dest) Transform aRichTextinto aStringBuilder.voidtransformForRendering(RichText source, ContentHandler handler) SAXes aRichTextinto aContentHandlerfor rendering purposes. 
- 
Method Details
- 
transform
- Parameters:
 source- the source.dest- theRichTextto populate.- Throws:
 AmetysRepositoryException- if an error occurs.IOException- if an error occurs.
 - 
transformForEditing
void transformForEditing(RichText source, DataContext dataContext, StringBuilder dest) throws AmetysRepositoryException, IOException Transform aRichTextinto aStringBuilder.- Parameters:
 source- the source.dataContext- the context of the rich textdest- theStringBuilderto populate.- Throws:
 AmetysRepositoryException- if an error occurs.IOException- if an error occurs.
 - 
transformForRendering
void transformForRendering(RichText source, ContentHandler handler) throws AmetysRepositoryException, SAXException, IOException SAXes aRichTextinto aContentHandlerfor rendering purposes.- Parameters:
 source- the source.handler- theStringBuilderto populate.- Throws:
 AmetysRepositoryException- if an error occurs.SAXException- if an error occurs.IOException- if an error occurs.
 
 -