com.atlassian.confluence.content.render.xhtml.view
Class ViewTableWrappingFragmentTransformer
java.lang.Object
com.atlassian.confluence.content.render.xhtml.view.ViewTableWrappingFragmentTransformer
- All Implemented Interfaces:
- FragmentTransformer
public class ViewTableWrappingFragmentTransformer
- extends java.lang.Object
- implements FragmentTransformer
When tables are displayed they should be wrapped in a div. This allows for better CSS styling
and is compatible with the output generated by the V2Renderer.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewTableWrappingFragmentTransformer
public ViewTableWrappingFragmentTransformer(XmlEventReaderFactory xmlEventReaderFactory)
handles
public boolean handles(javax.xml.stream.events.StartElement startElementEvent,
ConversionContext conversionContext)
- Specified by:
handles
in interface FragmentTransformer
transform
public Streamable transform(javax.xml.stream.XMLEventReader reader,
FragmentTransformer mainFragmentTransformer,
ConversionContext conversionContext)
throws XhtmlException
- Specified by:
transform
in interface FragmentTransformer
- Throws:
XhtmlException
Copyright © 2003-2013 Atlassian. All Rights Reserved.