org.xwiki.annotation.internal.content
Class AbstractContentAlterer
java.lang.Object
org.xwiki.annotation.internal.content.AbstractContentAlterer
- All Implemented Interfaces:
- ContentAlterer
- Direct Known Subclasses:
- AbstractFilterContentAlterer, SpaceNormalizerContentAlterer
public abstract class AbstractContentAlterer
- extends Object
- implements ContentAlterer
This abstract class is used in order to factor piped alterations logic.
- Since:
- 2.3M1
Method Summary |
AlteredContent |
alter(AlteredContent alteredContent)
Provides altering of an already altered content, such allowing for multiple alterers to be composed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractContentAlterer
public AbstractContentAlterer()
alter
public AlteredContent alter(AlteredContent alteredContent)
- Description copied from interface:
ContentAlterer
- Provides altering of an already altered content, such allowing for multiple alterers to be composed.
- Specified by:
alter
in interface ContentAlterer
- Parameters:
alteredContent
- the already altered content to apply filtering on
- Returns:
- AlteredContent the composed altered content