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