
com.opensymphony.xwork2.ognl.OgnlNullHandlerWrapper Maven / Gradle / Ivy
Go to download
XWork is an command-pattern framework that is used to power WebWork
as well as other applications. XWork provides an Inversion of Control
container, a powerful expression language, data type conversion,
validation, and pluggable configuration.
package com.opensymphony.xwork2.ognl;
import com.opensymphony.xwork2.conversion.NullHandler;
import java.util.Map;
public class OgnlNullHandlerWrapper implements ognl.NullHandler {
private NullHandler wrapped;
public OgnlNullHandlerWrapper(NullHandler target) {
this.wrapped = target;
}
public Object nullMethodResult(Map context, Object target,
String methodName, Object[] args) {
return wrapped.nullMethodResult(context, target, methodName, args);
}
public Object nullPropertyValue(Map context, Object target, Object property) {
return wrapped.nullPropertyValue(context, target, property);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy