public abstract class AnnotatedReferenceHandler
extends java.lang.Object
implements org.apache.velocity.app.event.ReferenceInsertionEventHandler
ReferenceInsertionEventHandler
s that need to deal with
any AnnotationBoxedElement
s context values.Constructor and Description |
---|
AnnotatedReferenceHandler() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.Object |
annotatedValueInsert(java.lang.String referenceName,
java.lang.Object value,
java.util.Collection<java.lang.annotation.Annotation> annotations)
Process a reference with a collection of annotations
|
java.lang.Object |
referenceInsert(java.lang.String referenceName,
java.lang.Object referenceValue) |
public java.lang.Object referenceInsert(java.lang.String referenceName, java.lang.Object referenceValue)
referenceInsert
in interface org.apache.velocity.app.event.ReferenceInsertionEventHandler
protected abstract java.lang.Object annotatedValueInsert(java.lang.String referenceName, java.lang.Object value, java.util.Collection<java.lang.annotation.Annotation> annotations)
referenceName
- name of the reference being insertedvalue
- unboxed reference valueannotations
- any annotations associated with the referenceCopyright © 2003-2014 Atlassian. All Rights Reserved.