summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/kitfox/salamander/svg/docStruct/SVGElementInstanceList.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/kitfox/salamander/svg/docStruct/SVGElementInstanceList.java')
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/docStruct/SVGElementInstanceList.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/main/java/com/kitfox/salamander/svg/docStruct/SVGElementInstanceList.java b/src/main/java/com/kitfox/salamander/svg/docStruct/SVGElementInstanceList.java
new file mode 100755
index 0000000..1d9a017
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/docStruct/SVGElementInstanceList.java
@@ -0,0 +1,29 @@
+/*
+ * SVGElementInstanceList.java
+ *
+ * Created on April 12, 2007, 6:28 PM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.docStruct;
+
+/**
+ *
+ * The SVGElementInstanceList interface provides the abstraction of an ordered collection of SVGElementInstance objects, without defining or constraining how this collection is implemented.
+ * @author kitfox
+ */
+public interface SVGElementInstanceList
+{
+ /**
+ * The number of SVGElementInstance objects in the list. The range of valid child indices is 0 to length-1 inclusive.
+ */
+ public int getLength();
+ /**
+ * Returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.
+ * @param index Index into the collection.
+ * @return The SVGElementInstance object at the indexth position in the SVGElementInstanceList, or null if that is not a valid index.
+ */
+ public SVGElementInstance item(int index);
+}