Package org.xwiki.annotation.content
Interface ContentAlterer
-
@Role public interface ContentAlterer
Service that provides functionality for filtering a sequence of characters and producing an altered content from an original content.- Since:
- 2.3M1
- Version:
- $Id: d51a78cbf4b25f98ef44f5aa3e2cb723dae8f975 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AlteredContent
alter(CharSequence sequence)
AlteredContent
alter(AlteredContent alteredContent)
Provides altering of an already altered content, such allowing for multiple alterers to be composed.
-
-
-
Method Detail
-
alter
AlteredContent alter(CharSequence sequence)
- Parameters:
sequence
- the characters sequence to alter- Returns:
- the altered content resulted from altering the passed sequence
-
alter
AlteredContent alter(AlteredContent alteredContent)
Provides altering of an already altered content, such allowing for multiple alterers to be composed.- Parameters:
alteredContent
- the already altered content to apply filtering on- Returns:
- AlteredContent the composed altered content
-
-