com.atlassian.confluence.util.velocity.debug
Class DebugReferenceInsertionEventHandler

java.lang.Object
  extended by com.atlassian.confluence.util.velocity.debug.DebugReferenceInsertionEventHandler
All Implemented Interfaces:
org.apache.velocity.app.event.EventHandler, org.apache.velocity.app.event.ReferenceInsertionEventHandler, org.apache.velocity.util.ContextAware

public class DebugReferenceInsertionEventHandler
extends Object
implements org.apache.velocity.app.event.ReferenceInsertionEventHandler, org.apache.velocity.util.ContextAware

A ReferenceInsertionEventHandler which will log debug messages as references are resolved.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.velocity.app.event.ReferenceInsertionEventHandler
org.apache.velocity.app.event.ReferenceInsertionEventHandler.referenceInsertExecutor
 
Constructor Summary
DebugReferenceInsertionEventHandler()
           
 
Method Summary
 Object referenceInsert(String reference, Object value)
           
 void setContext(org.apache.velocity.context.Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugReferenceInsertionEventHandler

public DebugReferenceInsertionEventHandler()
Method Detail

referenceInsert

public Object referenceInsert(String reference,
                              Object value)
Specified by:
referenceInsert in interface org.apache.velocity.app.event.ReferenceInsertionEventHandler

setContext

public void setContext(org.apache.velocity.context.Context context)
Specified by:
setContext in interface org.apache.velocity.util.ContextAware


Copyright © 2003-2011 Atlassian. All Rights Reserved.