protected static Value wrapJava(Env env,
QuercusClass cls,
SimpleXMLElement element)
{
if (! "SimpleXMLElement".equals(cls.getName()))
return new ObjectExtJavaValue(cls, element, cls.getJavaClassDef());
else
return new JavaValue(env, element, cls.getJavaClassDef());
}