public Object execIdCall()

in src/main/java/org/apache/sling/scripting/javascript/helper/SlingGlobal.java [110:131]


	public Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope,
			Scriptable thisObj, Object[] args) {
		if (f.hasTag(FTAG)) {
			int methodId = f.methodId();
			switch (methodId) {
			case Id_load: {
				load(cx, thisObj, args);
				return Context.getUndefinedValue();
			}

			case Id_print: {
				print(cx, thisObj, args);
				return Context.getUndefinedValue();
			}

			case Id_require: {
				return require(cx, thisObj, args);
			}
			}
		}
		throw f.unknown();
	}