static void xmllangAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) { INC_STATS("DOM.SVGAElement.xmllang._set"); SVGAElement* imp = V8SVGAElement::toNative(info.Holder()); STRING_TO_V8PARAMETER_EXCEPTION_BLOCK_VOID(V8Parameter<>, v, value); imp->setXmllang(v); return; }
void JSSVGAElement::putValueProperty(ExecState* exec, int token, JSValue* value, int /*attr*/) { switch (token) { case XmllangAttrNum: { SVGAElement* imp = static_cast<SVGAElement*>(impl()); imp->setXmllang(value->toString(exec)); break; } case XmlspaceAttrNum: { SVGAElement* imp = static_cast<SVGAElement*>(impl()); imp->setXmlspace(value->toString(exec)); break; } } }