Package | Description |
---|---|
org.apache.velocity.app.event | |
org.apache.velocity.app.event.implement | |
org.apache.velocity.example |
Modifier and Type | Interface and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
EventExample
This class is a simple demonstration of how the event handling
features of the Velocity Servlet Engine are used.
|
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.