public final class PolicyBasedReferenceInsertionHandler extends Object implements org.apache.velocity.app.event.ReferenceInsertionEventHandler, org.apache.velocity.util.ContextAware
ReferenceInsertionEventHandler that delegates reference insertion processing to the provided
ReferenceInsertionPolicy.| Constructor and Description |
|---|
PolicyBasedReferenceInsertionHandler(ReferenceInsertionPolicy insertionPolicy) |
| Modifier and Type | Method and Description |
|---|---|
Object |
referenceInsert(String reference,
Object value) |
void |
setContext(org.apache.velocity.context.Context context) |
public PolicyBasedReferenceInsertionHandler(ReferenceInsertionPolicy insertionPolicy)
public Object referenceInsert(String reference, Object value)
referenceInsert in interface org.apache.velocity.app.event.ReferenceInsertionEventHandlerpublic void setContext(org.apache.velocity.context.Context context)
setContext in interface org.apache.velocity.util.ContextAwareCopyright © 2003–2015 Atlassian. All rights reserved.