public interface ReferenceInsertionEventHandler extends EventHandler
Modifier and Type | Interface and Description |
---|---|
static class |
ReferenceInsertionEventHandler.referenceInsertExecutor
Defines the execution strategy for referenceInsert
|
Modifier and Type | Method and Description |
---|---|
Object |
referenceInsert(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(String reference, Object value)
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–2016 The Apache Software Foundation. All rights reserved.