public class EditorXhtmlTransformer extends Object implements Transformer
HtmlToXmlConverter
to ensure that this transformer
is handling XHTML.Constructor and Description |
---|
EditorXhtmlTransformer(XmlEventReaderFactory xmlEventReaderFactory,
FragmentTransformer defaultFragmentTransformer) |
Modifier and Type | Method and Description |
---|---|
String |
transform(Reader editorFormatXml,
ConversionContext conversionContext)
Begin consuming events from the supplied Reader, ignore all elements until the body is encountered, at which point
the fragment transformation begins.
|
public EditorXhtmlTransformer(XmlEventReaderFactory xmlEventReaderFactory, FragmentTransformer defaultFragmentTransformer)
public String transform(Reader editorFormatXml, ConversionContext conversionContext) throws XhtmlException
transform
in interface Transformer
XhtmlParsingException
- if there is an error parsing the supplied editorFormat XHTML.XhtmlException
- for all other transform errors.Copyright © 2003–2016 Atlassian. All rights reserved.