Class TableStyleRemovingElementTransformer
java.lang.Object
com.atlassian.confluence.content.render.xhtml.editor.TableStyleRemovingElementTransformer
- All Implemented Interfaces:
ElementTransformer
An XMLEventTransformer that will ensure that table, th and td elements have the Confluence classes
removed.
This is the complement to the TableStylingElementTransformer used when rendering to the
editor or for view.
-
Constructor Summary
ConstructorsConstructorDescriptionTableStyleRemovingElementTransformer(XMLEventFactoryProvider xmlEventFactoryProvider) -
Method Summary
-
Constructor Details
-
TableStyleRemovingElementTransformer
-
-
Method Details
-
getHandledElementNames
- Specified by:
getHandledElementNamesin interfaceElementTransformer- Returns:
- the set of QNames that this transformer will handle.
-
transform
- Specified by:
transformin interfaceElementTransformer- Parameters:
event- the StartElement to be transformed- Returns:
- a transformed version of the StartElement supplied.
-
transform
- Specified by:
transformin interfaceElementTransformer- Parameters:
element- ther EndElement to be transformed.- Returns:
- a transformed version of the EndElement supplied.
-