public abstract class AnnotatedReferenceHandler extends 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 Object |
annotatedValueInsert(String referenceName,
Object value,
Collection<Annotation> annotations)
Process a reference with a collection of annotations
|
Object |
referenceInsert(String referenceName,
Object referenceValue) |
public Object referenceInsert(String referenceName, Object referenceValue)
referenceInsert
in interface org.apache.velocity.app.event.ReferenceInsertionEventHandler
protected abstract Object annotatedValueInsert(String referenceName, Object value, Collection<Annotation> annotations)
referenceName
- name of the reference being insertedvalue
- unboxed reference valueannotations
- any annotations associated with the referenceCopyright © 2003–2016 Atlassian. All rights reserved.