# Uses of Interface
org.apache.velocity.app.event.EventHandler

Packages that use EventHandler
Package
Description
org.apache.velocity.app.event
org.apache.velocity.app.event.implement

## Uses of EventHandler in org.apache.velocity.app.event

Subinterfaces of EventHandler in org.apache.velocity.app.event
Modifier and Type
Interface
Description
`interface`
`IncludeEventHandler`
Event handler for include type directives (e.g.
`interface`
`InvalidReferenceEventHandler`
Event handler called when an invalid reference is encountered.
`interface`
`MethodExceptionEventHandler`
Event handler called when a method throws an exception.
`interface`
`ReferenceInsertionEventHandler`
Reference 'Stream insertion' event handler.
Methods in org.apache.velocity.app.event with parameters of type EventHandler
Modifier and Type
Method
Description
`boolean`
EventCartridge.`addEventHandler(EventHandler ev)`
Adds an event handler(s) to the Cartridge.
`boolean`
EventCartridge.`removeEventHandler(EventHandler ev)`
Removes an event handler(s) from the Cartridge.

## Uses of EventHandler in org.apache.velocity.app.event.implement

Classes in org.apache.velocity.app.event.implement that implement EventHandler
Modifier and Type
Class
Description
`class`
`EscapeHtmlReference`
Deprecated.
impractical use
`class`
`EscapeJavaScriptReference`
Deprecated.
impractical use
`class`
`EscapeReference`
Base class for escaping references.
`class`
`EscapeSqlReference`
Escapes the characters in a String to be suitable to pass to an SQL query.
`class`
`EscapeXmlReference`
Deprecated.
impractical use
`class`
`IncludeNotFound`
Simple event handler that checks to see if an included page is available.
`class`
`IncludeRelativePath`
Event handler that looks for included files relative to the path of the current template.
`class`
`PrintExceptions`
Simple event handler that renders method exceptions in the page rather than throwing the exception.
`class`
`ReportInvalidReferences`
Use this event handler to flag invalid references.