public final class ConfluenceHtmlEntityEncodingPolicy extends Object implements ReferenceInsertionPolicy
Constructor and Description |
---|
ConfluenceHtmlEntityEncodingPolicy(TemplateHtmlEntityEncodingPolicy templateEncodingPolicy) |
Modifier and Type | Method and Description |
---|---|
org.apache.velocity.app.event.ReferenceInsertionEventHandler |
getReferenceInsertionEventHandler(org.apache.velocity.context.Context context)
Get a
ReferenceInsertionPolicy appropriate for the context being
rendered. |
boolean |
shouldAutoEncode(org.apache.velocity.context.Context context) |
boolean |
shouldAutoEncode(org.apache.velocity.context.Context context,
org.apache.velocity.Template template) |
public ConfluenceHtmlEntityEncodingPolicy(TemplateHtmlEntityEncodingPolicy templateEncodingPolicy)
public boolean shouldAutoEncode(org.apache.velocity.context.Context context, org.apache.velocity.Template template)
public boolean shouldAutoEncode(org.apache.velocity.context.Context context)
public org.apache.velocity.app.event.ReferenceInsertionEventHandler getReferenceInsertionEventHandler(org.apache.velocity.context.Context context)
ReferenceInsertionPolicy
ReferenceInsertionPolicy
appropriate for the context being
rendered.getReferenceInsertionEventHandler
in interface ReferenceInsertionPolicy
context
- Context being rendered.Copyright © 2003–2015 Atlassian. All rights reserved.