public interface ReferenceInsertionEventHandler extends EventHandler
|Modifier and Type||Method and Description|
A call-back which is executed during Velocity merge before a reference value is inserted into the output stream.
Object referenceInsert(Context context, String reference, Object value)
context- current context
reference- Reference from template about to be inserted.
value- Value about to be inserted (after its
toString()method is called).
toString()should be called for output.
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.