/** * Constructor, creates a new CmsHtmlConverter.<p> * * The encoding used by default is {@link CmsEncoder#ENCODING_UTF_8}.<p> */ public CmsHtmlConverter() { init(CmsEncoder.ENCODING_UTF_8, PARAM_ENABLED); }
/** * Constructor, creates a new CmsHtmlConverter.<p> * * The encoding used by default is {@link CmsEncoder#ENCODING_UTF_8}.<p> */ public CmsHtmlConverter() { init(CmsEncoder.ENCODING_UTF_8, PARAM_ENABLED); }
/** * Constructor, creates a new CmsHtmlConverter.<p> * * Possible values for the default conversion mode are:<ul> * <li>{@link #PARAM_DISABLED}: The conversion is disabled.</li> * <li>{@link #PARAM_ENABLED}: Conversion is enabled without transformation, so HTML is pretty printed only.</li> * <li>{@link #PARAM_XHTML}: Conversion from HTML to XHTML is enabled.</li> * <li>{@link #PARAM_WORD}: Cleanup of word like HTML tags is enabled.</li> * <li>Other values can be used by the implementing converter class.</li> * </ul> * Values can be combined with the <code>;</code> separator, so it is e.g. possible to convert * to XHTML and clean from word at the same time.<p> * * @param encoding the encoding used for the HTML code conversion * @param mode the conversion mode to use */ public CmsHtmlConverter(String encoding, String mode) { init(encoding, mode); }
/** * Constructor, creates a new CmsHtmlConverter.<p> * * Possible values for the default conversion mode are:<ul> * <li>{@link #PARAM_DISABLED}: The conversion is disabled.</li> * <li>{@link #PARAM_ENABLED}: Conversion is enabled without transformation, so HTML is pretty printed only.</li> * <li>{@link #PARAM_XHTML}: Conversion from HTML to XHTML is enabled.</li> * <li>{@link #PARAM_WORD}: Cleanup of word like HTML tags is enabled.</li> * <li>Other values can be used by the implementing converter class.</li> * </ul> * Values can be combined with the <code>;</code> separator, so it is e.g. possible to convert * to XHTML and clean from word at the same time.<p> * * @param encoding the encoding used for the HTML code conversion * @param mode the conversion mode to use */ public CmsHtmlConverter(String encoding, String mode) { init(encoding, mode); }