previous   next   contents   index

WD-smil-boston-dom-19991115

Appendix B: Java Language Binding

This appendix contains the complete Java bindings for the SYMM Object Model. The definitions are divided into SMIL.

The Java files are also available as http://www.w3.org/TR/1999/WD-smil-boston-dom-19991115/java-binding.zip

B.1: SMIL Document Object Model

org/w3c/dom/smil/SMILDocument.java:

package org.w3c.dom.smil;

import org.w3c.dom.Document;

public interface SMILDocument extends Document {
}

org/w3c/dom/smil/SMILElement.java:

package org.w3c.dom.smil;

import org.w3c.dom.DOMException;
import org.w3c.dom.Element;

public interface SMILElement extends Element {
  public String             getId();
  public void               setId(String id)
 throws DOMException;
}

org/w3c/dom/smil/SMILMetaElement.java:

package org.w3c.dom.smil;

import org.w3c.dom.DOMException;

public interface SMILMetaElement extends SMILElement {
  public String             getContent();
  public void               setContent(String content)
 throws DOMException;
  public String             getName();
  public void               setName(String name)
 throws DOMException;
  public String             getSkipContent();
  public void               setSkipContent(String skipContent)
 throws DOMException;
}

org/w3c/dom/smil/SMILLayoutElement.java:

package org.w3c.dom.smil;

import org.w3c.dom.DOMException;

public interface SMILLayoutElement extends SMILElement {
  public String             getType();
  public void               setType(String type)
 throws DOMException;
}

org/w3c/dom/smil/SMILRootLayoutElement.java:

package org.w3c.dom.smil;

import org.w3c.dom.DOMException;

public interface SMILRootLayoutElement extends SMILElement {
  public String             getTitle();
  public void               setTitle(String title)
 throws DOMException;
  public String             getSkipContent();
  public void               setSkipContent(String skipContent)
 throws DOMException;
  public String             getBackgroundColor();
  public void               setBackgroundColor(String backgroundColor)
 throws DOMException;
  public int                getHeight();
  public void               setHeight(int height)
 throws DOMException;
  public int                getWidth();
  public void               setWidth(int width)
 throws DOMException;
}

org/w3c/dom/smil/SMILRegionElement.java:

package org.w3c.dom.smil;

import org.w3c.dom.DOMException;

public interface SMILRegionElement extends SMILElement {
  public String             getTitle();
  public void               setTitle(String title)
 throws DOMException;
  public String             getSkipContent();
  public void               setSkipContent(String skipContent)
 throws DOMException;
  public String             getFit();
  public void               setFit(String fit)
 throws DOMException;
  public String             getBackgroundColor();
  public void               setBackgroundColor(String backgroundColor)
 throws DOMException;
  public int                getHeight();
  public void               setHeight(int height)
 throws DOMException;
  public int                getWidth();
  public void               setWidth(int width)
 throws DOMException;
  public String             getTop();
  public void               setTop(String top)
 throws DOMException;
  public int                getZIndex();
  public void               setZIndex(int zIndex)
 throws DOMException;
}

org/w3c/dom/smil/SMILRegionInterface.java:

package org.w3c.dom.smil;

public interface SMILRegionInterface {
  public SMILRegionElement  getRegion();
  public void               setRegion(SMILRegionElement region);
}

org/w3c/dom/smil/Time.java:

package org.w3c.dom.smil;

import org.w3c.dom.DOMException;
import org.w3c.dom.Element;

public interface Time {
  public boolean            getResolved();
  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;

  public short              getTimeType();
  public double             getOffset();
  public void               setOffset(double offset)
 throws DOMException;
  public Element            getBaseElement();
  public void               setBaseElement(Element baseElement)
 throws DOMException;
  public boolean            getBaseBegin();
  public void               setBaseBegin(boolean baseBegin)
 throws DOMException;
  public String             getEvent();
  public void               setEvent(String event)
 throws DOMException;
  public String             getMarker();
  public void               setMarker(String marker)
 throws DOMException;
}

org/w3c/dom/smil/TimeList.java:

package org.w3c.dom.smil;

public interface TimeList {
  public Time               item(int index);
  public int                getLength();
}

org/w3c/dom/smil/ElementTime.java:

package org.w3c.dom.smil;

import org.w3c.dom.DOMException;

public interface ElementTime {
  public TimeList           getBegin();
  public void               setBegin(TimeList begin)
                                 throws DOMException;
  public TimeList           getEnd();
  public void               setEnd(TimeList end)
                                 throws DOMException;
  public float              getDur();
  public void               setDur(float dur)
                                 throws DOMException;
  public float              getRepeatCount();
  public void               setRepeatCount(float repeatCount)
                                 throws DOMException;
  public int                getRepeatDur();
  public void               setRepeatDur(int repeatDur)
                                 throws DOMException;
  public boolean            beginElement();
  public boolean            endElement();
  public void               pauseElement();
  public void               resumeElement();
  public void               seekElement(String seekTo);
}

org/w3c/dom/smil/ElementTimeManipulation.java:

package org.w3c.dom.smil;

import org.w3c.dom.DOMException;

public interface ElementTimeManipulation {
  public float              getSpeed();
  public void               setSpeed(float speed)
                                        throws DOMException;
  public float              getAccelerate();
  public void               setAccelerate(float accelerate)
                                        throws DOMException;
  public float              getDecelerate();
  public void               setDecelerate(float decelerate)
                                        throws DOMException;
  public boolean            getAutoReverse();
  public void               setAutoReverse(boolean autoReverse)
                                        throws DOMException;
}

org/w3c/dom/smil/ElementTimeSynchronization.java:

package org.w3c.dom.smil;

