Language for binding scalable vector graphics elements to java classes
Abstract
According to a technique described herein, a binding document comprises one or more “<bind>” element instances. Each “<bind>” element instance indicates an association between (a) an SVG element instance and (b) a class. When a binding's name is passed to a “createFromTemplate( )” method, the method processes all of the “<bind>” element instances that are associated within that name. For each such “<bind>” element instance, the method (a) creates, in an SVG DOM tree, a clone of a node that corresponds to an SVG element instance indicated in that “<bind>” element instance, (b) instantiates an object that is an instance of a class that is indicated in that “<bind>” element instance, and (c) stores data that establishes a binding between the clone node and the object. Methods of the object can be invoked to affect and/or alter attributes of the clone node to which the object is bound.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A machine-implemented method for binding program-defined objects to Document Object Model (DOM) nodes, the method comprising: receiving a request to create a scalable vector graphics (SVG) element instance from an SVG element template, wherein the request comprises a binding name, and wherein the SVG element instance comprises an extensible markup language (XML) code for describing two-dimensional graphics; selecting, from a binding document, the SVG element template using the binding name, wherein the binding document comprises an association between the SVG element template, a node in a SVG
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- Alex Chaffee, "Sever-Side Java: Using XML and JSP together", Mar. 2, 2000, retrieved from , total pp. 9.
- Alex Chaffee, "Sever-Side Java: Using XML and JSP together", Mar. 2, 2000, retrieved from <http://www.javaworld.com/jw-03-2000/jw-0331-ssj-jspxml.html>, total pp. 9.
- Brian Venn, Add interactivity to your SVG, Aug. 27, 2003, retrieved from , total pp. 11.
- Brian Venn, Add interactivity to your SVG, Aug. 27, 2003, retrieved from <http://www.ibm.com/developerworks/library/x-svgint/>, total pp. 11.
- Christophe Jolif, "Bringing SVG Power to Java Applications", Jan. 2003, retrieved from , total pp. 15.