com.atlassian.confluence.content.render.xhtml.transformers
Class Html4VoidElementFragmentTransformer
java.lang.Object
com.atlassian.confluence.content.render.xhtml.transformers.LegacyFragmentTransformer
com.atlassian.confluence.content.render.xhtml.transformers.Html4VoidElementFragmentTransformer
- All Implemented Interfaces:
- FragmentTransformer
public class Html4VoidElementFragmentTransformer
- extends LegacyFragmentTransformer
- implements FragmentTransformer
Takes xhtml fragments for TEXTAREA (either as empty elements or as a matching pair of elements) and
returns it as a single unclosed element (as required by the HTML 4 spec).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Html4VoidElementFragmentTransformer
public Html4VoidElementFragmentTransformer()
handles
public boolean handles(javax.xml.stream.events.StartElement startElementEvent,
ConversionContext conversionContext)
- Specified by:
handles
in interface FragmentTransformer
transformToString
public java.lang.String transformToString(javax.xml.stream.XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext)
throws XhtmlException
- Specified by:
transformToString
in class LegacyFragmentTransformer
- Throws:
XhtmlException
Copyright © 2003-2014 Atlassian. All Rights Reserved.