コード例 #1
0
void JSSVGRectElement::putValueProperty(ExecState* exec, int token, JSValue* value, int /*attr*/)
{
    switch (token) {
    case XmllangAttrNum: {
        SVGRectElement* imp = static_cast<SVGRectElement*>(impl());

        imp->setXmllang(value->toString(exec));
        break;
    }
    case XmlspaceAttrNum: {
        SVGRectElement* imp = static_cast<SVGRectElement*>(impl());

        imp->setXmlspace(value->toString(exec));
        break;
    }
    }
}
コード例 #2
0
void setJSSVGRectElementXmlspace(ExecState* exec, JSObject* thisObject, JSValue value)
{
    SVGRectElement* imp = static_cast<SVGRectElement*>(static_cast<JSSVGRectElement*>(thisObject)->impl());
    imp->setXmlspace(value.toString(exec));
}
コード例 #3
0
void setJSSVGRectElementXmlspace(ExecState* exec, JSObject* thisObject, JSValue value)
{
    JSSVGRectElement* castedThis = static_cast<JSSVGRectElement*>(thisObject);
    SVGRectElement* imp = static_cast<SVGRectElement*>(castedThis->impl());
    imp->setXmlspace(ustringToString(value.toString(exec)));
}