public class HtmlAnnotationEscaper extends AnnotatedReferenceHandler
ReferenceInsertionEventHandler that HTML encodes any value not annotated
as being HtmlSafe.
It also excludes some references from escaping based on name:
| Constructor and Description |
|---|
HtmlAnnotationEscaper() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
annotatedValueInsert(String referenceName,
Object value,
Collection<Annotation> annotations)
Process a reference with a collection of annotations
|
referenceInsertprotected Object annotatedValueInsert(String referenceName, Object value, Collection<Annotation> annotations)
AnnotatedReferenceHandlerannotatedValueInsert in class AnnotatedReferenceHandlerreferenceName - name of the reference being insertedvalue - unboxed reference valueannotations - any annotations associated with the referenceCopyright © 2003–2017 Atlassian. All rights reserved.