org.xwiki.annotation.internal.content
Class AbstractContentAlterer

java.lang.Object
  extended by 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

Constructor Summary
AbstractContentAlterer()
           
 
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
 
Methods inherited from interface org.xwiki.annotation.content.ContentAlterer
alter
 

Constructor Detail

AbstractContentAlterer

public AbstractContentAlterer()
Method Detail

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