jeters.core
Interface ReplacerComponent<I extends EditableText,O extends EditableText>

All Superinterfaces:
Component
All Known Implementing Classes:
ComillaReplacer, RegExReplacer, RegExReplacer_User

public interface ReplacerComponent<I extends EditableText,O extends EditableText>
extends Component

the interface making a class a JETERS-Replacer-component.

This class is generic.
I specifies the required implementation of EditableText for the input,
O the resulting output.
For details about replacer components and other JETERS concepts see *++LINK CONCEPTS (#replacercomponents) TARGET:komp.Seite++*


Method Summary
 O edit(I text, UIComponent uiForRequests)
          performs all replacements to a text (implementation of EditableText as spcified by generic type I) and returns the resulting text (object of the type O)
 

Method Detail

edit

O edit(I text,
       UIComponent uiForRequests)
performs all replacements to a text (implementation of EditableText as spcified by generic type I) and returns the resulting text (object of the type O)

Parameters:
text - the input text that is supposed to be edited
uiForRequests - UI-component for communication with the user. (Most probably you'll want to use the confirmChanges-method when implementing edit, see description at UIComponent.)
Returns:
the result of the editing process