]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Iterator classes made public.
authorPeter Bernard West <pbwest@apache.org>
Tue, 3 Dec 2002 07:19:18 +0000 (07:19 +0000)
committerPeter Bernard West <pbwest@apache.org>
Tue, 3 Dec 2002 07:19:18 +0000 (07:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@195719 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/datastructs/Node.java

index 5b2b8862b657b6e8da577e62289363dd7528788d..276dc5392901b43b17caaa466f636f84abbdc50b 100644 (file)
@@ -565,7 +565,7 @@ public class Node implements Cloneable {
      * containing Tree instance.
      */
 
-    class PreOrder implements Iterator {
+    public class PreOrder implements Iterator {
         private boolean selfNotReturned = true;
         private int nextChildIndex = 0;     // N.B. this must be kept as
         // the index of the active child until that child is exhausted.
@@ -709,7 +709,7 @@ public class Node implements Cloneable {
      * containing Tree instance.
      */
 
-    class PostOrder implements Iterator {
+    public class PostOrder implements Iterator {
         private boolean selfReturned = false;
         private int nextChildIndex = 0;     // N.B. this must be kept as
         // the index of the active child until that child is exhausted.
@@ -827,7 +827,7 @@ public class Node implements Cloneable {
      * containing Tree instance.
      */
 
-    class Ancestor implements Iterator {
+    public class Ancestor implements Iterator {
         private Node nextAncestor;
         private int age;
 
@@ -896,7 +896,7 @@ public class Node implements Cloneable {
      * behaviour.
      */
 
-    class FollowingSibling implements ListIterator {
+    public class FollowingSibling implements ListIterator {
 
         private ListIterator listIterator;
         private ArrayList rootDummy = new ArrayList();
@@ -1008,7 +1008,7 @@ public class Node implements Cloneable {
      * behaviour.
      */
 
-    class PrecedingSibling implements ListIterator {
+    public class PrecedingSibling implements ListIterator {
 
         private ListIterator listIterator;
         private ArrayList rootDummy = new ArrayList();