Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Libraries

    OverDOM 0.1.5

    Download button

    No screenshots available
    Downloads: 312  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Michael Allan | More programs
    MIT/X Consortium Lic... / FREE
    January 7th, 2007, 10:35 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    OverDOM description

    OverDOM is a Java implementation of the W3C DOM, layered over a Web browser's native implementation.

    OverDOM is a Java implementation of the W3C DOM, layered over a Web browser's native implementation.

    OverDOM provides applets with access to the browser's loaded document, through a familiar Java binding. It aims to support:

    · DOM level 3
    · XML and HTML
    · XML namespaces
    · events
    · traversal & range

    Usage:

    import netscape.javascript.JSObject;
    import org.w3c.dom.*;
    import org.w3c.dom.events.*;
    import org.w3c.dom.ranges.*;
    import org.w3c.dom.traversal.*;
    import textbender.g.hold.SpoolT;
    import textbender.o.browser.overdom.*;
    · · ·

    SpoolT spool = new SpoolT();
    OverDOM overDOM = new OverDOM( spool );
    WindowO window = JSObjectOverlay.getWindow( overDOM, applet );

    // DOM level 3
    Document document = window.getDocument();

    // events
    EventTarget eventRegistry = (EventTarget)document;

    // traversal
    TreeWalker walker = ((DocumentTraversal)document).createTreeWalker( · · · );

    // range
    Range range = ((DocumentRange)document).createRange();

    · · ·
    spool.unwind(); // release overDOM (when applet destroyed, or earlier)

    Requirements:

    · Requires textbender.jar. It contains the OverDOM runtime code. Add it to your classpath.
    · Requires jre/lib/plugin.jar, or equivalent from your JDK. It contains the JSObject (Java-to-JavaScript bridge) code. Add it to your compile-time classpath. (It is automatically added to the runtime classpath by the Java Plug-In.)
    · Requires a mayscript attribute on the applet.

    Limitations:

    · Implementation is incomplete. Only the methods needed by textbender are coded. Other methods throw UnsupportedOperationException, till someone implements them. (In most cases, the implementation is trivial. See the source code.)
    · Tested only with Sun's Java Plug-In, vanilla Mozilla and FireFox. In theory, any runtime with a JSObject bridge (most modern browsers) will be OK.

    What's New in This Release:

    · Additional methods were implemented for the interfaces Document and Node.



    Product's homepage

      


    TAGS:

    Java implementation | W3C DOM | Java library | OverDOM | Java | implementation



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM