Ignore:
Timestamp:
05/23/13 19:48:05 (11 years ago)
Author:
davidb
Message:

Introduction of method 'gSortedItems()' to help with more advanced forms of text-item traversal. Used (i.e. overriden), for example, in JavaWriter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/io/DefaultTreeWriter.java

    r376 r460  
    6767        }
    6868
     69        protected List<Item> getSortedItems(Frame frame)
     70        {
     71                List<Item> items = frame.getItems();
     72                return items;
     73        }
     74       
    6975        protected void outputTree(Frame toWrite) throws IOException {
    7076                if (toWrite == null)
     
    8995
    9096                        // the items on the frame currently being processed.
    91                         List<Item> items = next.getItems();
     97                        List<Item> items = getSortedItems(next);
    9298
    9399                        // write any information relating to the end of the link
     
    144150                                                        }
    145151                                                }
    146                                                 // Dont write out the title here because it is written
     152                                                // Don't write out the title here because it is written
    147153                                                // out earlier
    148154                                        } else if (item != title)
Note: See TracChangeset for help on using the changeset viewer.