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 * 12 * Difference to the original copy of this file: 13 * 1) ADD public SMILElement getHead(); 14 * 2) ADD public SMILElement getBody(); 15 * 3) ADD public SMILLayoutElement getLayout(); 16 */ 17 18 package org.w3c.dom.smil; 19 20 import org.w3c.dom.Document; 21 22 /** 23 * A SMIL document is the root of the SMIL Hierarchy and holds the entire 24 * content. Beside providing access to the hierarchy, it also provides some 25 * convenience methods for accessing certain sets of information from the 26 * document. Cover document timing, document locking?, linking modality and 27 * any other document level issues. Are there issues with nested SMIL files? 28 * Is it worth talking about different document scenarios, corresponding to 29 * differing profiles? E.g. Standalone SMIL, HTML integration, etc. 30 */ 31 public interface SMILDocument extends Document, ElementSequentialTimeContainer { 32 33 /** 34 * Returns the element that contains the layout node of this document, 35 * i.e. the <code>HEAD</code> element. 36 */ 37 public SMILElement getHead(); 38 39 /** 40 * Returns the element that contains the par's of the document, i.e. the 41 * <code>BODY</code> element. 42 */ 43 public SMILElement getBody(); 44 45 /** 46 * Returns the element that contains the layout information of the presentation, 47 * i.e. the <code>LAYOUT</code> element. 48 */ 49 public SMILLayoutElement getLayout(); 50 } 51 52