fr.opensagres.xdocreport.template.velocity.internal
Class XDocReportEscapeReference

java.lang.Object
  extended by org.apache.velocity.app.event.implement.EscapeReference
      extended by org.apache.velocity.app.event.implement.EscapeXmlReference
          extended by fr.opensagres.xdocreport.template.velocity.internal.XDocReportEscapeReference
All Implemented Interfaces:
VelocityConstants, org.apache.velocity.app.event.EventHandler, org.apache.velocity.app.event.ReferenceInsertionEventHandler, org.apache.velocity.util.RuntimeServicesAware

public class XDocReportEscapeReference
extends org.apache.velocity.app.event.implement.EscapeXmlReference
implements VelocityConstants


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.velocity.app.event.ReferenceInsertionEventHandler
org.apache.velocity.app.event.ReferenceInsertionEventHandler.referenceInsertExecutor
 
Field Summary
 
Fields inherited from interface fr.opensagres.xdocreport.template.velocity.VelocityConstants
DESCRIPTION_DISCOVERY, ID_DISCOVERY, VELOCITY_TEMPLATE_ENGINE_KEY
 
Constructor Summary
XDocReportEscapeReference()
           
 
Method Summary
protected  String escape(Object text)
           
 Object referenceInsert(String reference, Object value)
           
 void setRuntimeServices(org.apache.velocity.runtime.RuntimeServices rs)
           
 
Methods inherited from class org.apache.velocity.app.event.implement.EscapeXmlReference
getMatchAttribute
 
Methods inherited from class org.apache.velocity.app.event.implement.EscapeReference
getRuntimeServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XDocReportEscapeReference

public XDocReportEscapeReference()
Method Detail

setRuntimeServices

public void setRuntimeServices(org.apache.velocity.runtime.RuntimeServices rs)
Specified by:
setRuntimeServices in interface org.apache.velocity.util.RuntimeServicesAware
Overrides:
setRuntimeServices in class org.apache.velocity.app.event.implement.EscapeReference

escape

protected String escape(Object text)
Overrides:
escape in class org.apache.velocity.app.event.implement.EscapeXmlReference

referenceInsert

public Object referenceInsert(String reference,
                              Object value)
Specified by:
referenceInsert in interface org.apache.velocity.app.event.ReferenceInsertionEventHandler
Overrides:
referenceInsert in class org.apache.velocity.app.event.implement.EscapeReference


Copyright © 2013. All rights reserved.