Package org.ametys.cms.transformation
Interface RichTextTransformer
-
- All Known Implementing Classes:
AbstractRichTextTransformer,DocbookTransformer,HTMLTransformer,HTMLTransformer
public interface RichTextTransformer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidtransform(String source, RichText dest)voidtransform(String source, ModifiableRichText dest)Deprecated.usetransform(String, RichText)insteadvoidtransformForEditing(RichText source, StringBuilder dest)Transform aRichTextinto aStringBuilder.voidtransformForEditing(ModifiableRichText source, StringBuilder dest)Deprecated.usetransformForEditing(RichText, StringBuilder)insteadvoidtransformForRendering(RichText source, ContentHandler handler)SAXes aRichTextinto aContentHandlerfor rendering purposes.voidtransformForRendering(RichText source, ContentHandler handler)Deprecated.usetransformForRendering(RichText, ContentHandler)instead
-
-
-
Method Detail
-
transform
@Deprecated void transform(String source, ModifiableRichText dest) throws AmetysRepositoryException, IOException
Deprecated.usetransform(String, RichText)insteadTransform aStringinto aModifiableRichText.- Parameters:
source- the source.dest- theModifiableRichTextto populate.- Throws:
AmetysRepositoryException- if an error occurs.IOException- if an error occurs.
-
transform
void transform(String source, RichText dest) throws AmetysRepositoryException, IOException
- Parameters:
source- the source.dest- theRichTextto populate.- Throws:
AmetysRepositoryException- if an error occurs.IOException- if an error occurs.
-
transformForEditing
@Deprecated void transformForEditing(ModifiableRichText source, StringBuilder dest) throws AmetysRepositoryException, IOException
Deprecated.usetransformForEditing(RichText, StringBuilder)insteadTransform aModifiableRichTextinto aStringBuilder.- Parameters:
source- the source.dest- theStringBuilderto populate.- Throws:
AmetysRepositoryException- if an error occurs.IOException- if an error occurs.
-
transformForEditing
void transformForEditing(RichText source, StringBuilder dest) throws AmetysRepositoryException, IOException
Transform aRichTextinto aStringBuilder.- Parameters:
source- the source.dest- theStringBuilderto populate.- Throws:
AmetysRepositoryException- if an error occurs.IOException- if an error occurs.
-
transformForRendering
@Deprecated void transformForRendering(RichText source, ContentHandler handler) throws AmetysRepositoryException, SAXException, IOException
Deprecated.usetransformForRendering(RichText, ContentHandler)insteadSAXes 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.
-
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.
-
-