public final class ConfluenceHtmlEntityEncodingPolicy extends Object implements com.atlassian.velocity.htmlsafe.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) |
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)
getReferenceInsertionEventHandler
in interface com.atlassian.velocity.htmlsafe.ReferenceInsertionPolicy
Copyright © 2003–2017 Atlassian. All rights reserved.