Code

Add w3c svg-dom and smil-dom java interfaces
[inkscape.git] / src / bind / java / org / w3c / dom / smil / SMILElement.java
1 /*
2  * Copyright (c) 2000 World Wide Web Consortium,
3  * (Massachusetts Institute of Technology, Institut National de
4  * Recherche en Informatique et en Automatique, Keio University). All
5  * Rights Reserved. This program is distributed under the W3C's Software
6  * Intellectual Property License. This program is distributed in the
7  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
8  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
10  * details.
11  */
13 package org.w3c.dom.smil;
15 import org.w3c.dom.DOMException;
16 import org.w3c.dom.Element;
18 /**
19  *  The <code>SMILElement</code> interface is the base for all SMIL element 
20  * types. It follows the model of the <code>HTMLElement</code> in the HTML 
21  * DOM, extending the base <code>Element</code> class to denote SMIL-specific 
22  * elements. 
23  * <p> Note that the <code>SMILElement</code> interface overlaps with the 
24  * <code>HTMLElement</code> interface. In practice, an integrated document 
25  * profile that include HTML and SMIL modules will effectively implement both 
26  * interfaces (see also the DOM documentation discussion of  Inheritance vs 
27  * Flattened Views of the API ).  // etc. This needs attention
28  */
29 public interface SMILElement extends Element {
30     /**
31      *  The unique id.
32      * @exception DOMException
33      *    NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. 
34      */
35     public String getId();
36     public void setId(String id)
37                                       throws DOMException;
39 }