Package hudson.markup
Class EscapedMarkupFormatter
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<MarkupFormatter>
-
- hudson.markup.MarkupFormatter
-
- hudson.markup.EscapedMarkupFormatter
-
- All Implemented Interfaces:
ExtensionPoint,Describable<MarkupFormatter>
public class EscapedMarkupFormatter extends MarkupFormatter
MarkupFormatterthat treats the input as the escaped html.- Since:
- 1.553
- Author:
- Seiji Sogabe
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEscapedMarkupFormatter.DescriptorImpl-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description EscapedMarkupFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtranslate(String markup, Writer output)Given the text, converts that to HTML according to whatever markup rules implicit in the implementation class.-
Methods inherited from class hudson.markup.MarkupFormatter
doPreviewDescription, getDescriptor, getHelpUrl, previewsNowNeedPostForSecurity2153, translate
-
-
-
-
Method Detail
-
translate
public void translate(String markup, Writer output) throws IOException
Description copied from class:MarkupFormatterGiven the text, converts that to HTML according to whatever markup rules implicit in the implementation class.Multiple threads can call this method concurrently with different inputs.
- Specified by:
translatein classMarkupFormatteroutput- Formatted HTML should be sent to this output.- Throws:
IOException
-
-