public interface ElementTimeSynchronization {
  public String             getSyncBehavior();
  public float              getSyncTolerance();
  public String             getDefaultSyncBehavior();
  public float              getDefaultSyncTolerance();
  public boolean            getSyncMaster();
}

org/w3c/dom/smil/ElementTimeContainer.java:

package org.w3c.dom.smil;

import org.w3c.dom.NodeList;

public interface ElementTimeContainer extends ElementTime {
  public NodeList           getTimeChildrens();
  public NodeList           getActiveChildrenAt(String instant);
}

org/w3c/dom/smil/ElementParallelTimeContainer.java:

package org.w3c.dom.smil;

import org.w3c.dom.DOMException;

public interface ElementParallelTimeContainer extends ElementTimeContainer {
  public String             getEndSync();
  public void               setEndSync(String endSync)
                                                throws DOMException;
}

org/w3c/dom/smil/ElementSequentialTimeContainer.java:

package org.w3c.dom.smil;

public interface ElementSequentialTimeContainer extends ElementTimeContainer {
}

org/w3c/dom/smil/ElementExclusiveTimeContainer.java:

package org.w3c.dom.smil;

import org.w3c.dom.DOMException;

public interface ElementExclusiveTimeContainer extends ElementTimeContainer {
  public String             getEndSync();
  public void               setEndSync(String endSync)
                                                throws DOMException;
}

org/w3c/dom/smil/SMILMediaElement.java:

package org.w3c.dom.smil;

import org.w3c.dom.DOMException;

public interface SMILMediaElement extends ElementTime, SMILElement {
  public String             getAbstractAttr();
  public void               setAbstractAttr(String abstractAttr)
                                                throws DOMException;
  public String             getAlt();
  public void               setAlt(String alt)
                                                throws DOMException;
  public String             getAuthor();
  public void               setAuthor(String author)
                                                throws DOMException;
  public String             getClipBegin();
  public void               setClipBegin(String clipBegin)
                                                throws DOMException;
  public String             getClipEnd();
  public void               setClipEnd(String clipEnd)
                                                throws DOMException;
  public String             getCopyright();
  public void               setCopyright(String copyright)
                                                throws DOMException;
  public String             getLongdesc();
  public void               setLongdesc(String longdesc)
                                                throws DOMException;
  public String             getSrc();
  public void               setSrc(String src)
                                                throws DOMException;
  public String             getTitle();
  public void               setTitle(String title)
                                                throws DOMException;
  public String             getType();
  public void               setType(String type)
                                                throws DOMException;
}

org/w3c/dom/smil/SMILRefElement.java:

package org.w3c.dom.smil;

public interface SMILRefElement extends SMILMediaElement {
}

org/w3c/dom/smil/ElementTimeControl.java:

package org.w3c.dom.smil;

import org.w3c.dom.DOMException;

public interface ElementTimeControl {
  public boolean            beginElement()
                                         throws DOMException;
  public boolean            endElement()
                                       throws DOMException;
}

org/w3c/dom/smil/ElementAnimation.java:

package org.w3c.dom.smil;

import org.w3c.dom.DOMException;
import org.w3c.dom.Element;

public interface ElementAnimation extends ElementTime, ElementTimeControl {
  public Element            getTargetElement();
  public void               setTargetElement(Element targetElement)
                                       throws DOMException;
  public String             getHref();
  public void               setHref(String href)
                                       throws DOMException;
}

org/w3c/dom/smil/SMILAnimateElement.java:

package org.w3c.dom.smil;

import org.w3c.dom.DOMException;

public interface SMILAnimateElement extends ElementAnimation, SMILElement {
  public TimeList           getKeyTimes();
  public void               setKeyTimes(TimeList keyTimes)
                                       throws DOMException;
  public TimeList           getKeySplines();
  public void               setKeySplines(TimeList keySplines)
                                       throws DOMException;
}

org/w3c/dom/smil/SMILSetElement.java:

package org.w3c.dom.smil;

public interface SMILSetElement extends ElementAnimation, SMILElement {
}

org/w3c/dom/smil/SMILAnimateMotionElement.java:

package org.w3c.dom.smil;

import org.w3c.dom.DOMException;

public interface SMILAnimateMotionElement extends SMILAnimateElement {
  public String             getPath();
  public void               setPath(String path)
                                       throws DOMException;
  public String             getOrigin();
  public void               setOrigin(String origin)
                                       throws DOMException;
}

org/w3c/dom/smil/SMILSwitchElement.java:

package org.w3c.dom.smil;

import org.w3c.dom.DOMException;

public interface SMILSwitchElement extends SMILElement {
  public String             getTitle();
  public void               setTitle(String title)
                                       throws DOMException;
}

org/w3c/dom/smil/ElementTest.java:

package org.w3c.dom.smil;

import org.w3c.dom.DOMException;

public interface ElementTest {
  public String             getSystemBitrate();
  public void               setSystemBitrate(String systemBitrate)
                                       throws DOMException;
  public String             getSystemCaptions();
  public void               setSystemCaptions(String systemCaptions)
                                       throws DOMException;
  public String             getSystemLanguage();
  public void               setSystemLanguage(String systemLanguage)
                                       throws DOMException;
  public String             getSystemOverdubOrCaption();
  public void               setSystemOverdubOrCaption(String systemOverdubOrCaption)
                                       throws DOMException;
  public String             getSystemRequired();
  public void               setSystemRequired(String systemRequired)
                                       throws DOMException;
  public String             getSystemScreenSize();
  public void               setSystemScreenSize(String systemScreenSize)
                                       throws DOMException;
  public String             getSystemScreenDepth();
  public void               setSystemScreenDepth(String systemScreenDepth)
                                       throws DOMException;
}


previous   next   contents   index