public Proxy getter_ownerElement() {
    Log.d(TAG, "get ownerElement", Log.DEBUG_MODE);
    AttrProxy proxy = (AttrProxy) getProxy();
    Scriptable thisObj = this;
    ti.modules.titanium.xml.ElementProxy javaResult = proxy.getOwnerElement();

    Proxy rhinoResult = (Proxy) TypeConverter.javaObjectToJsObject(javaResult, this);
    return rhinoResult;
  }
 public void setter_value(Object value) {
   Log.d(TAG, "set value", Log.DEBUG_MODE);
   AttrProxy proxy = (AttrProxy) getProxy();
   Scriptable thisObj = this;
   java.lang.String arg0;
   arg0 = (java.lang.String) TypeConverter.jsObjectToJavaString(value, thisObj);
   proxy.setValue(arg0);
   // proxy.setProperty("value", value); // Commenting out for parity with V8 (don't retain from a
   // custom setter)
 }
  public Object getOwnerElement(Context context, Scriptable thisObj, Object[] args) {
    Log.d(TAG, "getOwnerElement()", Log.DEBUG_MODE);

    try {
      AttrProxy proxy = (AttrProxy) ((Proxy) thisObj).getProxy();

      ti.modules.titanium.xml.ElementProxy javaResult = proxy.getOwnerElement();

      Proxy rhinoResult = (Proxy) TypeConverter.javaObjectToJsObject(javaResult, this);

      return rhinoResult;

    } catch (Throwable throwable) {
      Context.throwAsScriptRuntimeEx(throwable);
      return Undefined.instance;
    }
  }
  public void setValue(Context context, Scriptable thisObj, Object[] args) {
    Log.d(TAG, "setValue()", Log.DEBUG_MODE);

    try {
      AttrProxy proxy = (AttrProxy) ((Proxy) thisObj).getProxy();
      if (args.length < 1) {
        throw new IllegalArgumentException(
            "setValue: Invalid number of arguments. Expected 1 but got " + args.length);
      }
      java.lang.String arg0;
      arg0 = (java.lang.String) TypeConverter.jsObjectToJavaString(args[0], thisObj);

      proxy.setValue(arg0);

    } catch (Throwable throwable) {
      Context.throwAsScriptRuntimeEx(throwable);
    }
  }