Class TemplatedExecutableStatementBuilder.EscapingReferenceInsertionEventHandler
- java.lang.Object
-
- net.shibboleth.idp.attribute.resolver.dc.rdbms.TemplatedExecutableStatementBuilder.EscapingReferenceInsertionEventHandler
-
- All Implemented Interfaces:
org.apache.velocity.app.event.EventHandler,org.apache.velocity.app.event.ReferenceInsertionEventHandler
- Enclosing class:
- TemplatedExecutableStatementBuilder
protected static class TemplatedExecutableStatementBuilder.EscapingReferenceInsertionEventHandler extends Object implements org.apache.velocity.app.event.ReferenceInsertionEventHandler
Escapes SQL values added to the template context.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEscapingReferenceInsertionEventHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Objectencode(Object value)Replaces single quotes with two single quotes if value is aString.ObjectreferenceInsert(org.apache.velocity.context.Context context, String reference, Object value)
-