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

org.mule.mvel2.integration.impl.IndexVariableResolver Maven / Gradle / Ivy

Go to download

MVEL is a powerful expression language for Java-based applications. It provides a plethora of features and is suited for everything from the smallest property binding and extraction, to full blown scripts.

There is a newer version: 2.1.9-MULE-019
Show newest version
package org.mule.mvel2.integration.impl;

import org.mule.mvel2.integration.VariableResolver;

public class IndexVariableResolver implements VariableResolver {
  private int indexPos;
  private Object[] vars;

  public IndexVariableResolver(int indexPos, Object[] vars) {
    this.indexPos = indexPos;
    this.vars = vars;
  }

  public String getName() {
    return null;
  }

  public Class getType() {
    return null;
  }

  public void setStaticType(Class type) {
  }

  public int getFlags() {
    return 0;
  }

  public Object getValue() {
    return vars[indexPos];
  }

  public void setValue(Object value) {
    vars[indexPos] = value;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy