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 java.lang.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
 java.lang.Object referenceInsert(java.lang.String name, java.lang.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 java.lang.Object referenceInsert(java.lang.String name,
                                        java.lang.Object value)
Specified by:
referenceInsert in interface org.apache.velocity.app.event.ReferenceInsertionEventHandler


Copyright © 2003-2014 Atlassian. All Rights Reserved.