All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.opensymphony.xwork2.ognl.OgnlUtil Maven / Gradle / Ivy

package com.opensymphony.xwork2.ognl;

import ognl.ClassResolver;
import ognl.OgnlException;
import ognl.TypeConverter;

import javax.management.ReflectionException;
import java.beans.BeanInfo;
import java.beans.IntrospectionException;
import java.beans.PropertyDescriptor;
import java.util.Collection;
import java.util.Map;
import java.util.Set;
import java.util.regex.Pattern;

public class OgnlUtil {


    public void setDevMode(String mode) {

    }

    public void setEnableExpressionCache(String cache) {

    }

    public void setEnableEvalExpression(String evalExpression) {

    }

    public void setExcludedClasses(String commaDelimitedClasses) {

    }

    public void setExcludedPackageNamePatterns(String commaDelimitedPackagePatterns) {

    }

    public void setExcludedPackageNames(String commaDelimitedPackageNames) {
    }

    public Set> getExcludedClasses() {
        return null;
    }

    public Set getExcludedPackageNamePatterns() {
        return null;
    }

    public Set getExcludedPackageNames() {
        return null;
    }

    public void setAllowStaticMethodAccess(String allowStaticMethodAccess) {
    }

    public void setProperties(Map props, Object o, Map context) {
    }

    public void setProperties(Map props, Object o, Map context, boolean throwPropertyExceptions) throws ReflectionException {

    }

    public void setProperties(Map properties, Object o) {
        setProperties(properties, o, false);
    }

    public void setProperties(Map properties, Object o, boolean throwPropertyExceptions) {

    }

    public void setProperty(String name, Object value, Object o, Map context) {
    }

    public void setProperty(String name, Object value, Object o, Map context, boolean throwPropertyExceptions) {

    }

    public Object getRealTarget(String property, Map context, Object root) throws OgnlException {
        return root;
    }

    public void setValue(final String name, final Map context, final Object root, final Object value) throws OgnlException {

    }

    private boolean isEvalExpression(Object tree, Map context) throws OgnlException {

        return false;
    }

    private boolean isArithmeticExpression(Object tree, Map context) throws OgnlException {

        return false;
    }

    private boolean isSimpleMethod(Object tree, Map context) throws OgnlException {

        return false;
    }

    public Object getValue(final String name, final Map context, final Object root) throws OgnlException {

        return null;
    }

    public Object callMethod(final String name, final Map context, final Object root) throws OgnlException {

        return null;
    }

    public Object getValue(final String name, final Map context, final Object root, final Class resultType) throws OgnlException {
        return null;
    }


    public Object compile(String expression) throws OgnlException {
        return null;
    }

    private  Object compileAndExecute(String expression, Map context, OgnlTask task) throws OgnlException {
        return null;
    }

    private  Object compileAndExecuteMethod(String expression, Map context, OgnlTask task) throws OgnlException {

        return null;
    }

    public Object compile(String expression, Map context) throws OgnlException {
        return null;
    }

    private void checkEnableEvalExpression(Object tree, Map context) throws OgnlException {

    }

    private void checkSimpleMethod(Object tree, Map context) throws OgnlException {

    }

    public void copy(final Object from, final Object to, final Map context, Collection exclusions, Collection inclusions) {

    }

    public void copy(Object from, Object to, Map context) {
        copy(from, to, context, null, null);
    }

    public PropertyDescriptor[] getPropertyDescriptors(Object source) throws IntrospectionException {

        return null;
    }


    public PropertyDescriptor[] getPropertyDescriptors(Class clazz) throws IntrospectionException {

        return null;
    }

    public Map getBeanMap(final Object source) throws IntrospectionException, OgnlException {
        return null;
    }

    public BeanInfo getBeanInfo(Object from) throws IntrospectionException {

        return null;
    }

    public BeanInfo getBeanInfo(Class clazz) throws IntrospectionException {

        return null;
    }

    void internalSetProperty(String name, Object value, Object o, Map context, boolean throwPropertyExceptions) throws ReflectionException{

    }

    TypeConverter getTypeConverterFromContext(Map context) {

        return null;
    }

    protected Map createDefaultContext(Object root) {
        return createDefaultContext(root, null);
    }

    protected Map createDefaultContext(Object root, ClassResolver classResolver) {

        return null;
    }

    private interface OgnlTask {
        T execute(Object tree) throws OgnlException;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy