summaryrefslogtreecommitdiffstats
path: root/src/bind/java/org/w3c/dom/smil
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2008-03-14 21:00:04 +0000
committerishmal <ishmal@users.sourceforge.net>2008-03-14 21:00:04 +0000
commitb9984262c96bb76dfc371ed4ec0829f1cc164f4b (patch)
treefb6eac24e34ad1a04e90efdc03968ddfc6d494ff /src/bind/java/org/w3c/dom/smil
parentcalligraphic profiles are now read from the preferences (diff)
downloadinkscape-b9984262c96bb76dfc371ed4ec0829f1cc164f4b.tar.gz
inkscape-b9984262c96bb76dfc371ed4ec0829f1cc164f4b.zip
Add w3c svg-dom and smil-dom java interfaces
(bzr r5089)
Diffstat (limited to 'src/bind/java/org/w3c/dom/smil')
-rw-r--r--src/bind/java/org/w3c/dom/smil/ElementExclusiveTimeContainer.java41
-rw-r--r--src/bind/java/org/w3c/dom/smil/ElementLayout.java55
-rw-r--r--src/bind/java/org/w3c/dom/smil/ElementParallelTimeContainer.java40
-rw-r--r--src/bind/java/org/w3c/dom/smil/ElementSequentialTimeContainer.java21
-rw-r--r--src/bind/java/org/w3c/dom/smil/ElementSyncBehavior.java49
-rw-r--r--src/bind/java/org/w3c/dom/smil/ElementTargetAttributes.java38
-rw-r--r--src/bind/java/org/w3c/dom/smil/ElementTest.java83
-rw-r--r--src/bind/java/org/w3c/dom/smil/ElementTime.java150
-rw-r--r--src/bind/java/org/w3c/dom/smil/ElementTimeContainer.java39
-rw-r--r--src/bind/java/org/w3c/dom/smil/ElementTimeControl.java103
-rw-r--r--src/bind/java/org/w3c/dom/smil/ElementTimeManipulation.java75
-rw-r--r--src/bind/java/org/w3c/dom/smil/SMILAnimateColorElement.java20
-rw-r--r--src/bind/java/org/w3c/dom/smil/SMILAnimateElement.java20
-rw-r--r--src/bind/java/org/w3c/dom/smil/SMILAnimateMotionElement.java41
-rw-r--r--src/bind/java/org/w3c/dom/smil/SMILAnimation.java124
-rw-r--r--src/bind/java/org/w3c/dom/smil/SMILDocument.java28
-rw-r--r--src/bind/java/org/w3c/dom/smil/SMILElement.java40
-rw-r--r--src/bind/java/org/w3c/dom/smil/SMILLayoutElement.java33
-rw-r--r--src/bind/java/org/w3c/dom/smil/SMILMediaElement.java157
-rw-r--r--src/bind/java/org/w3c/dom/smil/SMILRefElement.java20
-rw-r--r--src/bind/java/org/w3c/dom/smil/SMILRegionElement.java47
-rw-r--r--src/bind/java/org/w3c/dom/smil/SMILRegionInterface.java26
-rw-r--r--src/bind/java/org/w3c/dom/smil/SMILRootLayoutElement.java21
-rw-r--r--src/bind/java/org/w3c/dom/smil/SMILSetElement.java27
-rw-r--r--src/bind/java/org/w3c/dom/smil/SMILSwitchElement.java30
-rw-r--r--src/bind/java/org/w3c/dom/smil/SMILTopLayoutElement.java21
-rw-r--r--src/bind/java/org/w3c/dom/smil/Time.java119
-rw-r--r--src/bind/java/org/w3c/dom/smil/TimeEvent.java53
-rw-r--r--src/bind/java/org/w3c/dom/smil/TimeList.java41
29 files changed, 1562 insertions, 0 deletions
diff --git a/src/bind/java/org/w3c/dom/smil/ElementExclusiveTimeContainer.java b/src/bind/java/org/w3c/dom/smil/ElementExclusiveTimeContainer.java
new file mode 100644
index 000000000..84c7a14b4
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/ElementExclusiveTimeContainer.java
@@ -0,0 +1,41 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/ElementLayout.java b/src/bind/java/org/w3c/dom/smil/ElementLayout.java
new file mode 100644
index 000000000..7f3128fae
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/ElementLayout.java
@@ -0,0 +1,55 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/ElementParallelTimeContainer.java b/src/bind/java/org/w3c/dom/smil/ElementParallelTimeContainer.java
new file mode 100644
index 000000000..a796bc7be
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/ElementParallelTimeContainer.java
@@ -0,0 +1,40 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/ElementSequentialTimeContainer.java b/src/bind/java/org/w3c/dom/smil/ElementSequentialTimeContainer.java
new file mode 100644
index 000000000..bca584164
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/ElementSequentialTimeContainer.java
@@ -0,0 +1,21 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/ElementSyncBehavior.java b/src/bind/java/org/w3c/dom/smil/ElementSyncBehavior.java
new file mode 100644
index 000000000..e75feccc0
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/ElementSyncBehavior.java
@@ -0,0 +1,49 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/ElementTargetAttributes.java b/src/bind/java/org/w3c/dom/smil/ElementTargetAttributes.java
new file mode 100644
index 000000000..23a37b638
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/ElementTargetAttributes.java
@@ -0,0 +1,38 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/ElementTest.java b/src/bind/java/org/w3c/dom/smil/ElementTest.java
new file mode 100644
index 000000000..78fe497d5
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/ElementTest.java
@@ -0,0 +1,83 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/ElementTime.java b/src/bind/java/org/w3c/dom/smil/ElementTime.java
new file mode 100644
index 000000000..715d46ac9
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/ElementTime.java
@@ -0,0 +1,150 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/ElementTimeContainer.java b/src/bind/java/org/w3c/dom/smil/ElementTimeContainer.java
new file mode 100644
index 000000000..69b39e820
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/ElementTimeContainer.java
@@ -0,0 +1,39 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/ElementTimeControl.java b/src/bind/java/org/w3c/dom/smil/ElementTimeControl.java
new file mode 100644
index 000000000..e546b3609
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/ElementTimeControl.java
@@ -0,0 +1,103 @@
+/*
+ * 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 &gt;= 0, the semantics are
+ * equivalent to an event-base begin with the specified offset. If the
+ * offset is &lt; 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 &gt;= 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/bind/java/org/w3c/dom/smil/ElementTimeManipulation.java b/src/bind/java/org/w3c/dom/smil/ElementTimeManipulation.java
new file mode 100644
index 000000000..bb83326e6
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/ElementTimeManipulation.java
@@ -0,0 +1,75 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/SMILAnimateColorElement.java b/src/bind/java/org/w3c/dom/smil/SMILAnimateColorElement.java
new file mode 100644
index 000000000..9bd9d13a6
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/SMILAnimateColorElement.java
@@ -0,0 +1,20 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/SMILAnimateElement.java b/src/bind/java/org/w3c/dom/smil/SMILAnimateElement.java
new file mode 100644
index 000000000..9393e00c5
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/SMILAnimateElement.java
@@ -0,0 +1,20 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/SMILAnimateMotionElement.java b/src/bind/java/org/w3c/dom/smil/SMILAnimateMotionElement.java
new file mode 100644
index 000000000..6a140ad9f
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/SMILAnimateMotionElement.java
@@ -0,0 +1,41 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/SMILAnimation.java b/src/bind/java/org/w3c/dom/smil/SMILAnimation.java
new file mode 100644
index 000000000..8615dfaeb
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/SMILAnimation.java
@@ -0,0 +1,124 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/SMILDocument.java b/src/bind/java/org/w3c/dom/smil/SMILDocument.java
new file mode 100644
index 000000000..5f54dd329
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/SMILDocument.java
@@ -0,0 +1,28 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/SMILElement.java b/src/bind/java/org/w3c/dom/smil/SMILElement.java
new file mode 100644
index 000000000..748de23fc
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/SMILElement.java
@@ -0,0 +1,40 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/SMILLayoutElement.java b/src/bind/java/org/w3c/dom/smil/SMILLayoutElement.java
new file mode 100644
index 000000000..2d6136db3
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/SMILLayoutElement.java
@@ -0,0 +1,33 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/SMILMediaElement.java b/src/bind/java/org/w3c/dom/smil/SMILMediaElement.java
new file mode 100644
index 000000000..d6a2d2de2
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/SMILMediaElement.java
@@ -0,0 +1,157 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/SMILRefElement.java b/src/bind/java/org/w3c/dom/smil/SMILRefElement.java
new file mode 100644
index 000000000..adeb2b354
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/SMILRefElement.java
@@ -0,0 +1,20 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/SMILRegionElement.java b/src/bind/java/org/w3c/dom/smil/SMILRegionElement.java
new file mode 100644
index 000000000..927fb4007
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/SMILRegionElement.java
@@ -0,0 +1,47 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/SMILRegionInterface.java b/src/bind/java/org/w3c/dom/smil/SMILRegionInterface.java
new file mode 100644
index 000000000..b5e43c3b2
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/SMILRegionInterface.java
@@ -0,0 +1,26 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/SMILRootLayoutElement.java b/src/bind/java/org/w3c/dom/smil/SMILRootLayoutElement.java
new file mode 100644
index 000000000..327ecd6b2
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/SMILRootLayoutElement.java
@@ -0,0 +1,21 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/SMILSetElement.java b/src/bind/java/org/w3c/dom/smil/SMILSetElement.java
new file mode 100644
index 000000000..8e0b1b72f
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/SMILSetElement.java
@@ -0,0 +1,27 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/SMILSwitchElement.java b/src/bind/java/org/w3c/dom/smil/SMILSwitchElement.java
new file mode 100644
index 000000000..27abb91cf
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/SMILSwitchElement.java
@@ -0,0 +1,30 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/SMILTopLayoutElement.java b/src/bind/java/org/w3c/dom/smil/SMILTopLayoutElement.java
new file mode 100644
index 000000000..26214191b
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/SMILTopLayoutElement.java
@@ -0,0 +1,21 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/Time.java b/src/bind/java/org/w3c/dom/smil/Time.java
new file mode 100644
index 000000000..72fe08668
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/Time.java
@@ -0,0 +1,119 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/TimeEvent.java b/src/bind/java/org/w3c/dom/smil/TimeEvent.java
new file mode 100644
index 000000000..a79c4ca05
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/TimeEvent.java
@@ -0,0 +1,53 @@
+/*
+ * 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/bind/java/org/w3c/dom/smil/TimeList.java b/src/bind/java/org/w3c/dom/smil/TimeList.java
new file mode 100644
index 000000000..7cec133fa
--- /dev/null
+++ b/src/bind/java/org/w3c/dom/smil/TimeList.java
@@ -0,0 +1,41 @@
+/*
+ * 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();
+
+}
+