You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by pb...@apache.org on 2002/12/03 08:19:18 UTC

cvs commit: xml-fop/src/org/apache/fop/datastructs Node.java

pbwest      2002/12/02 23:19:18

  Modified:    src/org/apache/fop/datastructs Tag: FOP_0-20-0_Alt-Design
                        Node.java
  Log:
  Iterator classes made public.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.3   +7 -7      xml-fop/src/org/apache/fop/datastructs/Attic/Node.java
  
  Index: Node.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/datastructs/Attic/Node.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- Node.java	5 Nov 2002 14:42:36 -0000	1.1.2.2
  +++ Node.java	3 Dec 2002 07:19:18 -0000	1.1.2.3
  @@ -565,7 +565,7 @@
        * 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 @@
        * 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 @@
        * containing Tree instance.
        */
   
  -    class Ancestor implements Iterator {
  +    public class Ancestor implements Iterator {
           private Node nextAncestor;
           private int age;
   
  @@ -896,7 +896,7 @@
        * behaviour.
        */
   
  -    class FollowingSibling implements ListIterator {
  +    public class FollowingSibling implements ListIterator {
   
           private ListIterator listIterator;
           private ArrayList rootDummy = new ArrayList();
  @@ -1008,7 +1008,7 @@
        * behaviour.
        */
   
  -    class PrecedingSibling implements ListIterator {
  +    public class PrecedingSibling implements ListIterator {
   
           private ListIterator listIterator;
           private ArrayList rootDummy = new ArrayList();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org