void V8XSLTProcessor::setParameterMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info) { if (isUndefinedOrNull(info[1]) || isUndefinedOrNull(info[2])) return; TOSTRING_VOID(V8StringResource<>, namespaceURI, info[0]); TOSTRING_VOID(V8StringResource<>, localName, info[1]); TOSTRING_VOID(V8StringResource<>, value, info[2]); XSLTProcessor* impl = V8XSLTProcessor::toNative(info.Holder()); impl->setParameter(namespaceURI, localName, value); }
void V8XSLTProcessor::setParameterMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args) { if (isUndefinedOrNull(args[1]) || isUndefinedOrNull(args[2])) return; XSLTProcessor* imp = V8XSLTProcessor::toNative(args.Holder()); String namespaceURI = toWebCoreString(args[0]); String localName = toWebCoreString(args[1]); String value = toWebCoreString(args[2]); imp->setParameter(namespaceURI, localName, value); }
v8::Handle<v8::Value> V8XSLTProcessor::setParameterMethodCustom(const v8::Arguments& args) { if (isUndefinedOrNull(args[1]) || isUndefinedOrNull(args[2])) return v8::Undefined(); XSLTProcessor* imp = V8XSLTProcessor::toNative(args.Holder()); String namespaceURI = toWebCoreString(args[0]); String localName = toWebCoreString(args[1]); String value = toWebCoreString(args[2]); imp->setParameter(namespaceURI, localName, value); return v8::Undefined(); }