@Documented @Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface TextConsumer
SAXVisitor
Annotation.
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 accumulation
being turned on for the fragment targeted by the annotated SAXVisitor
instance.
The text event data can then be accessed through the parent SAXElement
instance.Copyright © 2020. All rights reserved.