package decorator; /** * Component interface — defines what all text processors do. * Both the concrete processor AND all decorators implement this. * This is what makes them stackable. */ public interface TextProcessor { String process(String text); }