@Documented @Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface TextConsumer
SAXVisitorAnnotation. Because SAX is a streaming model, you need to tell Smooks to accumulate text events for a specific fragment. For performance reasons, Smooks would never accumulate these events by default, because that could result in a significant memory/performance overhead. This annotation results in
text accumulationbeing turned on for the fragment targeted by the annotated
SAXVisitorinstance. The text event data can then be accessed through the parent
Copyright © 2020. All rights reserved.