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:
getHandledElementNames
in interfaceElementTransformer
- Returns:
- the set of QNames that this transformer will handle.
-
transform
- Specified by:
transform
in interfaceElementTransformer
- Parameters:
event
- the StartElement to be transformed- Returns:
- a transformed version of the StartElement supplied.
-
transform
- Specified by:
transform
in interfaceElementTransformer
- Parameters:
element
- ther EndElement to be transformed.- Returns:
- a transformed version of the EndElement supplied.
-