package uebung08.doc; public interface Visitor { T visit(Paragraph paragraph); T visit(Image image); T visit(Section section); }