summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/kitfox/salamander/svg/basic/SVGElement.java
diff options
context:
space:
mode:
authorkitfox2007-04-12 22:35:16 +0200
committerkitfox2007-04-12 22:35:16 +0200
commit23ebe96d580929d66b7c8efc1b61226db0c7dcf9 (patch)
treef218607e111344462350292ac2a64ec05a464504 /src/main/java/com/kitfox/salamander/svg/basic/SVGElement.java
parentPseudocode for main rendering logic. Roughing in SVG structure. (diff)
downloadsvg-salamander-core-23ebe96d580929d66b7c8efc1b61226db0c7dcf9.tar.gz
svg-salamander-core-23ebe96d580929d66b7c8efc1b61226db0c7dcf9.tar.xz
svg-salamander-core-23ebe96d580929d66b7c8efc1b61226db0c7dcf9.zip
Pseudocode for main rendering logic. Roughing in SVG structure.
git-svn-id: https://svn.java.net/svn/svgsalamander~svn/trunk/svg-core@11 7dc7fa77-23fb-e6ad-8e2e-c86bd48ed22b
Diffstat (limited to 'src/main/java/com/kitfox/salamander/svg/basic/SVGElement.java')
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGElement.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGElement.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGElement.java
new file mode 100755
index 0000000..aa1c962
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/basic/SVGElement.java
@@ -0,0 +1,35 @@
+/*
+ * SVGElement.java
+ *
+ * Created on April 12, 2007, 12:45 PM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.basic;
+
+/**
+ *
+ * All of the SVG DOM interfaces that correspond directly to elements in the SVG language (e.g., the SVGPathElement interface corresponds directly to the 'path' element in the language) are derivative from base class SVGElement.
+ * @author kitfox
+ */
+public interface SVGElement
+{
+ /**
+ * The value of the id attribute on the given element.
+ */
+ public String getId();
+ /**
+ * Corresponds to attribute xml:base on the given element.
+ */
+ public String getXmlbase();
+ /**
+ * The nearest ancestor 'svg' element. Null if the given element is the outermost 'svg' element.
+ */
+ public SVGElement getOwnerSVGElement();
+ /**
+ * The element which established the current viewport. Often, the nearest ancestor 'svg' element. Null if the given element is the outermost 'svg' element.
+ */
+ public SVGElement getViewportElement();
+}