owltools.flex
Class FlexDocument

java.lang.Object
  extended by owltools.flex.FlexDocument
All Implemented Interfaces:
Iterable<FlexLine>

public class FlexDocument
extends Object
implements Iterable<FlexLine>

Pull defined sources into a middle state for output, loading into Solr, etc. TODO: allow clobbering and non-clobbering versions of add.


Field Summary
protected  List<FlexLine> lines
           
 
Constructor Summary
FlexDocument()
          Init.
 
Method Summary
 void add(FlexLine line)
          Add a line to the document.
 Iterator<FlexLine> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lines

protected List<FlexLine> lines
Constructor Detail

FlexDocument

public FlexDocument()
Init.

Method Detail

add

public void add(FlexLine line)
Add a line to the document. TODO: allow clobbering and non-clobbering versions of add.

Parameters:
line -

iterator

public Iterator<FlexLine> iterator()
Specified by:
iterator in interface Iterable<FlexLine>


Copyright © 2010-2013. All Rights Reserved.