此内容没有您所选择的语言版本。
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.