12.33. @TextConsumer Example
@TextConsumer public class MyVisitor implements SAXVisitAfter { public void visitAfter(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException { String fragmentText = element.getTextContent(); // ... etc ... } }
Note
The entirity of the fragment text will not be available until after the
SAXVisitAfter.visitAfter
event.