diff options
Diffstat (limited to 'src/main/java/org')
190 files changed, 3957 insertions, 0 deletions
diff --git a/src/main/java/org/w3c/dom/smil/COPYRIGHT.html b/src/main/java/org/w3c/dom/smil/COPYRIGHT.html new file mode 100644 index 0000000..26049b7 --- /dev/null +++ b/src/main/java/org/w3c/dom/smil/COPYRIGHT.html @@ -0,0 +1,100 @@ +<!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 new file mode 100644 index 0000000..84c7a14 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/ElementLayout.java b/src/main/java/org/w3c/dom/smil/ElementLayout.java new file mode 100644 index 0000000..7f3128f --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/ElementParallelTimeContainer.java b/src/main/java/org/w3c/dom/smil/ElementParallelTimeContainer.java new file mode 100644 index 0000000..a796bc7 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/ElementSequentialTimeContainer.java b/src/main/java/org/w3c/dom/smil/ElementSequentialTimeContainer.java new file mode 100644 index 0000000..bca5841 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/ElementSyncBehavior.java b/src/main/java/org/w3c/dom/smil/ElementSyncBehavior.java new file mode 100644 index 0000000..e75fecc --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/ElementTargetAttributes.java b/src/main/java/org/w3c/dom/smil/ElementTargetAttributes.java new file mode 100644 index 0000000..23a37b6 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/ElementTest.java b/src/main/java/org/w3c/dom/smil/ElementTest.java new file mode 100644 index 0000000..78fe497 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/ElementTime.java b/src/main/java/org/w3c/dom/smil/ElementTime.java new file mode 100644 index 0000000..715d46a --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/ElementTimeContainer.java b/src/main/java/org/w3c/dom/smil/ElementTimeContainer.java new file mode 100644 index 0000000..69b39e8 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/ElementTimeControl.java b/src/main/java/org/w3c/dom/smil/ElementTimeControl.java new file mode 100644 index 0000000..e546b36 --- /dev/null +++ b/src/main/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 >= 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 new file mode 100644 index 0000000..bb83326 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/SMILAnimateColorElement.java b/src/main/java/org/w3c/dom/smil/SMILAnimateColorElement.java new file mode 100644 index 0000000..9bd9d13 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/SMILAnimateElement.java b/src/main/java/org/w3c/dom/smil/SMILAnimateElement.java new file mode 100644 index 0000000..9393e00 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/SMILAnimateMotionElement.java b/src/main/java/org/w3c/dom/smil/SMILAnimateMotionElement.java new file mode 100644 index 0000000..6a140ad --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/SMILAnimation.java b/src/main/java/org/w3c/dom/smil/SMILAnimation.java new file mode 100644 index 0000000..8615dfa --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/SMILDocument.java b/src/main/java/org/w3c/dom/smil/SMILDocument.java new file mode 100644 index 0000000..5f54dd3 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/SMILElement.java b/src/main/java/org/w3c/dom/smil/SMILElement.java new file mode 100644 index 0000000..748de23 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/SMILLayoutElement.java b/src/main/java/org/w3c/dom/smil/SMILLayoutElement.java new file mode 100644 index 0000000..2d6136d --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/SMILMediaElement.java b/src/main/java/org/w3c/dom/smil/SMILMediaElement.java new file mode 100644 index 0000000..d6a2d2d --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/SMILRefElement.java b/src/main/java/org/w3c/dom/smil/SMILRefElement.java new file mode 100644 index 0000000..adeb2b3 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/SMILRegionElement.java b/src/main/java/org/w3c/dom/smil/SMILRegionElement.java new file mode 100644 index 0000000..927fb40 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/SMILRegionInterface.java b/src/main/java/org/w3c/dom/smil/SMILRegionInterface.java new file mode 100644 index 0000000..b5e43c3 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/SMILRootLayoutElement.java b/src/main/java/org/w3c/dom/smil/SMILRootLayoutElement.java new file mode 100644 index 0000000..327ecd6 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/SMILSetElement.java b/src/main/java/org/w3c/dom/smil/SMILSetElement.java new file mode 100644 index 0000000..8e0b1b7 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/SMILSwitchElement.java b/src/main/java/org/w3c/dom/smil/SMILSwitchElement.java new file mode 100644 index 0000000..27abb91 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/SMILTopLayoutElement.java b/src/main/java/org/w3c/dom/smil/SMILTopLayoutElement.java new file mode 100644 index 0000000..2621419 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/Time.java b/src/main/java/org/w3c/dom/smil/Time.java new file mode 100644 index 0000000..72fe086 --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/TimeEvent.java b/src/main/java/org/w3c/dom/smil/TimeEvent.java new file mode 100644 index 0000000..a79c4ca --- /dev/null +++ b/src/main/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/main/java/org/w3c/dom/smil/TimeList.java b/src/main/java/org/w3c/dom/smil/TimeList.java new file mode 100644 index 0000000..7cec133 --- /dev/null +++ b/src/main/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(); + +} + diff --git a/src/main/java/org/w3c/dom/svg/GetSVGDocument.java b/src/main/java/org/w3c/dom/svg/GetSVGDocument.java new file mode 100644 index 0000000..29b5f82 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/GetSVGDocument.java @@ -0,0 +1,9 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface GetSVGDocument {
+ public SVGDocument getSVGDocument ( )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAElement.java b/src/main/java/org/w3c/dom/svg/SVGAElement.java new file mode 100644 index 0000000..9a143c3 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAElement.java @@ -0,0 +1,16 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGAElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+ public SVGAnimatedString getTarget( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAltGlyphDefElement.java b/src/main/java/org/w3c/dom/svg/SVGAltGlyphDefElement.java new file mode 100644 index 0000000..84a22b5 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAltGlyphDefElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGAltGlyphDefElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAltGlyphElement.java b/src/main/java/org/w3c/dom/svg/SVGAltGlyphElement.java new file mode 100644 index 0000000..21f28dd --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAltGlyphElement.java @@ -0,0 +1,15 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGAltGlyphElement extends
+ SVGTextPositioningElement,
+ SVGURIReference {
+ public String getGlyphRef( );
+ public void setGlyphRef( String glyphRef )
+ throws DOMException;
+ public String getFormat( );
+ public void setFormat( String format )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAltGlyphItemElement.java b/src/main/java/org/w3c/dom/svg/SVGAltGlyphItemElement.java new file mode 100644 index 0000000..07ea085 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAltGlyphItemElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGAltGlyphItemElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAngle.java b/src/main/java/org/w3c/dom/svg/SVGAngle.java new file mode 100644 index 0000000..e785d37 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAngle.java @@ -0,0 +1,26 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+public interface SVGAngle {
+ // Angle Unit Types
+ public static final short SVG_ANGLETYPE_UNKNOWN = 0;
+ public static final short SVG_ANGLETYPE_UNSPECIFIED = 1;
+ public static final short SVG_ANGLETYPE_DEG = 2;
+ public static final short SVG_ANGLETYPE_RAD = 3;
+ public static final short SVG_ANGLETYPE_GRAD = 4;
+
+ public short getUnitType( );
+ public float getValue( );
+ public void setValue( float value )
+ throws DOMException;
+ public float getValueInSpecifiedUnits( );
+ public void setValueInSpecifiedUnits( float valueInSpecifiedUnits )
+ throws DOMException;
+ public String getValueAsString( );
+ public void setValueAsString( String valueAsString )
+ throws DOMException;
+
+ public void newValueSpecifiedUnits ( short unitType, float valueInSpecifiedUnits );
+ public void convertToSpecifiedUnits ( short unitType );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimateColorElement.java b/src/main/java/org/w3c/dom/svg/SVGAnimateColorElement.java new file mode 100644 index 0000000..14aca51 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimateColorElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGAnimateColorElement extends
+ SVGAnimationElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimateElement.java b/src/main/java/org/w3c/dom/svg/SVGAnimateElement.java new file mode 100644 index 0000000..02d2e4c --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimateElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGAnimateElement extends
+ SVGAnimationElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimateMotionElement.java b/src/main/java/org/w3c/dom/svg/SVGAnimateMotionElement.java new file mode 100644 index 0000000..eaf71ab --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimateMotionElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGAnimateMotionElement extends
+ SVGAnimationElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimateTransformElement.java b/src/main/java/org/w3c/dom/svg/SVGAnimateTransformElement.java new file mode 100644 index 0000000..38e6f41 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimateTransformElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGAnimateTransformElement extends
+ SVGAnimationElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedAngle.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedAngle.java new file mode 100644 index 0000000..0948e26 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedAngle.java @@ -0,0 +1,7 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedAngle {
+ public SVGAngle getBaseVal( );
+ public SVGAngle getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedBoolean.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedBoolean.java new file mode 100644 index 0000000..5c0ad3b --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedBoolean.java @@ -0,0 +1,10 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+public interface SVGAnimatedBoolean {
+ public boolean getBaseVal( );
+ public void setBaseVal( boolean baseVal )
+ throws DOMException;
+ public boolean getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedEnumeration.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedEnumeration.java new file mode 100644 index 0000000..11cc851 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedEnumeration.java @@ -0,0 +1,10 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+public interface SVGAnimatedEnumeration {
+ public short getBaseVal( );
+ public void setBaseVal( short baseVal )
+ throws DOMException;
+ public short getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedInteger.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedInteger.java new file mode 100644 index 0000000..b64ab55 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedInteger.java @@ -0,0 +1,10 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+public interface SVGAnimatedInteger {
+ public int getBaseVal( );
+ public void setBaseVal( int baseVal )
+ throws DOMException;
+ public int getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedLength.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedLength.java new file mode 100644 index 0000000..1287847 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedLength.java @@ -0,0 +1,7 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedLength {
+ public SVGLength getBaseVal( );
+ public SVGLength getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedLengthList.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedLengthList.java new file mode 100644 index 0000000..15ab022 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedLengthList.java @@ -0,0 +1,7 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedLengthList {
+ public SVGLengthList getBaseVal( );
+ public SVGLengthList getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedNumber.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedNumber.java new file mode 100644 index 0000000..dd555a0 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedNumber.java @@ -0,0 +1,10 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+public interface SVGAnimatedNumber {
+ public float getBaseVal( );
+ public void setBaseVal( float baseVal )
+ throws DOMException;
+ public float getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedNumberList.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedNumberList.java new file mode 100644 index 0000000..00f6961 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedNumberList.java @@ -0,0 +1,7 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedNumberList {
+ public SVGNumberList getBaseVal( );
+ public SVGNumberList getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedPathData.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedPathData.java new file mode 100644 index 0000000..e6c7759 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedPathData.java @@ -0,0 +1,9 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedPathData {
+ public SVGPathSegList getPathSegList( );
+ public SVGPathSegList getNormalizedPathSegList( );
+ public SVGPathSegList getAnimatedPathSegList( );
+ public SVGPathSegList getAnimatedNormalizedPathSegList( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedPoints.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedPoints.java new file mode 100644 index 0000000..0fed4d9 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedPoints.java @@ -0,0 +1,7 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedPoints {
+ public SVGPointList getPoints( );
+ public SVGPointList getAnimatedPoints( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedPreserveAspectRatio.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedPreserveAspectRatio.java new file mode 100644 index 0000000..6708a35 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedPreserveAspectRatio.java @@ -0,0 +1,7 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedPreserveAspectRatio {
+ public SVGPreserveAspectRatio getBaseVal( );
+ public SVGPreserveAspectRatio getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedRect.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedRect.java new file mode 100644 index 0000000..f2f1259 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedRect.java @@ -0,0 +1,7 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedRect {
+ public SVGRect getBaseVal( );
+ public SVGRect getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedString.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedString.java new file mode 100644 index 0000000..4c0c8bb --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedString.java @@ -0,0 +1,10 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+public interface SVGAnimatedString {
+ public String getBaseVal( );
+ public void setBaseVal( String baseVal )
+ throws DOMException;
+ public String getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimatedTransformList.java b/src/main/java/org/w3c/dom/svg/SVGAnimatedTransformList.java new file mode 100644 index 0000000..dc45214 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimatedTransformList.java @@ -0,0 +1,7 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGAnimatedTransformList {
+ public SVGTransformList getBaseVal( );
+ public SVGTransformList getAnimVal( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGAnimationElement.java b/src/main/java/org/w3c/dom/svg/SVGAnimationElement.java new file mode 100644 index 0000000..e9c58b5 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGAnimationElement.java @@ -0,0 +1,20 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+import org.w3c.dom.events.EventTarget;
+import org.w3c.dom.smil.ElementTimeControl;
+
+public interface SVGAnimationElement extends
+ SVGElement,
+ SVGTests,
+ SVGExternalResourcesRequired,
+ ElementTimeControl,
+ EventTarget {
+ public SVGElement getTargetElement( );
+
+ public float getStartTime ( );
+ public float getCurrentTime ( );
+ public float getSimpleDuration ( )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGCSSRule.java b/src/main/java/org/w3c/dom/svg/SVGCSSRule.java new file mode 100644 index 0000000..1d339d1 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGCSSRule.java @@ -0,0 +1,10 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.css.CSSRule;
+
+public interface SVGCSSRule extends
+ CSSRule {
+ // Additional CSS RuleType to support ICC color specifications
+ public static final short COLOR_PROFILE_RULE = 7;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGCircleElement.java b/src/main/java/org/w3c/dom/svg/SVGCircleElement.java new file mode 100644 index 0000000..835c23c --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGCircleElement.java @@ -0,0 +1,17 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGCircleElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+ public SVGAnimatedLength getCx( );
+ public SVGAnimatedLength getCy( );
+ public SVGAnimatedLength getR( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGClipPathElement.java b/src/main/java/org/w3c/dom/svg/SVGClipPathElement.java new file mode 100644 index 0000000..001285d --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGClipPathElement.java @@ -0,0 +1,13 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGClipPathElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ SVGUnitTypes {
+ public SVGAnimatedEnumeration getClipPathUnits( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGColor.java b/src/main/java/org/w3c/dom/svg/SVGColor.java new file mode 100644 index 0000000..1f2b7a5 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGColor.java @@ -0,0 +1,25 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.css.RGBColor;
+import org.w3c.dom.css.CSSValue;
+
+public interface SVGColor extends
+ CSSValue {
+ // Color Types
+ public static final short SVG_COLORTYPE_UNKNOWN = 0;
+ public static final short SVG_COLORTYPE_RGBCOLOR = 1;
+ public static final short SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;
+ public static final short SVG_COLORTYPE_CURRENTCOLOR = 3;
+
+ public short getColorType( );
+ public RGBColor getRGBColor( );
+ public SVGICCColor getICCColor( );
+
+ public void setRGBColor ( String rgbColor )
+ throws SVGException;
+ public void setRGBColorICCColor ( String rgbColor, String iccColor )
+ throws SVGException;
+ public void setColor ( short colorType, String rgbColor, String iccColor )
+ throws SVGException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGColorProfileElement.java b/src/main/java/org/w3c/dom/svg/SVGColorProfileElement.java new file mode 100644 index 0000000..1963331 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGColorProfileElement.java @@ -0,0 +1,19 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGColorProfileElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGRenderingIntent {
+ public String getLocal( );
+ public void setLocal( String local )
+ throws DOMException;
+ public String getName( );
+ public void setName( String name )
+ throws DOMException;
+ public short getRenderingIntent( );
+ public void setRenderingIntent( short renderingIntent )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGColorProfileRule.java b/src/main/java/org/w3c/dom/svg/SVGColorProfileRule.java new file mode 100644 index 0000000..fd87ce3 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGColorProfileRule.java @@ -0,0 +1,18 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGColorProfileRule extends
+ SVGCSSRule,
+ SVGRenderingIntent {
+ public String getSrc( );
+ public void setSrc( String src )
+ throws DOMException;
+ public String getName( );
+ public void setName( String name )
+ throws DOMException;
+ public short getRenderingIntent( );
+ public void setRenderingIntent( short renderingIntent )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGComponentTransferFunctionElement.java b/src/main/java/org/w3c/dom/svg/SVGComponentTransferFunctionElement.java new file mode 100644 index 0000000..91fa64b --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGComponentTransferFunctionElement.java @@ -0,0 +1,21 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGComponentTransferFunctionElement extends
+ SVGElement {
+ // Component Transfer Types
+ public static final short SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
+ public static final short SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
+ public static final short SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
+ public static final short SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
+ public static final short SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
+ public static final short SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
+
+ public SVGAnimatedEnumeration getType( );
+ public SVGAnimatedNumberList getTableValues( );
+ public SVGAnimatedNumber getSlope( );
+ public SVGAnimatedNumber getIntercept( );
+ public SVGAnimatedNumber getAmplitude( );
+ public SVGAnimatedNumber getExponent( );
+ public SVGAnimatedNumber getOffset( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGCursorElement.java b/src/main/java/org/w3c/dom/svg/SVGCursorElement.java new file mode 100644 index 0000000..f93e81d --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGCursorElement.java @@ -0,0 +1,11 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGCursorElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGTests,
+ SVGExternalResourcesRequired {
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGDefinitionSrcElement.java b/src/main/java/org/w3c/dom/svg/SVGDefinitionSrcElement.java new file mode 100644 index 0000000..457745c --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGDefinitionSrcElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGDefinitionSrcElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGDefsElement.java b/src/main/java/org/w3c/dom/svg/SVGDefsElement.java new file mode 100644 index 0000000..27b9fe7 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGDefsElement.java @@ -0,0 +1,14 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGDefsElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGDescElement.java b/src/main/java/org/w3c/dom/svg/SVGDescElement.java new file mode 100644 index 0000000..809d100 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGDescElement.java @@ -0,0 +1,8 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGDescElement extends
+ SVGElement,
+ SVGLangSpace,
+ SVGStylable {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGDocument.java b/src/main/java/org/w3c/dom/svg/SVGDocument.java new file mode 100644 index 0000000..327d6cf --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGDocument.java @@ -0,0 +1,15 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.events.DocumentEvent;
+
+public interface SVGDocument extends
+ Document,
+ DocumentEvent {
+ public String getTitle( );
+ public String getReferrer( );
+ public String getDomain( );
+ public String getURL( );
+ public SVGSVGElement getRootElement( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGElement.java b/src/main/java/org/w3c/dom/svg/SVGElement.java new file mode 100644 index 0000000..787b5a8 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGElement.java @@ -0,0 +1,17 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+import org.w3c.dom.Element;
+
+public interface SVGElement extends
+ Element {
+ public String getId( );
+ public void setId( String id )
+ throws DOMException;
+ public String getXMLbase( );
+ public void setXMLbase( String xmlbase )
+ throws DOMException;
+ public SVGSVGElement getOwnerSVGElement( );
+ public SVGElement getViewportElement( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGElementInstance.java b/src/main/java/org/w3c/dom/svg/SVGElementInstance.java new file mode 100644 index 0000000..bd77eea --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGElementInstance.java @@ -0,0 +1,16 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGElementInstance extends
+ EventTarget {
+ public SVGElement getCorrespondingElement( );
+ public SVGUseElement getCorrespondingUseElement( );
+ public SVGElementInstance getParentNode( );
+ public SVGElementInstanceList getChildNodes( );
+ public SVGElementInstance getFirstChild( );
+ public SVGElementInstance getLastChild( );
+ public SVGElementInstance getPreviousSibling( );
+ public SVGElementInstance getNextSibling( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGElementInstanceList.java b/src/main/java/org/w3c/dom/svg/SVGElementInstanceList.java new file mode 100644 index 0000000..13a90d5 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGElementInstanceList.java @@ -0,0 +1,8 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGElementInstanceList {
+ public int getLength( );
+
+ public SVGElementInstance item ( int index );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGEllipseElement.java b/src/main/java/org/w3c/dom/svg/SVGEllipseElement.java new file mode 100644 index 0000000..54fced5 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGEllipseElement.java @@ -0,0 +1,18 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGEllipseElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+ public SVGAnimatedLength getCx( );
+ public SVGAnimatedLength getCy( );
+ public SVGAnimatedLength getRx( );
+ public SVGAnimatedLength getRy( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGEvent.java b/src/main/java/org/w3c/dom/svg/SVGEvent.java new file mode 100644 index 0000000..7098079 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGEvent.java @@ -0,0 +1,8 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.Event;
+
+public interface SVGEvent extends
+ Event {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGException.java b/src/main/java/org/w3c/dom/svg/SVGException.java new file mode 100644 index 0000000..2d200de --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGException.java @@ -0,0 +1,13 @@ +package org.w3c.dom.svg;
+
+public class SVGException extends RuntimeException {
+ public SVGException(short code, String message) {
+ super(message);
+ this.code = code;
+ }
+ public short code;
+ // ExceptionCode
+ public static final short SVG_WRONG_TYPE_ERR = 0;
+ public static final short SVG_INVALID_VALUE_ERR = 1;
+ public static final short SVG_MATRIX_NOT_INVERTABLE = 2;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGExternalResourcesRequired.java b/src/main/java/org/w3c/dom/svg/SVGExternalResourcesRequired.java new file mode 100644 index 0000000..a6a0129 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGExternalResourcesRequired.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGExternalResourcesRequired {
+ public SVGAnimatedBoolean getExternalResourcesRequired( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEBlendElement.java b/src/main/java/org/w3c/dom/svg/SVGFEBlendElement.java new file mode 100644 index 0000000..e80bc21 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEBlendElement.java @@ -0,0 +1,18 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEBlendElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ // Blend Mode Types
+ public static final short SVG_FEBLEND_MODE_UNKNOWN = 0;
+ public static final short SVG_FEBLEND_MODE_NORMAL = 1;
+ public static final short SVG_FEBLEND_MODE_MULTIPLY = 2;
+ public static final short SVG_FEBLEND_MODE_SCREEN = 3;
+ public static final short SVG_FEBLEND_MODE_DARKEN = 4;
+ public static final short SVG_FEBLEND_MODE_LIGHTEN = 5;
+
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedString getIn2( );
+ public SVGAnimatedEnumeration getMode( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEColorMatrixElement.java b/src/main/java/org/w3c/dom/svg/SVGFEColorMatrixElement.java new file mode 100644 index 0000000..e69384a --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEColorMatrixElement.java @@ -0,0 +1,17 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEColorMatrixElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ // Color Matrix Types
+ public static final short SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0;
+ public static final short SVG_FECOLORMATRIX_TYPE_MATRIX = 1;
+ public static final short SVG_FECOLORMATRIX_TYPE_SATURATE = 2;
+ public static final short SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
+ public static final short SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4;
+
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedEnumeration getType( );
+ public SVGAnimatedNumberList getValues( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEComponentTransferElement.java b/src/main/java/org/w3c/dom/svg/SVGFEComponentTransferElement.java new file mode 100644 index 0000000..51a0f84 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEComponentTransferElement.java @@ -0,0 +1,8 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEComponentTransferElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ public SVGAnimatedString getIn1( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFECompositeElement.java b/src/main/java/org/w3c/dom/svg/SVGFECompositeElement.java new file mode 100644 index 0000000..f4b4c22 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFECompositeElement.java @@ -0,0 +1,23 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFECompositeElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ // Composite Operators
+ public static final short SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0;
+ public static final short SVG_FECOMPOSITE_OPERATOR_OVER = 1;
+ public static final short SVG_FECOMPOSITE_OPERATOR_IN = 2;
+ public static final short SVG_FECOMPOSITE_OPERATOR_OUT = 3;
+ public static final short SVG_FECOMPOSITE_OPERATOR_ATOP = 4;
+ public static final short SVG_FECOMPOSITE_OPERATOR_XOR = 5;
+ public static final short SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6;
+
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedString getIn2( );
+ public SVGAnimatedEnumeration getOperator( );
+ public SVGAnimatedNumber getK1( );
+ public SVGAnimatedNumber getK2( );
+ public SVGAnimatedNumber getK3( );
+ public SVGAnimatedNumber getK4( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEConvolveMatrixElement.java b/src/main/java/org/w3c/dom/svg/SVGFEConvolveMatrixElement.java new file mode 100644 index 0000000..0553c85 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEConvolveMatrixElement.java @@ -0,0 +1,24 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEConvolveMatrixElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ // Edge Mode Values
+ public static final short SVG_EDGEMODE_UNKNOWN = 0;
+ public static final short SVG_EDGEMODE_DUPLICATE = 1;
+ public static final short SVG_EDGEMODE_WRAP = 2;
+ public static final short SVG_EDGEMODE_NONE = 3;
+
+ public SVGAnimatedInteger getOrderX( );
+ public SVGAnimatedInteger getOrderY( );
+ public SVGAnimatedNumberList getKernelMatrix( );
+ public SVGAnimatedNumber getDivisor( );
+ public SVGAnimatedNumber getBias( );
+ public SVGAnimatedInteger getTargetX( );
+ public SVGAnimatedInteger getTargetY( );
+ public SVGAnimatedEnumeration getEdgeMode( );
+ public SVGAnimatedNumber getKernelUnitLengthX( );
+ public SVGAnimatedNumber getKernelUnitLengthY( );
+ public SVGAnimatedBoolean getPreserveAlpha( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEDiffuseLightingElement.java b/src/main/java/org/w3c/dom/svg/SVGFEDiffuseLightingElement.java new file mode 100644 index 0000000..eb10a16 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEDiffuseLightingElement.java @@ -0,0 +1,12 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEDiffuseLightingElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedNumber getSurfaceScale( );
+ public SVGAnimatedNumber getDiffuseConstant( );
+ public SVGAnimatedNumber getKernelUnitLengthX( );
+ public SVGAnimatedNumber getKernelUnitLengthY( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEDisplacementMapElement.java b/src/main/java/org/w3c/dom/svg/SVGFEDisplacementMapElement.java new file mode 100644 index 0000000..d2270e2 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEDisplacementMapElement.java @@ -0,0 +1,19 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEDisplacementMapElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ // Channel Selectors
+ public static final short SVG_CHANNEL_UNKNOWN = 0;
+ public static final short SVG_CHANNEL_R = 1;
+ public static final short SVG_CHANNEL_G = 2;
+ public static final short SVG_CHANNEL_B = 3;
+ public static final short SVG_CHANNEL_A = 4;
+
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedString getIn2( );
+ public SVGAnimatedNumber getScale( );
+ public SVGAnimatedEnumeration getXChannelSelector( );
+ public SVGAnimatedEnumeration getYChannelSelector( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEDistantLightElement.java b/src/main/java/org/w3c/dom/svg/SVGFEDistantLightElement.java new file mode 100644 index 0000000..576f01b --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEDistantLightElement.java @@ -0,0 +1,8 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEDistantLightElement extends
+ SVGElement {
+ public SVGAnimatedNumber getAzimuth( );
+ public SVGAnimatedNumber getElevation( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEFloodElement.java b/src/main/java/org/w3c/dom/svg/SVGFEFloodElement.java new file mode 100644 index 0000000..8960d4d --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEFloodElement.java @@ -0,0 +1,8 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEFloodElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ public SVGAnimatedString getIn1( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEFuncAElement.java b/src/main/java/org/w3c/dom/svg/SVGFEFuncAElement.java new file mode 100644 index 0000000..739982b --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEFuncAElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEFuncAElement extends
+ SVGComponentTransferFunctionElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEFuncBElement.java b/src/main/java/org/w3c/dom/svg/SVGFEFuncBElement.java new file mode 100644 index 0000000..7afbb51 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEFuncBElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEFuncBElement extends
+ SVGComponentTransferFunctionElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEFuncGElement.java b/src/main/java/org/w3c/dom/svg/SVGFEFuncGElement.java new file mode 100644 index 0000000..04a43b7 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEFuncGElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEFuncGElement extends
+ SVGComponentTransferFunctionElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEFuncRElement.java b/src/main/java/org/w3c/dom/svg/SVGFEFuncRElement.java new file mode 100644 index 0000000..b68ca75 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEFuncRElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEFuncRElement extends
+ SVGComponentTransferFunctionElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEGaussianBlurElement.java b/src/main/java/org/w3c/dom/svg/SVGFEGaussianBlurElement.java new file mode 100644 index 0000000..af1c659 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEGaussianBlurElement.java @@ -0,0 +1,12 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEGaussianBlurElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedNumber getStdDeviationX( );
+ public SVGAnimatedNumber getStdDeviationY( );
+
+ public void setStdDeviation ( float stdDeviationX, float stdDeviationY );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEImageElement.java b/src/main/java/org/w3c/dom/svg/SVGFEImageElement.java new file mode 100644 index 0000000..2e4dff4 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEImageElement.java @@ -0,0 +1,13 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEImageElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGFilterPrimitiveStandardAttributes {
+
+ public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio( );
+
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEMergeElement.java b/src/main/java/org/w3c/dom/svg/SVGFEMergeElement.java new file mode 100644 index 0000000..4224e02 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEMergeElement.java @@ -0,0 +1,7 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEMergeElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEMergeNodeElement.java b/src/main/java/org/w3c/dom/svg/SVGFEMergeNodeElement.java new file mode 100644 index 0000000..6cba4e2 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEMergeNodeElement.java @@ -0,0 +1,7 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEMergeNodeElement extends
+ SVGElement {
+ public SVGAnimatedString getIn1( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEMorphologyElement.java b/src/main/java/org/w3c/dom/svg/SVGFEMorphologyElement.java new file mode 100644 index 0000000..829ed62 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEMorphologyElement.java @@ -0,0 +1,16 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEMorphologyElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ // Morphology Operators
+ public static final short SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0;
+ public static final short SVG_MORPHOLOGY_OPERATOR_ERODE = 1;
+ public static final short SVG_MORPHOLOGY_OPERATOR_DILATE = 2;
+
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedEnumeration getOperator( );
+ public SVGAnimatedNumber getRadiusX( );
+ public SVGAnimatedNumber getRadiusY( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEOffsetElement.java b/src/main/java/org/w3c/dom/svg/SVGFEOffsetElement.java new file mode 100644 index 0000000..2b57b9c --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEOffsetElement.java @@ -0,0 +1,10 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEOffsetElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedNumber getDx( );
+ public SVGAnimatedNumber getDy( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFEPointLightElement.java b/src/main/java/org/w3c/dom/svg/SVGFEPointLightElement.java new file mode 100644 index 0000000..f1231ae --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFEPointLightElement.java @@ -0,0 +1,9 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFEPointLightElement extends
+ SVGElement {
+ public SVGAnimatedNumber getX( );
+ public SVGAnimatedNumber getY( );
+ public SVGAnimatedNumber getZ( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFESpecularLightingElement.java b/src/main/java/org/w3c/dom/svg/SVGFESpecularLightingElement.java new file mode 100644 index 0000000..0c30c19 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFESpecularLightingElement.java @@ -0,0 +1,11 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFESpecularLightingElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ public SVGAnimatedString getIn1( );
+ public SVGAnimatedNumber getSurfaceScale( );
+ public SVGAnimatedNumber getSpecularConstant( );
+ public SVGAnimatedNumber getSpecularExponent( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFESpotLightElement.java b/src/main/java/org/w3c/dom/svg/SVGFESpotLightElement.java new file mode 100644 index 0000000..5214cb8 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFESpotLightElement.java @@ -0,0 +1,14 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFESpotLightElement extends
+ SVGElement {
+ public SVGAnimatedNumber getX( );
+ public SVGAnimatedNumber getY( );
+ public SVGAnimatedNumber getZ( );
+ public SVGAnimatedNumber getPointsAtX( );
+ public SVGAnimatedNumber getPointsAtY( );
+ public SVGAnimatedNumber getPointsAtZ( );
+ public SVGAnimatedNumber getSpecularExponent( );
+ public SVGAnimatedNumber getLimitingConeAngle( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFETileElement.java b/src/main/java/org/w3c/dom/svg/SVGFETileElement.java new file mode 100644 index 0000000..0eb73ec --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFETileElement.java @@ -0,0 +1,8 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFETileElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ public SVGAnimatedString getIn1( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFETurbulenceElement.java b/src/main/java/org/w3c/dom/svg/SVGFETurbulenceElement.java new file mode 100644 index 0000000..4fad7ec --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFETurbulenceElement.java @@ -0,0 +1,22 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFETurbulenceElement extends
+ SVGElement,
+ SVGFilterPrimitiveStandardAttributes {
+ // Turbulence Types
+ public static final short SVG_TURBULENCE_TYPE_UNKNOWN = 0;
+ public static final short SVG_TURBULENCE_TYPE_FRACTALNOISE = 1;
+ public static final short SVG_TURBULENCE_TYPE_TURBULENCE = 2;
+ // Stitch Options
+ public static final short SVG_STITCHTYPE_UNKNOWN = 0;
+ public static final short SVG_STITCHTYPE_STITCH = 1;
+ public static final short SVG_STITCHTYPE_NOSTITCH = 2;
+
+ public SVGAnimatedNumber getBaseFrequencyX( );
+ public SVGAnimatedNumber getBaseFrequencyY( );
+ public SVGAnimatedInteger getNumOctaves( );
+ public SVGAnimatedNumber getSeed( );
+ public SVGAnimatedEnumeration getStitchTiles( );
+ public SVGAnimatedEnumeration getType( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFilterElement.java b/src/main/java/org/w3c/dom/svg/SVGFilterElement.java new file mode 100644 index 0000000..2e9d936 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFilterElement.java @@ -0,0 +1,21 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFilterElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGUnitTypes {
+ public SVGAnimatedEnumeration getFilterUnits( );
+ public SVGAnimatedEnumeration getPrimitiveUnits( );
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+ public SVGAnimatedInteger getFilterResX( );
+ public SVGAnimatedInteger getFilterResY( );
+
+ public void setFilterRes ( int filterResX, int filterResY );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFilterPrimitiveStandardAttributes.java b/src/main/java/org/w3c/dom/svg/SVGFilterPrimitiveStandardAttributes.java new file mode 100644 index 0000000..44af2e3 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFilterPrimitiveStandardAttributes.java @@ -0,0 +1,11 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFilterPrimitiveStandardAttributes extends
+ SVGStylable {
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+ public SVGAnimatedString getResult( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFitToViewBox.java b/src/main/java/org/w3c/dom/svg/SVGFitToViewBox.java new file mode 100644 index 0000000..bbc8744 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFitToViewBox.java @@ -0,0 +1,7 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFitToViewBox {
+ public SVGAnimatedRect getViewBox( );
+ public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFontElement.java b/src/main/java/org/w3c/dom/svg/SVGFontElement.java new file mode 100644 index 0000000..351c70d --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFontElement.java @@ -0,0 +1,8 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFontElement extends
+ SVGElement,
+ SVGExternalResourcesRequired,
+ SVGStylable {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFontFaceElement.java b/src/main/java/org/w3c/dom/svg/SVGFontFaceElement.java new file mode 100644 index 0000000..a466201 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFontFaceElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFontFaceElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFontFaceFormatElement.java b/src/main/java/org/w3c/dom/svg/SVGFontFaceFormatElement.java new file mode 100644 index 0000000..cc9f3a4 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFontFaceFormatElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFontFaceFormatElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFontFaceNameElement.java b/src/main/java/org/w3c/dom/svg/SVGFontFaceNameElement.java new file mode 100644 index 0000000..3f2d85d --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFontFaceNameElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFontFaceNameElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFontFaceSrcElement.java b/src/main/java/org/w3c/dom/svg/SVGFontFaceSrcElement.java new file mode 100644 index 0000000..cf0325a --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFontFaceSrcElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFontFaceSrcElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGFontFaceUriElement.java b/src/main/java/org/w3c/dom/svg/SVGFontFaceUriElement.java new file mode 100644 index 0000000..2edb490 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGFontFaceUriElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGFontFaceUriElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGForeignObjectElement.java b/src/main/java/org/w3c/dom/svg/SVGForeignObjectElement.java new file mode 100644 index 0000000..794e7a8 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGForeignObjectElement.java @@ -0,0 +1,18 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGForeignObjectElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGGElement.java b/src/main/java/org/w3c/dom/svg/SVGGElement.java new file mode 100644 index 0000000..51c0a92 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGGElement.java @@ -0,0 +1,14 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGGElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGGlyphElement.java b/src/main/java/org/w3c/dom/svg/SVGGlyphElement.java new file mode 100644 index 0000000..f219b31 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGGlyphElement.java @@ -0,0 +1,7 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGGlyphElement extends
+ SVGElement,
+ SVGStylable {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGGlyphRefElement.java b/src/main/java/org/w3c/dom/svg/SVGGlyphRefElement.java new file mode 100644 index 0000000..35bddc1 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGGlyphRefElement.java @@ -0,0 +1,28 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGGlyphRefElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGStylable {
+ public String getGlyphRef( );
+ public void setGlyphRef( String glyphRef )
+ throws DOMException;
+ public String getFormat( );
+ public void setFormat( String format )
+ throws DOMException;
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getDx( );
+ public void setDx( float dx )
+ throws DOMException;
+ public float getDy( );
+ public void setDy( float dy )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGGradientElement.java b/src/main/java/org/w3c/dom/svg/SVGGradientElement.java new file mode 100644 index 0000000..87c7c0c --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGGradientElement.java @@ -0,0 +1,19 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGGradientElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGUnitTypes {
+ // Spread Method Types
+ public static final short SVG_SPREADMETHOD_UNKNOWN = 0;
+ public static final short SVG_SPREADMETHOD_PAD = 1;
+ public static final short SVG_SPREADMETHOD_REFLECT = 2;
+ public static final short SVG_SPREADMETHOD_REPEAT = 3;
+
+ public SVGAnimatedEnumeration getGradientUnits( );
+ public SVGAnimatedTransformList getGradientTransform( );
+ public SVGAnimatedEnumeration getSpreadMethod( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGHKernElement.java b/src/main/java/org/w3c/dom/svg/SVGHKernElement.java new file mode 100644 index 0000000..2744320 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGHKernElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGHKernElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGICCColor.java b/src/main/java/org/w3c/dom/svg/SVGICCColor.java new file mode 100644 index 0000000..7938213 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGICCColor.java @@ -0,0 +1,10 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+public interface SVGICCColor {
+ public String getColorProfile( );
+ public void setColorProfile( String colorProfile )
+ throws DOMException;
+ public SVGNumberList getColors( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGImageElement.java b/src/main/java/org/w3c/dom/svg/SVGImageElement.java new file mode 100644 index 0000000..4a5f240 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGImageElement.java @@ -0,0 +1,20 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGImageElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+ public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGLangSpace.java b/src/main/java/org/w3c/dom/svg/SVGLangSpace.java new file mode 100644 index 0000000..c2eff9b --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGLangSpace.java @@ -0,0 +1,13 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGLangSpace {
+ public String getXMLlang( );
+ public void setXMLlang( String xmllang )
+ throws DOMException;
+ public String getXMLspace( );
+ public void setXMLspace( String xmlspace )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGLength.java b/src/main/java/org/w3c/dom/svg/SVGLength.java new file mode 100644 index 0000000..a3f9f6e --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGLength.java @@ -0,0 +1,32 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+public interface SVGLength {
+ // Length Unit Types
+ public static final short SVG_LENGTHTYPE_UNKNOWN = 0;
+ public static final short SVG_LENGTHTYPE_NUMBER = 1;
+ public static final short SVG_LENGTHTYPE_PERCENTAGE = 2;
+ public static final short SVG_LENGTHTYPE_EMS = 3;
+ public static final short SVG_LENGTHTYPE_EXS = 4;
+ public static final short SVG_LENGTHTYPE_PX = 5;
+ public static final short SVG_LENGTHTYPE_CM = 6;
+ public static final short SVG_LENGTHTYPE_MM = 7;
+ public static final short SVG_LENGTHTYPE_IN = 8;
+ public static final short SVG_LENGTHTYPE_PT = 9;
+ public static final short SVG_LENGTHTYPE_PC = 10;
+
+ public short getUnitType( );
+ public float getValue( );
+ public void setValue( float value )
+ throws DOMException;
+ public float getValueInSpecifiedUnits( );
+ public void setValueInSpecifiedUnits( float valueInSpecifiedUnits )
+ throws DOMException;
+ public String getValueAsString( );
+ public void setValueAsString( String valueAsString )
+ throws DOMException;
+
+ public void newValueSpecifiedUnits ( short unitType, float valueInSpecifiedUnits );
+ public void convertToSpecifiedUnits ( short unitType );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGLengthList.java b/src/main/java/org/w3c/dom/svg/SVGLengthList.java new file mode 100644 index 0000000..ac75627 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGLengthList.java @@ -0,0 +1,23 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGLengthList {
+ public int getNumberOfItems( );
+
+ public void clear ( )
+ throws DOMException;
+ public SVGLength initialize ( SVGLength newItem )
+ throws DOMException, SVGException;
+ public SVGLength getItem ( int index )
+ throws DOMException;
+ public SVGLength insertItemBefore ( SVGLength newItem, int index )
+ throws DOMException, SVGException;
+ public SVGLength replaceItem ( SVGLength newItem, int index )
+ throws DOMException, SVGException;
+ public SVGLength removeItem ( int index )
+ throws DOMException;
+ public SVGLength appendItem ( SVGLength newItem )
+ throws DOMException, SVGException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGLineElement.java b/src/main/java/org/w3c/dom/svg/SVGLineElement.java new file mode 100644 index 0000000..faa49e3 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGLineElement.java @@ -0,0 +1,18 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGLineElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+ public SVGAnimatedLength getX1( );
+ public SVGAnimatedLength getY1( );
+ public SVGAnimatedLength getX2( );
+ public SVGAnimatedLength getY2( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGLinearGradientElement.java b/src/main/java/org/w3c/dom/svg/SVGLinearGradientElement.java new file mode 100644 index 0000000..a0d1f96 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGLinearGradientElement.java @@ -0,0 +1,10 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGLinearGradientElement extends
+ SVGGradientElement {
+ public SVGAnimatedLength getX1( );
+ public SVGAnimatedLength getY1( );
+ public SVGAnimatedLength getX2( );
+ public SVGAnimatedLength getY2( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGLocatable.java b/src/main/java/org/w3c/dom/svg/SVGLocatable.java new file mode 100644 index 0000000..4b58621 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGLocatable.java @@ -0,0 +1,13 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGLocatable {
+ public SVGElement getNearestViewportElement( );
+ public SVGElement getFarthestViewportElement( );
+
+ public SVGRect getBBox ( );
+ public SVGMatrix getCTM ( );
+ public SVGMatrix getScreenCTM ( );
+ public SVGMatrix getTransformToElement ( SVGElement element )
+ throws SVGException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGMPathElement.java b/src/main/java/org/w3c/dom/svg/SVGMPathElement.java new file mode 100644 index 0000000..4ba7198 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGMPathElement.java @@ -0,0 +1,8 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGMPathElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGExternalResourcesRequired {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGMarkerElement.java b/src/main/java/org/w3c/dom/svg/SVGMarkerElement.java new file mode 100644 index 0000000..efd5b5f --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGMarkerElement.java @@ -0,0 +1,29 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGMarkerElement extends
+ SVGElement,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGFitToViewBox {
+ // Marker Unit Types
+ public static final short SVG_MARKERUNITS_UNKNOWN = 0;
+ public static final short SVG_MARKERUNITS_USERSPACEONUSE = 1;
+ public static final short SVG_MARKERUNITS_STROKEWIDTH = 2;
+ // Marker Orientation Types
+ public static final short SVG_MARKER_ORIENT_UNKNOWN = 0;
+ public static final short SVG_MARKER_ORIENT_AUTO = 1;
+ public static final short SVG_MARKER_ORIENT_ANGLE = 2;
+
+ public SVGAnimatedLength getRefX( );
+ public SVGAnimatedLength getRefY( );
+ public SVGAnimatedEnumeration getMarkerUnits( );
+ public SVGAnimatedLength getMarkerWidth( );
+ public SVGAnimatedLength getMarkerHeight( );
+ public SVGAnimatedEnumeration getOrientType( );
+ public SVGAnimatedAngle getOrientAngle( );
+
+ public void setOrientToAuto ( );
+ public void setOrientToAngle ( SVGAngle angle );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGMaskElement.java b/src/main/java/org/w3c/dom/svg/SVGMaskElement.java new file mode 100644 index 0000000..f8038d6 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGMaskElement.java @@ -0,0 +1,17 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGMaskElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGUnitTypes {
+ public SVGAnimatedEnumeration getMaskUnits( );
+ public SVGAnimatedEnumeration getMaskContentUnits( );
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGMatrix.java b/src/main/java/org/w3c/dom/svg/SVGMatrix.java new file mode 100644 index 0000000..caff00d --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGMatrix.java @@ -0,0 +1,39 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGMatrix {
+ public float getA( );
+ public void setA( float a )
+ throws DOMException;
+ public float getB( );
+ public void setB( float b )
+ throws DOMException;
+ public float getC( );
+ public void setC( float c )
+ throws DOMException;
+ public float getD( );
+ public void setD( float d )
+ throws DOMException;
+ public float getE( );
+ public void setE( float e )
+ throws DOMException;
+ public float getF( );
+ public void setF( float f )
+ throws DOMException;
+
+ public SVGMatrix multiply ( SVGMatrix secondMatrix );
+ public SVGMatrix inverse ( )
+ throws SVGException;
+ public SVGMatrix translate ( float x, float y );
+ public SVGMatrix scale ( float scaleFactor );
+ public SVGMatrix scaleNonUniform ( float scaleFactorX, float scaleFactorY );
+ public SVGMatrix rotate ( float angle );
+ public SVGMatrix rotateFromVector ( float x, float y )
+ throws SVGException;
+ public SVGMatrix flipX ( );
+ public SVGMatrix flipY ( );
+ public SVGMatrix skewX ( float angle );
+ public SVGMatrix skewY ( float angle );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGMetadataElement.java b/src/main/java/org/w3c/dom/svg/SVGMetadataElement.java new file mode 100644 index 0000000..cd1c007 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGMetadataElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGMetadataElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGMissingGlyphElement.java b/src/main/java/org/w3c/dom/svg/SVGMissingGlyphElement.java new file mode 100644 index 0000000..ce426ff --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGMissingGlyphElement.java @@ -0,0 +1,7 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGMissingGlyphElement extends
+ SVGElement,
+ SVGStylable {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGNumber.java b/src/main/java/org/w3c/dom/svg/SVGNumber.java new file mode 100644 index 0000000..f4ee801 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGNumber.java @@ -0,0 +1,10 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGNumber {
+ public float getValue( );
+ public void setValue( float value )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGNumberList.java b/src/main/java/org/w3c/dom/svg/SVGNumberList.java new file mode 100644 index 0000000..e443caa --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGNumberList.java @@ -0,0 +1,23 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGNumberList {
+ public int getNumberOfItems( );
+
+ public void clear ( )
+ throws DOMException;
+ public SVGNumber initialize ( SVGNumber newItem )
+ throws DOMException, SVGException;
+ public SVGNumber getItem ( int index )
+ throws DOMException;
+ public SVGNumber insertItemBefore ( SVGNumber newItem, int index )
+ throws DOMException, SVGException;
+ public SVGNumber replaceItem ( SVGNumber newItem, int index )
+ throws DOMException, SVGException;
+ public SVGNumber removeItem ( int index )
+ throws DOMException;
+ public SVGNumber appendItem ( SVGNumber newItem )
+ throws DOMException, SVGException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPaint.java b/src/main/java/org/w3c/dom/svg/SVGPaint.java new file mode 100644 index 0000000..6a6451c --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPaint.java @@ -0,0 +1,26 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.css.RGBColor;
+
+public interface SVGPaint extends
+ SVGColor {
+ // Paint Types
+ public static final short SVG_PAINTTYPE_UNKNOWN = 0;
+ public static final short SVG_PAINTTYPE_RGBCOLOR = 1;
+ public static final short SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2;
+ public static final short SVG_PAINTTYPE_NONE = 101;
+ public static final short SVG_PAINTTYPE_CURRENTCOLOR = 102;
+ public static final short SVG_PAINTTYPE_URI_NONE = 103;
+ public static final short SVG_PAINTTYPE_URI_CURRENTCOLOR = 104;
+ public static final short SVG_PAINTTYPE_URI_RGBCOLOR = 105;
+ public static final short SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;
+ public static final short SVG_PAINTTYPE_URI = 107;
+
+ public short getPaintType( );
+ public String getUri( );
+
+ public void setUri ( String uri );
+ public void setPaint ( short paintType, String uri, String rgbColor, String iccColor )
+ throws SVGException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathElement.java b/src/main/java/org/w3c/dom/svg/SVGPathElement.java new file mode 100644 index 0000000..b5522ca --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathElement.java @@ -0,0 +1,39 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGPathElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget,
+ SVGAnimatedPathData {
+ public SVGAnimatedNumber getPathLength( );
+
+ public float getTotalLength ( );
+ public SVGPoint getPointAtLength ( float distance );
+ public int getPathSegAtLength ( float distance );
+ public SVGPathSegClosePath createSVGPathSegClosePath ( );
+ public SVGPathSegMovetoAbs createSVGPathSegMovetoAbs ( float x, float y );
+ public SVGPathSegMovetoRel createSVGPathSegMovetoRel ( float x, float y );
+ public SVGPathSegLinetoAbs createSVGPathSegLinetoAbs ( float x, float y );
+ public SVGPathSegLinetoRel createSVGPathSegLinetoRel ( float x, float y );
+ public SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs ( float x, float y, float x1, float y1, float x2, float y2 );
+ public SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel ( float x, float y, float x1, float y1, float x2, float y2 );
+ public SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs ( float x, float y, float x1, float y1 );
+ public SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel ( float x, float y, float x1, float y1 );
+ public SVGPathSegArcAbs createSVGPathSegArcAbs ( float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag );
+ public SVGPathSegArcRel createSVGPathSegArcRel ( float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag );
+ public SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs ( float x );
+ public SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel ( float x );
+ public SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs ( float y );
+ public SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel ( float y );
+ public SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs ( float x, float y, float x2, float y2 );
+ public SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel ( float x, float y, float x2, float y2 );
+ public SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs ( float x, float y );
+ public SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel ( float x, float y );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSeg.java b/src/main/java/org/w3c/dom/svg/SVGPathSeg.java new file mode 100644 index 0000000..698239a --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSeg.java @@ -0,0 +1,29 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGPathSeg {
+ // Path Segment Types
+ public static final short PATHSEG_UNKNOWN = 0;
+ public static final short PATHSEG_CLOSEPATH = 1;
+ public static final short PATHSEG_MOVETO_ABS = 2;
+ public static final short PATHSEG_MOVETO_REL = 3;
+ public static final short PATHSEG_LINETO_ABS = 4;
+ public static final short PATHSEG_LINETO_REL = 5;
+ public static final short PATHSEG_CURVETO_CUBIC_ABS = 6;
+ public static final short PATHSEG_CURVETO_CUBIC_REL = 7;
+ public static final short PATHSEG_CURVETO_QUADRATIC_ABS = 8;
+ public static final short PATHSEG_CURVETO_QUADRATIC_REL = 9;
+ public static final short PATHSEG_ARC_ABS = 10;
+ public static final short PATHSEG_ARC_REL = 11;
+ public static final short PATHSEG_LINETO_HORIZONTAL_ABS = 12;
+ public static final short PATHSEG_LINETO_HORIZONTAL_REL = 13;
+ public static final short PATHSEG_LINETO_VERTICAL_ABS = 14;
+ public static final short PATHSEG_LINETO_VERTICAL_REL = 15;
+ public static final short PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16;
+ public static final short PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17;
+ public static final short PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
+ public static final short PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
+
+ public short getPathSegType( );
+ public String getPathSegTypeAsLetter( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegArcAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegArcAbs.java new file mode 100644 index 0000000..150340c --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegArcAbs.java @@ -0,0 +1,29 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegArcAbs extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getR1( );
+ public void setR1( float r1 )
+ throws DOMException;
+ public float getR2( );
+ public void setR2( float r2 )
+ throws DOMException;
+ public float getAngle( );
+ public void setAngle( float angle )
+ throws DOMException;
+ public boolean getLargeArcFlag( );
+ public void setLargeArcFlag( boolean largeArcFlag )
+ throws DOMException;
+ public boolean getSweepFlag( );
+ public void setSweepFlag( boolean sweepFlag )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegArcRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegArcRel.java new file mode 100644 index 0000000..01107ec --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegArcRel.java @@ -0,0 +1,29 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegArcRel extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getR1( );
+ public void setR1( float r1 )
+ throws DOMException;
+ public float getR2( );
+ public void setR2( float r2 )
+ throws DOMException;
+ public float getAngle( );
+ public void setAngle( float angle )
+ throws DOMException;
+ public boolean getLargeArcFlag( );
+ public void setLargeArcFlag( boolean largeArcFlag )
+ throws DOMException;
+ public boolean getSweepFlag( );
+ public void setSweepFlag( boolean sweepFlag )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegClosePath.java b/src/main/java/org/w3c/dom/svg/SVGPathSegClosePath.java new file mode 100644 index 0000000..9cf1c43 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegClosePath.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGPathSegClosePath extends
+ SVGPathSeg {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicAbs.java new file mode 100644 index 0000000..7286492 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicAbs.java @@ -0,0 +1,26 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegCurvetoCubicAbs extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getX1( );
+ public void setX1( float x1 )
+ throws DOMException;
+ public float getY1( );
+ public void setY1( float y1 )
+ throws DOMException;
+ public float getX2( );
+ public void setX2( float x2 )
+ throws DOMException;
+ public float getY2( );
+ public void setY2( float y2 )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicRel.java new file mode 100644 index 0000000..4883ea1 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicRel.java @@ -0,0 +1,26 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegCurvetoCubicRel extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getX1( );
+ public void setX1( float x1 )
+ throws DOMException;
+ public float getY1( );
+ public void setY1( float y1 )
+ throws DOMException;
+ public float getX2( );
+ public void setX2( float x2 )
+ throws DOMException;
+ public float getY2( );
+ public void setY2( float y2 )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothAbs.java new file mode 100644 index 0000000..db806d7 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothAbs.java @@ -0,0 +1,20 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegCurvetoCubicSmoothAbs extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getX2( );
+ public void setX2( float x2 )
+ throws DOMException;
+ public float getY2( );
+ public void setY2( float y2 )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothRel.java new file mode 100644 index 0000000..696bb6c --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoCubicSmoothRel.java @@ -0,0 +1,20 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegCurvetoCubicSmoothRel extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getX2( );
+ public void setX2( float x2 )
+ throws DOMException;
+ public float getY2( );
+ public void setY2( float y2 )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticAbs.java new file mode 100644 index 0000000..db03df2 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticAbs.java @@ -0,0 +1,20 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegCurvetoQuadraticAbs extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getX1( );
+ public void setX1( float x1 )
+ throws DOMException;
+ public float getY1( );
+ public void setY1( float y1 )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticRel.java new file mode 100644 index 0000000..68f2394 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticRel.java @@ -0,0 +1,20 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegCurvetoQuadraticRel extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getX1( );
+ public void setX1( float x1 )
+ throws DOMException;
+ public float getY1( );
+ public void setY1( float y1 )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothAbs.java new file mode 100644 index 0000000..307ab51 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothAbs.java @@ -0,0 +1,14 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegCurvetoQuadraticSmoothAbs extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothRel.java new file mode 100644 index 0000000..7fcfc39 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegCurvetoQuadraticSmoothRel.java @@ -0,0 +1,14 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegCurvetoQuadraticSmoothRel extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoAbs.java new file mode 100644 index 0000000..a4f55b9 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoAbs.java @@ -0,0 +1,14 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegLinetoAbs extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalAbs.java new file mode 100644 index 0000000..f045467 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalAbs.java @@ -0,0 +1,11 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegLinetoHorizontalAbs extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalRel.java new file mode 100644 index 0000000..19f320d --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoHorizontalRel.java @@ -0,0 +1,11 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegLinetoHorizontalRel extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoRel.java new file mode 100644 index 0000000..f5abb2e --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoRel.java @@ -0,0 +1,14 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegLinetoRel extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalAbs.java new file mode 100644 index 0000000..b9bc913 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalAbs.java @@ -0,0 +1,11 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegLinetoVerticalAbs extends
+ SVGPathSeg {
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalRel.java new file mode 100644 index 0000000..5a69a83 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegLinetoVerticalRel.java @@ -0,0 +1,11 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegLinetoVerticalRel extends
+ SVGPathSeg {
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegList.java b/src/main/java/org/w3c/dom/svg/SVGPathSegList.java new file mode 100644 index 0000000..7d688f3 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegList.java @@ -0,0 +1,23 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegList {
+ public int getNumberOfItems( );
+
+ public void clear ( )
+ throws DOMException;
+ public SVGPathSeg initialize ( SVGPathSeg newItem )
+ throws DOMException, SVGException;
+ public SVGPathSeg getItem ( int index )
+ throws DOMException;
+ public SVGPathSeg insertItemBefore ( SVGPathSeg newItem, int index )
+ throws DOMException, SVGException;
+ public SVGPathSeg replaceItem ( SVGPathSeg newItem, int index )
+ throws DOMException, SVGException;
+ public SVGPathSeg removeItem ( int index )
+ throws DOMException;
+ public SVGPathSeg appendItem ( SVGPathSeg newItem )
+ throws DOMException, SVGException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoAbs.java b/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoAbs.java new file mode 100644 index 0000000..20bd825 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoAbs.java @@ -0,0 +1,14 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegMovetoAbs extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoRel.java b/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoRel.java new file mode 100644 index 0000000..95ec75f --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPathSegMovetoRel.java @@ -0,0 +1,14 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPathSegMovetoRel extends
+ SVGPathSeg {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPatternElement.java b/src/main/java/org/w3c/dom/svg/SVGPatternElement.java new file mode 100644 index 0000000..a6ce5ca --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPatternElement.java @@ -0,0 +1,20 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGPatternElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGFitToViewBox,
+ SVGUnitTypes {
+ public SVGAnimatedEnumeration getPatternUnits( );
+ public SVGAnimatedEnumeration getPatternContentUnits( );
+ public SVGAnimatedTransformList getPatternTransform( );
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPoint.java b/src/main/java/org/w3c/dom/svg/SVGPoint.java new file mode 100644 index 0000000..441b65c --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPoint.java @@ -0,0 +1,15 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPoint {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+
+ public SVGPoint matrixTransform ( SVGMatrix matrix );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPointList.java b/src/main/java/org/w3c/dom/svg/SVGPointList.java new file mode 100644 index 0000000..b3e41c6 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPointList.java @@ -0,0 +1,23 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPointList {
+ public int getNumberOfItems( );
+
+ public void clear ( )
+ throws DOMException;
+ public SVGPoint initialize ( SVGPoint newItem )
+ throws DOMException, SVGException;
+ public SVGPoint getItem ( int index )
+ throws DOMException;
+ public SVGPoint insertItemBefore ( SVGPoint newItem, int index )
+ throws DOMException, SVGException;
+ public SVGPoint replaceItem ( SVGPoint newItem, int index )
+ throws DOMException, SVGException;
+ public SVGPoint removeItem ( int index )
+ throws DOMException;
+ public SVGPoint appendItem ( SVGPoint newItem )
+ throws DOMException, SVGException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPolygonElement.java b/src/main/java/org/w3c/dom/svg/SVGPolygonElement.java new file mode 100644 index 0000000..62b905e --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPolygonElement.java @@ -0,0 +1,15 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGPolygonElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget,
+ SVGAnimatedPoints {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPolylineElement.java b/src/main/java/org/w3c/dom/svg/SVGPolylineElement.java new file mode 100644 index 0000000..402b68c --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPolylineElement.java @@ -0,0 +1,15 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGPolylineElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget,
+ SVGAnimatedPoints {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGPreserveAspectRatio.java b/src/main/java/org/w3c/dom/svg/SVGPreserveAspectRatio.java new file mode 100644 index 0000000..b276f43 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGPreserveAspectRatio.java @@ -0,0 +1,30 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGPreserveAspectRatio {
+ // Alignment Types
+ public static final short SVG_PRESERVEASPECTRATIO_UNKNOWN = 0;
+ public static final short SVG_PRESERVEASPECTRATIO_NONE = 1;
+ public static final short SVG_PRESERVEASPECTRATIO_XMINYMIN = 2;
+ public static final short SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3;
+ public static final short SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4;
+ public static final short SVG_PRESERVEASPECTRATIO_XMINYMID = 5;
+ public static final short SVG_PRESERVEASPECTRATIO_XMIDYMID = 6;
+ public static final short SVG_PRESERVEASPECTRATIO_XMAXYMID = 7;
+ public static final short SVG_PRESERVEASPECTRATIO_XMINYMAX = 8;
+ public static final short SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9;
+ public static final short SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10;
+ // Meet-or-slice Types
+ public static final short SVG_MEETORSLICE_UNKNOWN = 0;
+ public static final short SVG_MEETORSLICE_MEET = 1;
+ public static final short SVG_MEETORSLICE_SLICE = 2;
+
+ public short getAlign( );
+ public void setAlign( short align )
+ throws DOMException;
+ public short getMeetOrSlice( );
+ public void setMeetOrSlice( short meetOrSlice )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGRadialGradientElement.java b/src/main/java/org/w3c/dom/svg/SVGRadialGradientElement.java new file mode 100644 index 0000000..5307350 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGRadialGradientElement.java @@ -0,0 +1,11 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGRadialGradientElement extends
+ SVGGradientElement {
+ public SVGAnimatedLength getCx( );
+ public SVGAnimatedLength getCy( );
+ public SVGAnimatedLength getR( );
+ public SVGAnimatedLength getFx( );
+ public SVGAnimatedLength getFy( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGRect.java b/src/main/java/org/w3c/dom/svg/SVGRect.java new file mode 100644 index 0000000..c55453c --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGRect.java @@ -0,0 +1,19 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGRect {
+ public float getX( );
+ public void setX( float x )
+ throws DOMException;
+ public float getY( );
+ public void setY( float y )
+ throws DOMException;
+ public float getWidth( );
+ public void setWidth( float width )
+ throws DOMException;
+ public float getHeight( );
+ public void setHeight( float height )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGRectElement.java b/src/main/java/org/w3c/dom/svg/SVGRectElement.java new file mode 100644 index 0000000..aec04b0 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGRectElement.java @@ -0,0 +1,20 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGRectElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+ public SVGAnimatedLength getRx( );
+ public SVGAnimatedLength getRy( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGRenderingIntent.java b/src/main/java/org/w3c/dom/svg/SVGRenderingIntent.java new file mode 100644 index 0000000..81b61c5 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGRenderingIntent.java @@ -0,0 +1,12 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGRenderingIntent {
+ // Rendering Intent Types
+ public static final short RENDERING_INTENT_UNKNOWN = 0;
+ public static final short RENDERING_INTENT_AUTO = 1;
+ public static final short RENDERING_INTENT_PERCEPTUAL = 2;
+ public static final short RENDERING_INTENT_RELATIVE_COLORIMETRIC = 3;
+ public static final short RENDERING_INTENT_SATURATION = 4;
+ public static final short RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGSVGElement.java b/src/main/java/org/w3c/dom/svg/SVGSVGElement.java new file mode 100644 index 0000000..2fefaaa --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGSVGElement.java @@ -0,0 +1,74 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.DocumentEvent;
+import org.w3c.dom.events.EventTarget;
+import org.w3c.dom.DOMException;
+import org.w3c.dom.NodeList;
+import org.w3c.dom.Element;
+import org.w3c.dom.css.ViewCSS;
+import org.w3c.dom.css.DocumentCSS;
+import org.w3c.dom.css.RGBColor;
+
+public interface SVGSVGElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGLocatable,
+ SVGFitToViewBox,
+ SVGZoomAndPan,
+ EventTarget,
+ DocumentEvent,
+ ViewCSS,
+ DocumentCSS {
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+ public String getContentScriptType( );
+ public void setContentScriptType( String contentScriptType )
+ throws DOMException;
+ public String getContentStyleType( );
+ public void setContentStyleType( String contentStyleType )
+ throws DOMException;
+ public SVGRect getViewport( );
+ public float getPixelUnitToMillimeterX( );
+ public float getPixelUnitToMillimeterY( );
+ public float getScreenPixelToMillimeterX( );
+ public float getScreenPixelToMillimeterY( );
+ public boolean getUseCurrentView( );
+ public void setUseCurrentView( boolean useCurrentView )
+ throws DOMException;
+ public SVGViewSpec getCurrentView( );
+ public float getCurrentScale( );
+ public void setCurrentScale( float currentScale )
+ throws DOMException;
+ public SVGPoint getCurrentTranslate( );
+
+ public int suspendRedraw ( int max_wait_milliseconds );
+ public void unsuspendRedraw ( int suspend_handle_id )
+ throws DOMException;
+ public void unsuspendRedrawAll ( );
+ public void forceRedraw ( );
+ public void pauseAnimations ( );
+ public void unpauseAnimations ( );
+ public boolean animationsPaused ( );
+ public float getCurrentTime ( );
+ public void setCurrentTime ( float seconds );
+ public NodeList getIntersectionList ( SVGRect rect, SVGElement referenceElement );
+ public NodeList getEnclosureList ( SVGRect rect, SVGElement referenceElement );
+ public boolean checkIntersection ( SVGElement element, SVGRect rect );
+ public boolean checkEnclosure ( SVGElement element, SVGRect rect );
+ public void deselectAll ( );
+ public SVGNumber createSVGNumber ( );
+ public SVGLength createSVGLength ( );
+ public SVGAngle createSVGAngle ( );
+ public SVGPoint createSVGPoint ( );
+ public SVGMatrix createSVGMatrix ( );
+ public SVGRect createSVGRect ( );
+ public SVGTransform createSVGTransform ( );
+ public SVGTransform createSVGTransformFromMatrix ( SVGMatrix matrix );
+ public Element getElementById ( String elementId );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGScriptElement.java b/src/main/java/org/w3c/dom/svg/SVGScriptElement.java new file mode 100644 index 0000000..7dd0a60 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGScriptElement.java @@ -0,0 +1,13 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGScriptElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGExternalResourcesRequired {
+ public String getType( );
+ public void setType( String type )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGSetElement.java b/src/main/java/org/w3c/dom/svg/SVGSetElement.java new file mode 100644 index 0000000..568e90e --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGSetElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGSetElement extends
+ SVGAnimationElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGStopElement.java b/src/main/java/org/w3c/dom/svg/SVGStopElement.java new file mode 100644 index 0000000..250c5e0 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGStopElement.java @@ -0,0 +1,8 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGStopElement extends
+ SVGElement,
+ SVGStylable {
+ public SVGAnimatedNumber getOffset( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGStringList.java b/src/main/java/org/w3c/dom/svg/SVGStringList.java new file mode 100644 index 0000000..05f860c --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGStringList.java @@ -0,0 +1,23 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGStringList {
+ public int getNumberOfItems( );
+
+ public void clear ( )
+ throws DOMException;
+ public String initialize ( String newItem )
+ throws DOMException, SVGException;
+ public String getItem ( int index )
+ throws DOMException;
+ public String insertItemBefore ( String newItem, int index )
+ throws DOMException, SVGException;
+ public String replaceItem ( String newItem, int index )
+ throws DOMException, SVGException;
+ public String removeItem ( int index )
+ throws DOMException;
+ public String appendItem ( String newItem )
+ throws DOMException, SVGException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGStylable.java b/src/main/java/org/w3c/dom/svg/SVGStylable.java new file mode 100644 index 0000000..0d547c6 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGStylable.java @@ -0,0 +1,12 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.css.CSSStyleDeclaration;
+import org.w3c.dom.css.CSSValue;
+
+public interface SVGStylable {
+ public SVGAnimatedString getClassName( );
+ public CSSStyleDeclaration getStyle( );
+
+ public CSSValue getPresentationAttribute ( String name );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGStyleElement.java b/src/main/java/org/w3c/dom/svg/SVGStyleElement.java new file mode 100644 index 0000000..b8e110e --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGStyleElement.java @@ -0,0 +1,20 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGStyleElement extends
+ SVGElement {
+ public String getXMLspace( );
+ public void setXMLspace( String xmlspace )
+ throws DOMException;
+ public String getType( );
+ public void setType( String type )
+ throws DOMException;
+ public String getMedia( );
+ public void setMedia( String media )
+ throws DOMException;
+ public String getTitle( );
+ public void setTitle( String title )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGSwitchElement.java b/src/main/java/org/w3c/dom/svg/SVGSwitchElement.java new file mode 100644 index 0000000..0db51f1 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGSwitchElement.java @@ -0,0 +1,14 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGSwitchElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGSymbolElement.java b/src/main/java/org/w3c/dom/svg/SVGSymbolElement.java new file mode 100644 index 0000000..c2bb0e2 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGSymbolElement.java @@ -0,0 +1,13 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGSymbolElement extends
+ SVGElement,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGFitToViewBox,
+ EventTarget {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTRefElement.java b/src/main/java/org/w3c/dom/svg/SVGTRefElement.java new file mode 100644 index 0000000..493c883 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGTRefElement.java @@ -0,0 +1,7 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGTRefElement extends
+ SVGTextPositioningElement,
+ SVGURIReference {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTSpanElement.java b/src/main/java/org/w3c/dom/svg/SVGTSpanElement.java new file mode 100644 index 0000000..0c450ca --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGTSpanElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGTSpanElement extends
+ SVGTextPositioningElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTests.java b/src/main/java/org/w3c/dom/svg/SVGTests.java new file mode 100644 index 0000000..4e0d6a4 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGTests.java @@ -0,0 +1,10 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGTests {
+ public SVGStringList getRequiredFeatures( );
+ public SVGStringList getRequiredExtensions( );
+ public SVGStringList getSystemLanguage( );
+
+ public boolean hasExtension ( String extension );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTextContentElement.java b/src/main/java/org/w3c/dom/svg/SVGTextContentElement.java new file mode 100644 index 0000000..7f27be2 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGTextContentElement.java @@ -0,0 +1,37 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+import org.w3c.dom.DOMException;
+
+public interface SVGTextContentElement extends
+ SVGElement,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ EventTarget {
+ // lengthAdjust Types
+ public static final short LENGTHADJUST_UNKNOWN = 0;
+ public static final short LENGTHADJUST_SPACING = 1;
+ public static final short LENGTHADJUST_SPACINGANDGLYPHS = 2;
+
+ public SVGAnimatedLength getTextLength( );
+ public SVGAnimatedEnumeration getLengthAdjust( );
+
+ public int getNumberOfChars ( );
+ public float getComputedTextLength ( );
+ public float getSubStringLength ( int charnum, int nchars )
+ throws DOMException;
+ public SVGPoint getStartPositionOfChar ( int charnum )
+ throws DOMException;
+ public SVGPoint getEndPositionOfChar ( int charnum )
+ throws DOMException;
+ public SVGRect getExtentOfChar ( int charnum )
+ throws DOMException;
+ public float getRotationOfChar ( int charnum )
+ throws DOMException;
+ public int getCharNumAtPosition ( SVGPoint point );
+ public void selectSubString ( int charnum, int nchars )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTextElement.java b/src/main/java/org/w3c/dom/svg/SVGTextElement.java new file mode 100644 index 0000000..a77c88c --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGTextElement.java @@ -0,0 +1,7 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGTextElement extends
+ SVGTextPositioningElement,
+ SVGTransformable {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTextPathElement.java b/src/main/java/org/w3c/dom/svg/SVGTextPathElement.java new file mode 100644 index 0000000..bbd56a4 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGTextPathElement.java @@ -0,0 +1,19 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGTextPathElement extends
+ SVGTextContentElement,
+ SVGURIReference {
+ // textPath Method Types
+ public static final short TEXTPATH_METHODTYPE_UNKNOWN = 0;
+ public static final short TEXTPATH_METHODTYPE_ALIGN = 1;
+ public static final short TEXTPATH_METHODTYPE_STRETCH = 2;
+ // textPath Spacing Types
+ public static final short TEXTPATH_SPACINGTYPE_UNKNOWN = 0;
+ public static final short TEXTPATH_SPACINGTYPE_AUTO = 1;
+ public static final short TEXTPATH_SPACINGTYPE_EXACT = 2;
+
+ public SVGAnimatedLength getStartOffset( );
+ public SVGAnimatedEnumeration getMethod( );
+ public SVGAnimatedEnumeration getSpacing( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTextPositioningElement.java b/src/main/java/org/w3c/dom/svg/SVGTextPositioningElement.java new file mode 100644 index 0000000..93b9b60 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGTextPositioningElement.java @@ -0,0 +1,11 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGTextPositioningElement extends
+ SVGTextContentElement {
+ public SVGAnimatedLengthList getX( );
+ public SVGAnimatedLengthList getY( );
+ public SVGAnimatedLengthList getDx( );
+ public SVGAnimatedLengthList getDy( );
+ public SVGAnimatedNumberList getRotate( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTitleElement.java b/src/main/java/org/w3c/dom/svg/SVGTitleElement.java new file mode 100644 index 0000000..1252a15 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGTitleElement.java @@ -0,0 +1,8 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGTitleElement extends
+ SVGElement,
+ SVGLangSpace,
+ SVGStylable {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTransform.java b/src/main/java/org/w3c/dom/svg/SVGTransform.java new file mode 100644 index 0000000..2778d7a --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGTransform.java @@ -0,0 +1,24 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGTransform {
+ // Transform Types
+ public static final short SVG_TRANSFORM_UNKNOWN = 0;
+ public static final short SVG_TRANSFORM_MATRIX = 1;
+ public static final short SVG_TRANSFORM_TRANSLATE = 2;
+ public static final short SVG_TRANSFORM_SCALE = 3;
+ public static final short SVG_TRANSFORM_ROTATE = 4;
+ public static final short SVG_TRANSFORM_SKEWX = 5;
+ public static final short SVG_TRANSFORM_SKEWY = 6;
+
+ public short getType( );
+ public SVGMatrix getMatrix( );
+ public float getAngle( );
+
+ public void setMatrix ( SVGMatrix matrix );
+ public void setTranslate ( float tx, float ty );
+ public void setScale ( float sx, float sy );
+ public void setRotate ( float angle, float cx, float cy );
+ public void setSkewX ( float angle );
+ public void setSkewY ( float angle );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTransformList.java b/src/main/java/org/w3c/dom/svg/SVGTransformList.java new file mode 100644 index 0000000..238d2a7 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGTransformList.java @@ -0,0 +1,25 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGTransformList {
+ public int getNumberOfItems( );
+
+ public void clear ( )
+ throws DOMException;
+ public SVGTransform initialize ( SVGTransform newItem )
+ throws DOMException, SVGException;
+ public SVGTransform getItem ( int index )
+ throws DOMException;
+ public SVGTransform insertItemBefore ( SVGTransform newItem, int index )
+ throws DOMException, SVGException;
+ public SVGTransform replaceItem ( SVGTransform newItem, int index )
+ throws DOMException, SVGException;
+ public SVGTransform removeItem ( int index )
+ throws DOMException;
+ public SVGTransform appendItem ( SVGTransform newItem )
+ throws DOMException, SVGException;
+ public SVGTransform createSVGTransformFromMatrix ( SVGMatrix matrix );
+ public SVGTransform consolidate ( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGTransformable.java b/src/main/java/org/w3c/dom/svg/SVGTransformable.java new file mode 100644 index 0000000..d3db6e6 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGTransformable.java @@ -0,0 +1,7 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGTransformable extends
+ SVGLocatable {
+ public SVGAnimatedTransformList getTransform( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGURIReference.java b/src/main/java/org/w3c/dom/svg/SVGURIReference.java new file mode 100644 index 0000000..c876e11 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGURIReference.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGURIReference {
+ public SVGAnimatedString getHref( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGUnitTypes.java b/src/main/java/org/w3c/dom/svg/SVGUnitTypes.java new file mode 100644 index 0000000..b883e55 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGUnitTypes.java @@ -0,0 +1,9 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGUnitTypes {
+ // Unit Types
+ public static final short SVG_UNIT_TYPE_UNKNOWN = 0;
+ public static final short SVG_UNIT_TYPE_USERSPACEONUSE = 1;
+ public static final short SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGUseElement.java b/src/main/java/org/w3c/dom/svg/SVGUseElement.java new file mode 100644 index 0000000..cfbb8f3 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGUseElement.java @@ -0,0 +1,21 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.EventTarget;
+
+public interface SVGUseElement extends
+ SVGElement,
+ SVGURIReference,
+ SVGTests,
+ SVGLangSpace,
+ SVGExternalResourcesRequired,
+ SVGStylable,
+ SVGTransformable,
+ EventTarget {
+ public SVGAnimatedLength getX( );
+ public SVGAnimatedLength getY( );
+ public SVGAnimatedLength getWidth( );
+ public SVGAnimatedLength getHeight( );
+ public SVGElementInstance getInstanceRoot( );
+ public SVGElementInstance getAnimatedInstanceRoot( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGVKernElement.java b/src/main/java/org/w3c/dom/svg/SVGVKernElement.java new file mode 100644 index 0000000..9236d70 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGVKernElement.java @@ -0,0 +1,6 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGVKernElement extends
+ SVGElement {
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGViewElement.java b/src/main/java/org/w3c/dom/svg/SVGViewElement.java new file mode 100644 index 0000000..e18d8bb --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGViewElement.java @@ -0,0 +1,10 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGViewElement extends
+ SVGElement,
+ SVGExternalResourcesRequired,
+ SVGFitToViewBox,
+ SVGZoomAndPan {
+ public SVGStringList getViewTarget( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGViewSpec.java b/src/main/java/org/w3c/dom/svg/SVGViewSpec.java new file mode 100644 index 0000000..a0200f0 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGViewSpec.java @@ -0,0 +1,13 @@ +
+package org.w3c.dom.svg;
+
+public interface SVGViewSpec extends
+ SVGZoomAndPan,
+ SVGFitToViewBox {
+ public SVGTransformList getTransform( );
+ public SVGElement getViewTarget( );
+ public String getViewBoxString( );
+ public String getPreserveAspectRatioString( );
+ public String getTransformString( );
+ public String getViewTargetString( );
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGZoomAndPan.java b/src/main/java/org/w3c/dom/svg/SVGZoomAndPan.java new file mode 100644 index 0000000..6d35ac5 --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGZoomAndPan.java @@ -0,0 +1,15 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.DOMException;
+
+public interface SVGZoomAndPan {
+ // Zoom and Pan Types
+ public static final short SVG_ZOOMANDPAN_UNKNOWN = 0;
+ public static final short SVG_ZOOMANDPAN_DISABLE = 1;
+ public static final short SVG_ZOOMANDPAN_MAGNIFY = 2;
+
+ public short getZoomAndPan( );
+ public void setZoomAndPan( short zoomAndPan )
+ throws DOMException;
+}
diff --git a/src/main/java/org/w3c/dom/svg/SVGZoomEvent.java b/src/main/java/org/w3c/dom/svg/SVGZoomEvent.java new file mode 100644 index 0000000..742b3ce --- /dev/null +++ b/src/main/java/org/w3c/dom/svg/SVGZoomEvent.java @@ -0,0 +1,13 @@ +
+package org.w3c.dom.svg;
+
+import org.w3c.dom.events.UIEvent;
+
+public interface SVGZoomEvent extends
+ UIEvent {
+ public SVGRect getZoomRectScreen( );
+ public float getPreviousScale( );
+ public SVGPoint getPreviousTranslate( );
+ public float getNewScale( );
+ public SVGPoint getNewTranslate( );
+}
|