<div dir="ltr">Some of the SAI methods used in cobweb_dom are available in X3DJSAIL. Here is a list of the ones which are not or I could not find:<br><div><br>SAI<br><div><br>browser .importDocument (dom): <a href="http://www.web3d.org/documents/specifications/19775-2/V3.3/Part02/servRef.html#importDocument" target="_blank">http://www.web3d.org/<wbr>documents/specifications/<wbr>19775-2/V3.3/Part02/servRef.<wbr>html#importDocument</a> <br>browser .replaceWorld (importedScene): <a href="http://www.web3d.org/documents/specifications/19775-2/V3.3/Part02/servRef.html#replaceWorld" target="_blank">http://www.web3d.org/<wbr>documents/specifications/<wbr>19775-2/V3.3/Part02/servRef.<wbr>html#replaceWorld</a><br>field .addFieldCallback(): <a href="http://www.web3d.org/documents/specifications/19775-2/V3.3/Part02/servRef.html#RegisterFieldInterest" target="_blank">http://www.web3d.org/<wbr>documents/specifications/<wbr>19775-2/V3.3/Part02/servRef.<wbr>html#RegisterFieldInterest</a><br><br></div><div>Browser services seem to be missing. Does that mean the browser should become part of the object model ?<br></div><div>registerFieldInterest also seems to be missing. An oversight or is there a more fundamental reason ? Such as language features providing similar functionality ? <br></div><div><br></div><div>others<br><br>field .addEvent () : non standard, internal method to update field representation as an event.<br>browser .processEvents(): non standard, internal method to trigger processing of all current events.<br><br></div><div>addEvent may be implied in setValue. There is probably a good reason why cobweb separated addEvent from setValue, however. Would require studying.<br></div><div>processEvents may be a cobweb_dom specific requirement. I think it was necessary to proceed after modifying multiple fields in a single step.<br><br></div><div>-Andreas<br></div><div><br><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 19, 2017 at 3:45 PM, Andreas Plesch <span dir="ltr"><<a href="mailto:andreasplesch@gmail.com" target="_blank">andreasplesch@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>As an exercise, I collected those methods provided by cobweb as a X3D browser implementation which I utilize in cobweb_dom:<br><br><a href="https://github.com/andreasplesch/cobweb_dom/issues/26" target="_blank">https://github.com/<wbr>andreasplesch/cobweb_dom/<wbr>issues/26</a><br><br></div><div>I am trying now to identify equivalent methods provided by X3DJSAIL using the javadocs:<br><br><a href="http://www.web3d.org/specifications/java/javadoc/index.html" target="_blank">http://www.web3d.org/<wbr>specifications/java/javadoc/<wbr>index.html</a><br><br></div><div>I do not expect to find any parser methods although the ones which generate a x3d object from a dom object (parser.childElement, parser.nodeAttribute) may have general applicability.<br></div><div><div><br></div><div>But for the SAI ones and the field related ones there is an expectation although I am not quite sure if it is well placed. Mostly a learning exercise,<br><br></div><div>Let's see.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>-Andreas<br></div><div><br>-- <br><div class="m_6148037700142412384gmail_signature">Andreas Plesch<br>39 Barbara Rd.<br>Waltham, MA 02453</div>
</div></font></span></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Andreas Plesch<br>39 Barbara Rd.<br>Waltham, MA 02453</div>
</div>