org.apache.velocity.app.event
Interface NullSetEventHandler
- EventHandler
- EventCartridge
public interface NullSetEventHandler
Event handler : lets an app approve / veto
writing a log message when RHS of #set() is null.
Version:
- Geir Magnusson Jr.
boolean | shouldLogOnNullSet(String lhs, String rhs) - Called when the RHS of a #set() is null, which will result
in a null LHS.
|
shouldLogOnNullSet
public boolean shouldLogOnNullSet(String lhs,
String rhs)
Called when the RHS of a #set() is null, which will result
in a null LHS.
lhs
- reference literal of left-hand-side of set statementrhs
- reference literal of right-hand-side of set statement
- true if log message should be written, false otherwise
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.