Creates a FB::DOM::Element object from a JSObjectPtr representing a DOM object. This will probably throw an exception and definitely not work right if the DOM object represented is not a Element.
Reimplemented from FB::DOM::Node. Reimplemented in FB::DOM::Document. Definition at line 61 of file ScriptingCore/DOM/Element.h. Referenced by FB::Npapi::NpapiBrowserHost::getDOMElement(), getElementById(), FB::ActiveX::AXDOM::Element::getElementsByTagName(), getElementsByTagName(), and FB::ActiveX::AXDOM::Document::getElementsByTagName(). 00061 { 00062 if (!api) { return ElementPtr(); } // If the API is null, return a NULL Element 00063 return api->getHost()->_createElement(api); 00064 } |
Generated on 18 Jun 2013 for FireBreath by
1.6.1
Labels
