public interface ReferenceInsertionEventHandler extends EventHandler
| Modifier and Type | Method and Description |
|---|---|
Object |
referenceInsert(Context context,
String reference,
Object value)
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 contextreference - 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–2017 The Apache Software Foundation. All rights reserved.