owltools.flex
Class FlexDocument
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lines
protected List<FlexLine> lines
FlexDocument
public FlexDocument()
- Init.
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.