com.atlassian.confluence.velocity.introspection
Class TransparentBoxedValueReferenceHandler

java.lang.Object
  extended by com.atlassian.confluence.velocity.introspection.TransparentBoxedValueReferenceHandler
All Implemented Interfaces:
org.apache.velocity.app.event.EventHandler, org.apache.velocity.app.event.ReferenceInsertionEventHandler

public final class TransparentBoxedValueReferenceHandler
extends Object
implements org.apache.velocity.app.event.ReferenceInsertionEventHandler

A simple reference insertion handler that unboxes and boxed value references making them transparent during template rendering.


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

Constructor Detail

TransparentBoxedValueReferenceHandler

public TransparentBoxedValueReferenceHandler()
Method Detail

referenceInsert

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


Copyright © 2003-2012 Atlassian. All Rights Reserved.