Class Html5RawTextElementFragmentTransformer
java.lang.Object
com.atlassian.confluence.content.render.xhtml.transformers.Html5RawTextElementFragmentTransformer
- All Implemented Interfaces:
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
handles
(StartElement startElementEvent, ConversionContext conversionContext) transform
(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext)
-
Constructor Details
-
Html5RawTextElementFragmentTransformer
public Html5RawTextElementFragmentTransformer()
-
-
Method Details
-
handles
- Specified by:
handles
in interfaceFragmentTransformer
-
transform
public Streamable transform(XMLEventReader reader, FragmentTransformer mainFragmentTransformer, ConversionContext conversionContext) throws XhtmlException - Specified by:
transform
in interfaceFragmentTransformer
- Throws:
XhtmlException
-