static void xmllangAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info)
{
    INC_STATS("DOM.SVGLineElement.xmllang._set");
    SVGLineElement* imp = V8SVGLineElement::toNative(info.Holder());
    V8Parameter<> v = value;
    imp->setXmllang(v);
    return;
}
void JSSVGLineElement::putValueProperty(ExecState* exec, int token, JSValue* value)
{
    switch (token) {
    case XmllangAttrNum: {
        SVGLineElement* imp = static_cast<SVGLineElement*>(impl());
        imp->setXmllang(value->toString(exec));
        break;
    }
    case XmlspaceAttrNum: {
        SVGLineElement* imp = static_cast<SVGLineElement*>(impl());
        imp->setXmlspace(value->toString(exec));
        break;
    }
    }
}
Example #3
0
void setJSSVGLineElementXmllang(ExecState* exec, JSObject* thisObject, JSValue value)
{
    SVGLineElement* imp = static_cast<SVGLineElement*>(static_cast<JSSVGLineElement*>(thisObject)->impl());
    imp->setXmllang(value.toString(exec));
}