/** * Returns a newly created instance which uses standard HTML encoding. The * returned instance is not threadsafe, so this method should be called to * obtain a new instance in any thread that requires a FormattedTextEncoder. * * @see AbstractTextPrimitive#getValueAsHtml() for a description of the * encoding performed by this type of encoder */ public static FormattedTextEncoder getInstanceHtml() { return new FormattedTextEncoder(); }
/** * Returns a newly created instance which uses standard HTML encoding. The * returned instance is not threadsafe, so this method should be called to * obtain a new instance in any thread that requires a FormattedTextEncoder. * * @see AbstractTextPrimitive#getValueAsHtml() for a description of the * encoding performed by this type of encoder */ public static FormattedTextEncoder getInstanceHtml() { return new FormattedTextEncoder(); }