com.atlassian.confluence.velocity
Interface ReferenceInsertionPolicy
- All Known Implementing Classes:
- ConfluenceHtmlEntityEncodingPolicy
public interface ReferenceInsertionPolicy
Policy interface for Velocity reference insertion strategies that depend on the context being rendered.
getReferenceInsertionEventHandler
org.apache.velocity.app.event.ReferenceInsertionEventHandler getReferenceInsertionEventHandler(org.apache.velocity.context.Context context)
- Get a
ReferenceInsertionPolicy
appropriate for the context being
rendered.
- Parameters:
context
- Context being rendered.
- Returns:
- insertion event handler for the context