diff options
Diffstat (limited to 'src/main/java/org/w3c/dom/smil')
30 files changed, 0 insertions, 1662 deletions
diff --git a/src/main/java/org/w3c/dom/smil/COPYRIGHT.html b/src/main/java/org/w3c/dom/smil/COPYRIGHT.html deleted file mode 100644 index 26049b7..0000000 --- a/src/main/java/org/w3c/dom/smil/COPYRIGHT.html +++ /dev/null @@ -1,100 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" - "http://www.w3.org/TR/REC-html40/loose.dtd"> -<html> - <head> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> - <title>W3C IPR SOFTWARE NOTICE</title> - </head> - <body bgcolor="#FFFFFF" text="#000000"> - <h1> - W3C IPR SOFTWARE NOTICE - </h1> - <h3> - Copyright © 2000 <loc href="http://www.w3.org/">World Wide Web - Consortium</loc>, (<loc href="http://www.lcs.mit.edu/">Massachusetts - Institute of Technology</loc>, <loc href="http://www.inria.fr/">Institut - National de Recherche en Informatique et en Automatique</loc>, <loc - href="http://www.keio.ac.jp/">Keio University</loc>). All Rights - Reserved. - </h3> - <p> - The DOM bindings are published under the W3C Software Copyright Notice - and License. The software license requires "Notice of any changes or - modifications to the W3C files, including the date changes were made." - Consequently, modified versions of the DOM bindings must document that - they do not conform to the W3C standard; in the case of the IDL binding, - the pragma prefix can no longer be 'w3c.org'; in the case of the Java - binding, the package names can no longer be in the 'org.w3c' package. - </p> - <p> - <b>Note:</b> The original version of the W3C Software Copyright Notice - and License could be found at <a - href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>http://www.w3.org/Consortium/Legal/copyright-software-19980720</a> - </p> - <h3> - Copyright © 1994-2000 <a href="http://www.w3.org/">World Wide Web - Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts - Institute of Technology</a>, <a href="http://www.inria.fr/">Institut - National de Recherche en Informatique et en Automatique</a>, <a - href="http://www.keio.ac.jp/">Keio University</a>). All Rights - Reserved. http://www.w3.org/Consortium/Legal/ - </h3> - <p> - This W3C work (including software, documents, or other related items) is - being provided by the copyright holders under the following license. By - obtaining, using and/or copying this work, you (the licensee) agree that - you have read, understood, and will comply with the following terms and - conditions: - </p> - <p> - Permission to use, copy, and modify this software and its documentation, - with or without modification, for any purpose and without fee or - royalty is hereby granted, provided that you include the following on ALL - copies of the software and documentation or portions thereof, including - modifications, that you make: - </p> - <ol> - <li> - The full text of this NOTICE in a location viewable to users of the - redistributed or derivative work. - </li> - <li> - Any pre-existing intellectual property disclaimers, notices, or terms - and conditions. If none exist, a short notice of the following form - (hypertext is preferred, text is permitted) should be used within the - body of any redistributed or derivative code: "Copyright © - [$date-of-software] <a href="http://www.w3.org/">World Wide Web - Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts - Institute of Technology</a>, <a href="http://www.inria.fr/">Institut - National de Recherche en Informatique et en Automatique</a>, <a - href="http://www.keio.ac.jp/">Keio University</a>). All Rights - Reserved. http://www.w3.org/Consortium/Legal/" - </li> - <li> - Notice of any changes or modifications to the W3C files, including the - date changes were made. (We recommend you provide URIs to the location - from which the code is derived.) - </li> - </ol> - <p> - THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT - HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, - INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS - FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR - DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, - TRADEMARKS OR OTHER RIGHTS. - </p> - <p> - COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR - CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR - DOCUMENTATION. - </p> - <p> - The name and trademarks of copyright holders may NOT be used in - advertising or publicity pertaining to the software without specific, - written prior permission. Title to copyright in this software and any - associated documentation will at all times remain with copyright - holders. - </p> - </body> -</html> diff --git a/src/main/java/org/w3c/dom/smil/ElementExclusiveTimeContainer.java b/src/main/java/org/w3c/dom/smil/ElementExclusiveTimeContainer.java deleted file mode 100644 index 84c7a14..0000000 --- a/src/main/java/org/w3c/dom/smil/ElementExclusiveTimeContainer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -import org.w3c.dom.DOMException; -import org.w3c.dom.NodeList; - -/** - * This interface defines a time container with semantics based upon par, but - * with the additional constraint that only one child element may play at a - * time. - */ -public interface ElementExclusiveTimeContainer extends ElementTimeContainer { - /** - * Controls the end of the container. Need to address thr id-ref value. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getEndSync(); - public void setEndSync(String endSync) - throws DOMException; - - /** - * This should support another method to get the ordered collection of - * paused elements (the paused stack) at a given point in time. - * @return All paused elements at the current time. - */ - public NodeList getPausedElements(); - -} - diff --git a/src/main/java/org/w3c/dom/smil/ElementLayout.java b/src/main/java/org/w3c/dom/smil/ElementLayout.java deleted file mode 100644 index 7f3128f..0000000 --- a/src/main/java/org/w3c/dom/smil/ElementLayout.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -import org.w3c.dom.DOMException; - -/** - * This interface is used by SMIL elements root-layout, top-layout and region. - * - */ -public interface ElementLayout { - /** - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getTitle(); - public void setTitle(String title) - throws DOMException; - - /** - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getBackgroundColor(); - public void setBackgroundColor(String backgroundColor) - throws DOMException; - - /** - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public int getHeight(); - public void setHeight(int height) - throws DOMException; - - /** - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public int getWidth(); - public void setWidth(int width) - throws DOMException; - -} - diff --git a/src/main/java/org/w3c/dom/smil/ElementParallelTimeContainer.java b/src/main/java/org/w3c/dom/smil/ElementParallelTimeContainer.java deleted file mode 100644 index a796bc7..0000000 --- a/src/main/java/org/w3c/dom/smil/ElementParallelTimeContainer.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -import org.w3c.dom.DOMException; - -/** - * A <code>parallel</code> container defines a simple parallel time grouping - * in which multiple elements can play back at the same time. It may have to - * specify a repeat iteration. (?) - */ -public interface ElementParallelTimeContainer extends ElementTimeContainer { - /** - * Controls the end of the container. Need to address thr id-ref value. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getEndSync(); - public void setEndSync(String endSync) - throws DOMException; - - /** - * This method returns the implicit duration in seconds. - * @return The implicit duration in seconds or -1 if the implicit is - * unknown (indefinite?). - */ - public float getImplicitDuration(); - -} - diff --git a/src/main/java/org/w3c/dom/smil/ElementSequentialTimeContainer.java b/src/main/java/org/w3c/dom/smil/ElementSequentialTimeContainer.java deleted file mode 100644 index bca5841..0000000 --- a/src/main/java/org/w3c/dom/smil/ElementSequentialTimeContainer.java +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -/** - * A <code>seq</code> container defines a sequence of elements in which - * elements play one after the other. - */ -public interface ElementSequentialTimeContainer extends ElementTimeContainer { -} - diff --git a/src/main/java/org/w3c/dom/smil/ElementSyncBehavior.java b/src/main/java/org/w3c/dom/smil/ElementSyncBehavior.java deleted file mode 100644 index e75fecc..0000000 --- a/src/main/java/org/w3c/dom/smil/ElementSyncBehavior.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -/** - * The synchronization behavior extension. - */ -public interface ElementSyncBehavior { - /** - * The runtime synchronization behavior for an element. - */ - public String getSyncBehavior(); - - /** - * The sync tolerance for the associated element. It has an effect only if - * the element has <code>syncBehavior="locked"</code> . - */ - public float getSyncTolerance(); - - /** - * Defines the default value for the runtime synchronization behavior for - * an element, and all descendents. - */ - public String getDefaultSyncBehavior(); - - /** - * Defines the default value for the sync tolerance for an element, and - * all descendents. - */ - public float getDefaultSyncTolerance(); - - /** - * If set to true, forces the time container playback to sync to this - * element. - */ - public boolean getSyncMaster(); - -} - diff --git a/src/main/java/org/w3c/dom/smil/ElementTargetAttributes.java b/src/main/java/org/w3c/dom/smil/ElementTargetAttributes.java deleted file mode 100644 index 23a37b6..0000000 --- a/src/main/java/org/w3c/dom/smil/ElementTargetAttributes.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -/** - * This interface define the set of animation target extensions. - */ -public interface ElementTargetAttributes { - /** - * The name of the target attribute. - */ - public String getAttributeName(); - public void setAttributeName(String attributeName); - - // attributeTypes - public static final short ATTRIBUTE_TYPE_AUTO = 0; - public static final short ATTRIBUTE_TYPE_CSS = 1; - public static final short ATTRIBUTE_TYPE_XML = 2; - - /** - * A code representing the value of the attributeType attribute, as - * defined above. Default value is <code>ATTRIBUTE_TYPE_CODE</code> . - */ - public short getAttributeType(); - public void setAttributeType(short attributeType); - -} - diff --git a/src/main/java/org/w3c/dom/smil/ElementTest.java b/src/main/java/org/w3c/dom/smil/ElementTest.java deleted file mode 100644 index 78fe497..0000000 --- a/src/main/java/org/w3c/dom/smil/ElementTest.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -import org.w3c.dom.DOMException; - -/** - * Defines the test attributes interface. See the Test attributes definition - * . - */ -public interface ElementTest { - /** - * The systemBitrate value. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public int getSystemBitrate(); - public void setSystemBitrate(int systemBitrate) - throws DOMException; - - /** - * The systemCaptions value. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public boolean getSystemCaptions(); - public void setSystemCaptions(boolean systemCaptions) - throws DOMException; - - /** - * The systemLanguage value. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getSystemLanguage(); - public void setSystemLanguage(String systemLanguage) - throws DOMException; - - /** - * The result of the evaluation of the systemRequired attribute. - */ - public boolean getSystemRequired(); - - /** - * The result of the evaluation of the systemScreenSize attribute. - */ - public boolean getSystemScreenSize(); - - /** - * The result of the evaluation of the systemScreenDepth attribute. - */ - public boolean getSystemScreenDepth(); - - /** - * The value of the systemOverdubOrSubtitle attribute. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getSystemOverdubOrSubtitle(); - public void setSystemOverdubOrSubtitle(String systemOverdubOrSubtitle) - throws DOMException; - - /** - * The value of the systemAudioDesc attribute. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public boolean getSystemAudioDesc(); - public void setSystemAudioDesc(boolean systemAudioDesc) - throws DOMException; - -} - diff --git a/src/main/java/org/w3c/dom/smil/ElementTime.java b/src/main/java/org/w3c/dom/smil/ElementTime.java deleted file mode 100644 index 715d46a..0000000 --- a/src/main/java/org/w3c/dom/smil/ElementTime.java +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -import org.w3c.dom.DOMException; - -/** - * This interface defines the set of timing attributes that are common to all - * timed elements. - */ -public interface ElementTime { - /** - * The desired value (as a list of times) of the begin instant of this - * node. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public TimeList getBegin(); - public void setBegin(TimeList begin) - throws DOMException; - - /** - * The list of active ends for this node. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public TimeList getEnd(); - public void setEnd(TimeList end) - throws DOMException; - - /** - * The desired simple duration value of this node in seconds. Negative - * value means "indefinite". - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public float getDur(); - public void setDur(float dur) - throws DOMException; - - // restartTypes - public static final short RESTART_ALWAYS = 0; - public static final short RESTART_NEVER = 1; - public static final short RESTART_WHEN_NOT_ACTIVE = 2; - - /** - * A code representing the value of the restart attribute, as defined - * above. Default value is <code>RESTART_ALWAYS</code> . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public short getRestart(); - public void setRestart(short restart) - throws DOMException; - - // fillTypes - public static final short FILL_REMOVE = 0; - public static final short FILL_FREEZE = 1; - - /** - * A code representing the value of the fill attribute, as defined - * above. Default value is <code>FILL_REMOVE</code> . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public short getFill(); - public void setFill(short fill) - throws DOMException; - - /** - * The repeatCount attribute causes the element to play repeatedly - * (loop) for the specified number of times. A negative value repeat the - * element indefinitely. Default value is 0 (unspecified). - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public float getRepeatCount(); - public void setRepeatCount(float repeatCount) - throws DOMException; - - /** - * The repeatDur causes the element to play repeatedly (loop) for the - * specified duration in milliseconds. Negative means "indefinite". - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public float getRepeatDur(); - public void setRepeatDur(float repeatDur) - throws DOMException; - - /** - * Causes this element to begin the local timeline (subject to sync - * constraints). - * @return <code>true</code> if the method call was successful and the - * element was begun. <code>false</code> if the method call failed. - * Possible reasons for failure include: The element doesn't support - * the <code>beginElement</code> method. (the <code>beginEvent</code> - * attribute is not set to <code>"undefinite"</code> ) The element is - * already active and can't be restart when it is active. (the - * <code>restart</code> attribute is set to <code>"whenNotActive"</code> - * ) The element is active or has been active and can't be restart. - * (the <code>restart</code> attribute is set to <code>"never"</code> ). - * - */ - public boolean beginElement(); - - /** - * Causes this element to end the local timeline (subject to sync - * constraints). - * @return <code>true</code> if the method call was successful and the - * element was endeed. <code>false</code> if method call failed. - * Possible reasons for failure include: The element doesn't support - * the <code>endElement</code> method. (the <code>endEvent</code> - * attribute is not set to <code>"undefinite"</code> ) The element is - * not active. - */ - public boolean endElement(); - - /** - * Causes this element to pause the local timeline (subject to sync - * constraints). - */ - public void pauseElement(); - - /** - * Causes this element to resume a paused local timeline. - */ - public void resumeElement(); - - /** - * Seeks this element to the specified point on the local timeline - * (subject to sync constraints). If this is a timeline, this must seek - * the entire timeline (i.e. propagate to all timeChildren). - * @param seekTo The desired position on the local timeline in - * milliseconds. - */ - public void seekElement(float seekTo); - -} - diff --git a/src/main/java/org/w3c/dom/smil/ElementTimeContainer.java b/src/main/java/org/w3c/dom/smil/ElementTimeContainer.java deleted file mode 100644 index 69b39e8..0000000 --- a/src/main/java/org/w3c/dom/smil/ElementTimeContainer.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -import org.w3c.dom.NodeList; - -/** - * This is a placeholder - subject to change. This represents generic - * timelines. - */ -public interface ElementTimeContainer extends ElementTime { - /** - * A NodeList that contains all timed childrens of this node. If there are - * no timed children, the <code>Nodelist</code> is empty. An iterator - * is more appropriate here than a node list but it requires Traversal - * module support. - */ - public NodeList getTimeChildren(); - - /** - * Returns a list of child elements active at the specified invocation. - * @param instant The desired position on the local timeline in - * milliseconds. - * @return List of timed child-elements active at instant. - */ - public NodeList getActiveChildrenAt(float instant); - -} - diff --git a/src/main/java/org/w3c/dom/smil/ElementTimeControl.java b/src/main/java/org/w3c/dom/smil/ElementTimeControl.java deleted file mode 100644 index e546b36..0000000 --- a/src/main/java/org/w3c/dom/smil/ElementTimeControl.java +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -import org.w3c.dom.DOMException; - -/** - */ -public interface ElementTimeControl { - /** - * Causes this element to begin the local timeline (subject to sync - * constraints). - * @return <code>true</code> if the method call was successful and the - * element was begun. <code>false</code> if the method call failed. - * Possible reasons for failure include: The element doesn't support - * the <code>beginElement</code> method. (the <code>begin</code> - * attribute is not set to <code>"indefinite"</code> ) The element is - * already active and can't be restart when it is active. (the - * <code>restart</code> attribute is set to <code>"whenNotActive"</code> - * ) The element is active or has been active and can't be restart. - * (the <code>restart</code> attribute is set to <code>"never"</code> ). - * - * @exception DOMException - * SYNTAX_ERR: The element was not defined with the appropriate syntax - * to allow <code>beginElement</code> calls. - */ - public boolean beginElement() - throws DOMException; - - /** - * Causes this element to begin the local timeline (subject to sync - * constraints), at the passed offset from the current time when the - * method is called. If the offset is >= 0, the semantics are - * equivalent to an event-base begin with the specified offset. If the - * offset is < 0, the semantics are equivalent to beginElement(), but - * the element active duration is evaluated as though the element had - * begun at the passed (negative) offset from the current time when the - * method is called. - * @param offset The offset in seconds at which to begin the element. - * @return <code>true</code> if the method call was successful and the - * element was begun. <code>false</code> if the method call failed. - * Possible reasons for failure include: The element doesn't support - * the <code>beginElementAt</code> method. (the <code>begin</code> - * attribute is not set to <code>"indefinite"</code> ) The element is - * already active and can't be restart when it is active. (the - * <code>restart</code> attribute is set to <code>"whenNotActive"</code> - * ) The element is active or has been active and can't be restart. - * (the <code>restart</code> attribute is set to <code>"never"</code> ). - * - * @exception DOMException - * SYNTAX_ERR: The element was not defined with the appropriate syntax - * to allow <code>beginElementAt</code> calls. - */ - public boolean beginElementAt(float offset) - throws DOMException; - - /** - * Causes this element to end the local timeline (subject to sync - * constraints). - * @return <code>true</code> if the method call was successful and the - * element was ended. <code>false</code> if method call failed. - * Possible reasons for failure include: The element doesn't support - * the <code>endElement</code> method. (the <code>end</code> attribute - * is not set to <code>"indefinite"</code> ) The element is not active. - * - * @exception DOMException - * SYNTAX_ERR: The element was not defined with the appropriate syntax - * to allow <code>endElement</code> calls. - */ - public boolean endElement() - throws DOMException; - - /** - * Causes this element to end the local timeline (subject to sync - * constraints) at the specified offset from the current time when the - * method is called. - * @param offset The offset in seconds at which to end the element. Must - * be >= 0. - * @return <code>true</code> if the method call was successful and the - * element was ended. <code>false</code> if method call failed. - * Possible reasons for failure include: The element doesn't support - * the <code>endElementAt</code> method. (the <code>end</code> - * attribute is not set to <code>"indefinite"</code> ) The element is - * not active. - * @exception DOMException - * SYNTAX_ERR: The element was not defined with the appropriate syntax - * to allow <code>endElementAt</code> calls. - */ - public boolean endElementAt(float offset) - throws DOMException; - -} - diff --git a/src/main/java/org/w3c/dom/smil/ElementTimeManipulation.java b/src/main/java/org/w3c/dom/smil/ElementTimeManipulation.java deleted file mode 100644 index bb83326..0000000 --- a/src/main/java/org/w3c/dom/smil/ElementTimeManipulation.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -import org.w3c.dom.DOMException; - -/** - * This interface support use-cases commonly associated with animation. - * "accelerate" and "decelerate" are float values in the timing draft and - * percentage values even in this draft if both of them represent a - * percentage. - */ -public interface ElementTimeManipulation { - /** - * Defines the playback speed of element time. The value is specified as - * a multiple of normal (parent time container) play speed. Legal values - * are signed floating point values. Zero values are not allowed. The - * default is <code>1.0</code> (no modification of speed). - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public float getSpeed(); - public void setSpeed(float speed) - throws DOMException; - - /** - * The percentage value of the simple acceleration of time for the - * element. Allowed values are from <code>0</code> to <code>100</code> . - * Default value is <code>0</code> (no acceleration). - * <br> The sum of the values for accelerate and decelerate must not exceed - * 100. If it does, the deceleration value will be reduced to make the - * sum legal. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public float getAccelerate(); - public void setAccelerate(float accelerate) - throws DOMException; - - /** - * The percentage value of the simple decelerate of time for the - * element. Allowed values are from <code>0</code> to <code>100</code> . - * Default value is <code>0</code> (no deceleration). - * <br> The sum of the values for accelerate and decelerate must not exceed - * 100. If it does, the deceleration value will be reduced to make the - * sum legal. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public float getDecelerate(); - public void setDecelerate(float decelerate) - throws DOMException; - - /** - * The autoReverse attribute controls the "play forwards then backwards" - * functionality. Default value is <code>false</code> . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public boolean getAutoReverse(); - public void setAutoReverse(boolean autoReverse) - throws DOMException; - -} - diff --git a/src/main/java/org/w3c/dom/smil/SMILAnimateColorElement.java b/src/main/java/org/w3c/dom/smil/SMILAnimateColorElement.java deleted file mode 100644 index 9bd9d13..0000000 --- a/src/main/java/org/w3c/dom/smil/SMILAnimateColorElement.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -/** - * This interface represents the SMIL <code>animateColor</code> element. - */ -public interface SMILAnimateColorElement extends SMILAnimation { -} - diff --git a/src/main/java/org/w3c/dom/smil/SMILAnimateElement.java b/src/main/java/org/w3c/dom/smil/SMILAnimateElement.java deleted file mode 100644 index 9393e00..0000000 --- a/src/main/java/org/w3c/dom/smil/SMILAnimateElement.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -/** - * This interface represents the SMIL <code>animate</code> element. - */ -public interface SMILAnimateElement extends SMILAnimation { -} - diff --git a/src/main/java/org/w3c/dom/smil/SMILAnimateMotionElement.java b/src/main/java/org/w3c/dom/smil/SMILAnimateMotionElement.java deleted file mode 100644 index 6a140ad..0000000 --- a/src/main/java/org/w3c/dom/smil/SMILAnimateMotionElement.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -import org.w3c.dom.DOMException; - -/** - * This interface present the <code>animationMotion</code> element in SMIL. - */ -public interface SMILAnimateMotionElement extends SMILAnimateElement { - /** - * Specifies the curve that describes the attribute value as a function - * of time. Check with the SVG spec for better support - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getPath(); - public void setPath(String path) - throws DOMException; - - /** - * Specifies the origin of motion for the animation. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getOrigin(); - public void setOrigin(String origin) - throws DOMException; - -} - diff --git a/src/main/java/org/w3c/dom/smil/SMILAnimation.java b/src/main/java/org/w3c/dom/smil/SMILAnimation.java deleted file mode 100644 index 8615dfa..0000000 --- a/src/main/java/org/w3c/dom/smil/SMILAnimation.java +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -import org.w3c.dom.DOMException; - -/** - * This interface define the set of animation extensions for SMIL. The - * attributes will go in a XLink interface. - */ -public interface SMILAnimation extends SMILElement, ElementTargetAttributes, ElementTime, ElementTimeControl { - // additiveTypes - public static final short ADDITIVE_REPLACE = 0; - public static final short ADDITIVE_SUM = 1; - - /** - * A code representing the value of the additive attribute, as defined - * above. Default value is <code>ADDITIVE_REPLACE</code> . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public short getAdditive(); - public void setAdditive(short additive) - throws DOMException; - - // accumulateTypes - public static final short ACCUMULATE_NONE = 0; - public static final short ACCUMULATE_SUM = 1; - - /** - * A code representing the value of the accumulate attribute, as defined - * above. Default value is <code>ACCUMULATE_NONE</code> . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public short getAccumulate(); - public void setAccumulate(short accumulate) - throws DOMException; - - // calcModeTypes - public static final short CALCMODE_DISCRETE = 0; - public static final short CALCMODE_LINEAR = 1; - public static final short CALCMODE_PACED = 2; - public static final short CALCMODE_SPLINE = 3; - - /** - * A code representing the value of the calcMode attribute, as defined - * above. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public short getCalcMode(); - public void setCalcMode(short calcMode) - throws DOMException; - - /** - * A <code>DOMString</code> representing the value of the keySplines - * attribute. Need an interface a point (x1,y1,x2,y2) - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getKeySplines(); - public void setKeySplines(String keySplines) - throws DOMException; - - /** - * A list of the time value of the keyTimes attribute. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public TimeList getKeyTimes(); - public void setKeyTimes(TimeList keyTimes) - throws DOMException; - - /** - * A <code>DOMString</code> representing the value of the values - * attribute. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getValues(); - public void setValues(String values) - throws DOMException; - - /** - * A <code>DOMString</code> representing the value of the from attribute. - * - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getFrom(); - public void setFrom(String from) - throws DOMException; - - /** - * A <code>DOMString</code> representing the value of the to attribute. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getTo(); - public void setTo(String to) - throws DOMException; - - /** - * A <code>DOMString</code> representing the value of the by attribute. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getBy(); - public void setBy(String by) - throws DOMException; - -} - diff --git a/src/main/java/org/w3c/dom/smil/SMILDocument.java b/src/main/java/org/w3c/dom/smil/SMILDocument.java deleted file mode 100644 index 5f54dd3..0000000 --- a/src/main/java/org/w3c/dom/smil/SMILDocument.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -import org.w3c.dom.Document; - -/** - * A SMIL document is the root of the SMIL Hierarchy and holds the entire - * content. Beside providing access to the hierarchy, it also provides some - * convenience methods for accessing certain sets of information from the - * document. Cover document timing, document locking?, linking modality and - * any other document level issues. Are there issues with nested SMIL files? - * Is it worth talking about different document scenarios, corresponding to - * differing profiles? E.g. Standalone SMIL, HTML integration, etc. - */ -public interface SMILDocument extends Document, ElementSequentialTimeContainer { -} - diff --git a/src/main/java/org/w3c/dom/smil/SMILElement.java b/src/main/java/org/w3c/dom/smil/SMILElement.java deleted file mode 100644 index 748de23..0000000 --- a/src/main/java/org/w3c/dom/smil/SMILElement.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -import org.w3c.dom.DOMException; -import org.w3c.dom.Element; - -/** - * The <code>SMILElement</code> interface is the base for all SMIL element - * types. It follows the model of the <code>HTMLElement</code> in the HTML - * DOM, extending the base <code>Element</code> class to denote SMIL-specific - * elements. - * <p> Note that the <code>SMILElement</code> interface overlaps with the - * <code>HTMLElement</code> interface. In practice, an integrated document - * profile that include HTML and SMIL modules will effectively implement both - * interfaces (see also the DOM documentation discussion of Inheritance vs - * Flattened Views of the API ). // etc. This needs attention - */ -public interface SMILElement extends Element { - /** - * The unique id. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getId(); - public void setId(String id) - throws DOMException; - -} - diff --git a/src/main/java/org/w3c/dom/smil/SMILLayoutElement.java b/src/main/java/org/w3c/dom/smil/SMILLayoutElement.java deleted file mode 100644 index 2d6136d..0000000 --- a/src/main/java/org/w3c/dom/smil/SMILLayoutElement.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -/** - * Declares layout type for the document. See the LAYOUT element definition . - * - */ -public interface SMILLayoutElement extends SMILElement { - /** - * The mime type of the layout langage used in this layout element.The - * default value of the type attribute is "text/smil-basic-layout". - */ - public String getType(); - - /** - * <code>true</code> if the player can understand the mime type, - * <code>false</code> otherwise. - */ - public boolean getResolved(); - -} - diff --git a/src/main/java/org/w3c/dom/smil/SMILMediaElement.java b/src/main/java/org/w3c/dom/smil/SMILMediaElement.java deleted file mode 100644 index d6a2d2d..0000000 --- a/src/main/java/org/w3c/dom/smil/SMILMediaElement.java +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -import org.w3c.dom.DOMException; - -/** - * Declares media content. - */ -public interface SMILMediaElement extends ElementTime, SMILElement { - /** - * See the abstract attribute from . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getAbstractAttr(); - public void setAbstractAttr(String abstractAttr) - throws DOMException; - - /** - * See the alt attribute from . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getAlt(); - public void setAlt(String alt) - throws DOMException; - - /** - * See the author attribute from . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getAuthor(); - public void setAuthor(String author) - throws DOMException; - - /** - * See the clipBegin attribute from . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getClipBegin(); - public void setClipBegin(String clipBegin) - throws DOMException; - - /** - * See the clipEnd attribute from . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getClipEnd(); - public void setClipEnd(String clipEnd) - throws DOMException; - - /** - * See the copyright attribute from . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getCopyright(); - public void setCopyright(String copyright) - throws DOMException; - - /** - * See the longdesc attribute from . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getLongdesc(); - public void setLongdesc(String longdesc) - throws DOMException; - - /** - * See the port attribute from . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getPort(); - public void setPort(String port) - throws DOMException; - - /** - * See the readIndex attribute from . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getReadIndex(); - public void setReadIndex(String readIndex) - throws DOMException; - - /** - * See the rtpformat attribute from . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getRtpformat(); - public void setRtpformat(String rtpformat) - throws DOMException; - - /** - * See the src attribute from . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getSrc(); - public void setSrc(String src) - throws DOMException; - - /** - * See the stripRepeat attribute from . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getStripRepeat(); - public void setStripRepeat(String stripRepeat) - throws DOMException; - - /** - * See the title attribute from . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getTitle(); - public void setTitle(String title) - throws DOMException; - - /** - * See the transport attribute from . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getTransport(); - public void setTransport(String transport) - throws DOMException; - - /** - * See the type attribute from . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getType(); - public void setType(String type) - throws DOMException; - -} - diff --git a/src/main/java/org/w3c/dom/smil/SMILRefElement.java b/src/main/java/org/w3c/dom/smil/SMILRefElement.java deleted file mode 100644 index adeb2b3..0000000 --- a/src/main/java/org/w3c/dom/smil/SMILRefElement.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -/** - * // audio, video, ... - */ -public interface SMILRefElement extends SMILMediaElement { -} - diff --git a/src/main/java/org/w3c/dom/smil/SMILRegionElement.java b/src/main/java/org/w3c/dom/smil/SMILRegionElement.java deleted file mode 100644 index 927fb40..0000000 --- a/src/main/java/org/w3c/dom/smil/SMILRegionElement.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -import org.w3c.dom.DOMException; - -/** - * Controls the position, size and scaling of media object elements. See the - * region element definition . - */ -public interface SMILRegionElement extends SMILElement, ElementLayout { - /** - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getFit(); - public void setFit(String fit) - throws DOMException; - - /** - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public String getTop(); - public void setTop(String top) - throws DOMException; - - /** - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised if this attribute is readonly. - */ - public int getZIndex(); - public void setZIndex(int zIndex) - throws DOMException; - -} - diff --git a/src/main/java/org/w3c/dom/smil/SMILRegionInterface.java b/src/main/java/org/w3c/dom/smil/SMILRegionInterface.java deleted file mode 100644 index b5e43c3..0000000 --- a/src/main/java/org/w3c/dom/smil/SMILRegionInterface.java +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -/** - * Declares rendering surface for an element. See the region attribute - * definition . - */ -public interface SMILRegionInterface { - /** - */ - public SMILRegionElement getRegion(); - public void setRegion(SMILRegionElement region); - -} - diff --git a/src/main/java/org/w3c/dom/smil/SMILRootLayoutElement.java b/src/main/java/org/w3c/dom/smil/SMILRootLayoutElement.java deleted file mode 100644 index 327ecd6..0000000 --- a/src/main/java/org/w3c/dom/smil/SMILRootLayoutElement.java +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -/** - * Declares layout properties for the root-layout element. See the - * root-layout element definition . - */ -public interface SMILRootLayoutElement extends SMILElement, ElementLayout { -} - diff --git a/src/main/java/org/w3c/dom/smil/SMILSetElement.java b/src/main/java/org/w3c/dom/smil/SMILSetElement.java deleted file mode 100644 index 8e0b1b7..0000000 --- a/src/main/java/org/w3c/dom/smil/SMILSetElement.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -/** - * This interface represents the set element. - */ -public interface SMILSetElement extends ElementTimeControl, ElementTime, ElementTargetAttributes, SMILElement { - /** - * Specifies the value for the attribute during the duration of this - * element. - */ - public String getTo(); - public void setTo(String to); - -} - diff --git a/src/main/java/org/w3c/dom/smil/SMILSwitchElement.java b/src/main/java/org/w3c/dom/smil/SMILSwitchElement.java deleted file mode 100644 index 27abb91..0000000 --- a/src/main/java/org/w3c/dom/smil/SMILSwitchElement.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -import org.w3c.dom.Element; - -/** - * Defines a block of content control. See the switch element definition . - */ -public interface SMILSwitchElement extends SMILElement { - /** - * Returns the slected element at runtime. <code>null</code> if the - * selected element is not yet available. - * @return The selected <code>Element</code> for thisd <code>switch</code> - * element. - */ - public Element getSelectedElement(); - -} - diff --git a/src/main/java/org/w3c/dom/smil/SMILTopLayoutElement.java b/src/main/java/org/w3c/dom/smil/SMILTopLayoutElement.java deleted file mode 100644 index 2621419..0000000 --- a/src/main/java/org/w3c/dom/smil/SMILTopLayoutElement.java +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -/** - * Declares layout properties for the top-layout element. See the top-layout - * element definition . - */ -public interface SMILTopLayoutElement extends SMILElement, ElementLayout { -} - diff --git a/src/main/java/org/w3c/dom/smil/Time.java b/src/main/java/org/w3c/dom/smil/Time.java deleted file mode 100644 index 72fe086..0000000 --- a/src/main/java/org/w3c/dom/smil/Time.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -import org.w3c.dom.DOMException; -import org.w3c.dom.Element; - -/** - * The <code>Time</code> interface is a datatype that represents times within - * the timegraph. A <code>Time</code> has a type, key values to describe the - * time, and a boolean to indicate whether the values are currently - * unresolved. Still need to address the wallclock values. - */ -public interface Time { - /** - * A boolean indicating whether the current <code>Time</code> has been - * fully resolved to the document schedule. Note that for this to be - * true, the current <code>Time</code> must be defined (not indefinite), - * the syncbase and all <code>Time</code> 's that the syncbase depends on - * must be defined (not indefinite), and the begin <code>Time</code> of - * all ascendent time containers of this element and all <code>Time</code> - * elements that this depends upon must be defined (not indefinite). - * <br> If this <code>Time</code> is based upon an event, this - * <code>Time</code> will only be resolved once the specified event has - * happened, subject to the constraints of the time container. - * <br> Note that this may change from true to false when the parent time - * container ends its simple duration (including when it repeats or - * restarts). - */ - public boolean getResolved(); - - /** - * The clock value in seconds relative to the parent time container begin. - * This indicates the resolved time relationship to the parent time - * container. This is only valid if resolved is true. - */ - public double getResolvedOffset(); - - // TimeTypes - public static final short SMIL_TIME_INDEFINITE = 0; - public static final short SMIL_TIME_OFFSET = 1; - public static final short SMIL_TIME_SYNC_BASED = 2; - public static final short SMIL_TIME_EVENT_BASED = 3; - public static final short SMIL_TIME_WALLCLOCK = 4; - public static final short SMIL_TIME_MEDIA_MARKER = 5; - - /** - * A code representing the type of the underlying object, as defined - * above. - */ - public short getTimeType(); - - /** - * The clock value in seconds relative to the syncbase or eventbase. - * Default value is <code>0</code> . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised on attempts to modify this - * readonly attribute. - */ - public double getOffset(); - public void setOffset(double offset) - throws DOMException; - - /** - * The base element for a sync-based or event-based time. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised on attempts to modify this - * readonly attribute. - */ - public Element getBaseElement(); - public void setBaseElement(Element baseElement) - throws DOMException; - - /** - * If <code>true</code> , indicates that a sync-based time is relative to - * the begin of the baseElement. If <code>false</code> , indicates that a - * sync-based time is relative to the active end of the baseElement. - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised on attempts to modify this - * readonly attribute. - */ - public boolean getBaseBegin(); - public void setBaseBegin(boolean baseBegin) - throws DOMException; - - /** - * The name of the event for an event-based time. Default value is - * <code>null</code> . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised on attempts to modify this - * readonly attribute. - */ - public String getEvent(); - public void setEvent(String event) - throws DOMException; - - /** - * The name of the marker from the media element, for media marker times. - * Default value is <code>null</code> . - * @exception DOMException - * NO_MODIFICATION_ALLOWED_ERR: Raised on attempts to modify this - * readonly attribute. - */ - public String getMarker(); - public void setMarker(String marker) - throws DOMException; - -} - diff --git a/src/main/java/org/w3c/dom/smil/TimeEvent.java b/src/main/java/org/w3c/dom/smil/TimeEvent.java deleted file mode 100644 index a79c4ca..0000000 --- a/src/main/java/org/w3c/dom/smil/TimeEvent.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -import org.w3c.dom.events.Event; -import org.w3c.dom.views.AbstractView; - -/** - * The <code>TimeEvent</code> interface provides specific contextual - * information associated with Time events. - */ -public interface TimeEvent extends Event { - /** - * The <code>view</code> attribute identifies the - * <code>AbstractView</code> from which the event was generated. - */ - public AbstractView getView(); - - /** - * Specifies some detail information about the <code>Event</code> , - * depending on the type of event. - */ - public int getDetail(); - - /** - * The <code>initTimeEvent</code> method is used to initialize the value - * of a <code>TimeEvent</code> created through the - * <code>DocumentEvent</code> interface. This method may only be called - * before the <code>TimeEvent</code> has been dispatched via the - * <code>dispatchEvent</code> method, though it may be called multiple - * times during that phase if necessary. If called multiple times, the - * final invocation takes precedence. - * @param typeArg Specifies the event type. - * @param viewArg Specifies the <code>Event</code> 's - * <code>AbstractView</code> . - * @param detailArg Specifies the <code>Event</code> 's detail. - */ - public void initTimeEvent(String typeArg, - AbstractView viewArg, - int detailArg); - -} - diff --git a/src/main/java/org/w3c/dom/smil/TimeList.java b/src/main/java/org/w3c/dom/smil/TimeList.java deleted file mode 100644 index 7cec133..0000000 --- a/src/main/java/org/w3c/dom/smil/TimeList.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) 2000 World Wide Web Consortium, - * (Massachusetts Institute of Technology, Institut National de - * Recherche en Informatique et en Automatique, Keio University). All - * Rights Reserved. This program is distributed under the W3C's Software - * Intellectual Property License. This program is distributed in the - * hope that it will be useful, but WITHOUT ANY WARRANTY; without even - * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more - * details. - */ - -package org.w3c.dom.smil; - -/** - * The <code>TimeList</code> interface provides the abstraction of an ordered - * collection of times, without defining or constraining how this collection - * is implemented. - * <p> The items in the <code>TimeList</code> are accessible via an integral - * index, starting from 0. - */ -public interface TimeList { - /** - * Returns the <code>index</code> th item in the collection. If - * <code>index</code> is greater than or equal to the number of times in - * the list, this returns <code>null</code> . - * @param index Index into the collection. - * @return The time at the <code>index</code> th position in the - * <code>TimeList</code> , or <code>null</code> if that is not a valid - * index. - */ - public Time item(int index); - - /** - * The number of times in the list. The range of valid child time indices - * is 0 to <code>length-1</code> inclusive. - */ - public int getLength(); - -} - |