Skip navigation links
D E F G I L M O R S T W X 

D

DBContext - Class in org.apache.velocity.example
Example context impl that uses a database to store stuff :) yes, this is silly expects a mysql db test with table CREATE TABLE contextstore ( k varchar(100), val blob ); very fragile, crappy code....
DBContext() - Constructor for class org.apache.velocity.example.DBContext
 
DBContext(Context) - Constructor for class org.apache.velocity.example.DBContext
 
DBContextTest - Class in org.apache.velocity.example
the ultimate in silliness...
DBContextTest(String) - Constructor for class org.apache.velocity.example.DBContextTest
 
debug(String) - Method in class org.apache.velocity.example.EventExample
 
debug(String, Object) - Method in class org.apache.velocity.example.EventExample
 
debug(String, Object, Object) - Method in class org.apache.velocity.example.EventExample
 
debug(String, Object...) - Method in class org.apache.velocity.example.EventExample
 
debug(String, Throwable) - Method in class org.apache.velocity.example.EventExample
 

E

error(String) - Method in class org.apache.velocity.example.EventExample
 
error(String, Object) - Method in class org.apache.velocity.example.EventExample
 
error(String, Object, Object) - Method in class org.apache.velocity.example.EventExample
 
error(String, Object...) - Method in class org.apache.velocity.example.EventExample
 
error(String, Throwable) - Method in class org.apache.velocity.example.EventExample
 
EventExample - Class in org.apache.velocity.example
This class is a simple demonstration of how the event handling features of the Velocity Servlet Engine are used.
EventExample() - Constructor for class org.apache.velocity.example.EventExample
 
Example - Class in org.apache.velocity.example
This class is a simple demonstration of how the Velocity Template Engine can be used in a standalone application.
Example(String) - Constructor for class org.apache.velocity.example.Example
 
Example2 - Class in org.apache.velocity.example
This class is a simple demonstration of how the Velocity Template Engine can be used in a standalone application using the Velocity utility class.
Example2() - Constructor for class org.apache.velocity.example.Example2
 

F

formatAndLog(int, String, Object...) - Method in class org.apache.velocity.example.EventExample
This prints the level and formatted message to System.out.

G

getName() - Method in class org.apache.velocity.example.EventExample
Required init methods for Logger interface
getNames() - Method in class org.apache.velocity.example.Example
 

I

info(String) - Method in class org.apache.velocity.example.EventExample
 
info(String, Object) - Method in class org.apache.velocity.example.EventExample
 
info(String, Object, Object) - Method in class org.apache.velocity.example.EventExample
 
info(String, Object...) - Method in class org.apache.velocity.example.EventExample
 
info(String, Throwable) - Method in class org.apache.velocity.example.EventExample
 
internalContainsKey(String) - Method in class org.apache.velocity.example.DBContext
Not implementing.
internalContainsKey(String) - Method in class org.apache.velocity.example.TreeMapContext
 
internalGet(String) - Method in class org.apache.velocity.example.DBContext
retrieves a serialized object from the db and returns the living instance to the caller.
internalGet(String) - Method in class org.apache.velocity.example.TreeMapContext
 
internalGetKeys() - Method in class org.apache.velocity.example.DBContext
Not implementing.
internalGetKeys() - Method in class org.apache.velocity.example.TreeMapContext
 
internalPut(String, Object) - Method in class org.apache.velocity.example.DBContext
Serializes and stores an object in the database.
internalPut(String, Object) - Method in class org.apache.velocity.example.TreeMapContext
 
internalRemove(String) - Method in class org.apache.velocity.example.DBContext
Not implementing.
internalRemove(String) - Method in class org.apache.velocity.example.TreeMapContext
 
isDebugEnabled() - Method in class org.apache.velocity.example.EventExample
 
isErrorEnabled() - Method in class org.apache.velocity.example.EventExample
 
isInfoEnabled() - Method in class org.apache.velocity.example.EventExample
 
isLevelEnabled(int) - Method in class org.apache.velocity.example.EventExample
This always returns true because logging levels can't be disabled in this impl.
isTraceEnabled() - Method in class org.apache.velocity.example.EventExample
 
isWarnEnabled() - Method in class org.apache.velocity.example.EventExample
 

L

log(int, String) - Method in class org.apache.velocity.example.EventExample
This just prints the message and level to System.out.
log(int, String, Throwable) - Method in class org.apache.velocity.example.EventExample
This prints the level, message, and the Throwable's message to System.out.
LOG_LEVEL_DEBUG - Static variable in class org.apache.velocity.example.EventExample
 
LOG_LEVEL_ERROR - Static variable in class org.apache.velocity.example.EventExample
 
LOG_LEVEL_INFO - Static variable in class org.apache.velocity.example.EventExample
 
LOG_LEVEL_TRACE - Static variable in class org.apache.velocity.example.EventExample
 
LOG_LEVEL_WARN - Static variable in class org.apache.velocity.example.EventExample
 

M

main(String[]) - Static method in class org.apache.velocity.example.DBContextTest
 
main(String[]) - Static method in class org.apache.velocity.example.EventExample
 
main(String[]) - Static method in class org.apache.velocity.example.Example
 
main(String[]) - Static method in class org.apache.velocity.example.Example2
 
main(String[]) - Static method in class org.apache.velocity.example.XMLTest
 
methodException(Context, Class, String, Exception, Info) - Method in class org.apache.velocity.example.EventExample
 

O

org.apache.velocity.example - package org.apache.velocity.example
 

R

referenceInsert(Context, String, Object) - Method in class org.apache.velocity.example.EventExample
Event handler for when a reference is inserted into the output stream.

S

shouldLogOnNullSet(String, String) - Method in class org.apache.velocity.example.EventExample
Event handler for when the right hand side of a #set() directive is null, which results in a log message.

T

throwException() - Method in class org.apache.velocity.example.EventExample
silly method to throw an exception to demonstrate the method invocation exception event handling
trace(String) - Method in class org.apache.velocity.example.EventExample
 
trace(String, Object) - Method in class org.apache.velocity.example.EventExample
 
trace(String, Object, Object) - Method in class org.apache.velocity.example.EventExample
 
trace(String, Object...) - Method in class org.apache.velocity.example.EventExample
 
trace(String, Throwable) - Method in class org.apache.velocity.example.EventExample
 
TreeMapContext - Class in org.apache.velocity.example
Example context impl that uses a TreeMap Not much point other than to show how easy it is.
TreeMapContext() - Constructor for class org.apache.velocity.example.TreeMapContext
 
TreeMapContext(Context) - Constructor for class org.apache.velocity.example.TreeMapContext
 

W

warn(String) - Method in class org.apache.velocity.example.EventExample
 
warn(String, Object) - Method in class org.apache.velocity.example.EventExample
 
warn(String, Object, Object) - Method in class org.apache.velocity.example.EventExample
 
warn(String, Object...) - Method in class org.apache.velocity.example.EventExample
 
warn(String, Throwable) - Method in class org.apache.velocity.example.EventExample
 

X

XMLTest - Class in org.apache.velocity.example
Example to show basic XML handling in a template.
XMLTest(String) - Constructor for class org.apache.velocity.example.XMLTest
 
D E F G I L M O R S T W X 
Skip navigation links

Copyright © 2000–2017 The Apache Software Foundation. All rights reserved.