org.xwiki.velocity.internal.util
Class RestrictParseLocationEventHandler

java.lang.Object
  extended by org.xwiki.velocity.internal.util.RestrictParseLocationEventHandler

public class RestrictParseLocationEventHandler
extends Object

Velocity event handler that filters #parse calls to forbid including files outside the templates directory.

Since:
3.5M1

Constructor Summary
RestrictParseLocationEventHandler()
           
 
Method Summary
 String includeEvent(String includeResourcePath, String currentResourcePath, String directiveName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestrictParseLocationEventHandler

public RestrictParseLocationEventHandler()
Method Detail

includeEvent

public String includeEvent(String includeResourcePath,
                           String currentResourcePath,
                           String directiveName)