Class Html5RawTextElementFragmentTransformer
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.transformers.Html5RawTextElementFragmentTransformer
-
- All Implemented Interfaces:
FragmentTransformer
public class Html5RawTextElementFragmentTransformer extends Object implements FragmentTransformer
Takes xhtml fragments for raw text elements (as a matching pair of elements) and returns it as a pair of open and close tags (as required by the HTML 5 spec).
-
-
Constructor Summary
Constructors Constructor Description Html5RawTextElementFragmentTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
handles(StartElement startElementEvent, ConversionContext conversionContext)
Streamable
transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
-
-
Method Detail
-
handles
public boolean handles(StartElement startElementEvent, ConversionContext conversionContext)
- Specified by:
handles
in interfaceFragmentTransformer
-
transform
public Streamable transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext) throws XhtmlException
- Specified by:
transform
in interfaceFragmentTransformer
- Throws:
XhtmlException
-
-