uk.ac.man.documentparser.input
Class BMCXML
java.lang.Object
uk.ac.man.documentparser.input.BMCXML
- All Implemented Interfaces:
- java.lang.Iterable<Document>, java.util.Iterator<Document>, DocumentIterator
public class BMCXML
- extends java.lang.Object
- implements DocumentIterator
Constructor Summary |
BMCXML(java.io.File file)
|
BMCXML(java.lang.StringBuffer data)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
file
private java.io.File file
validTextLocations
private java.lang.String[] validTextLocations
idstart
private java.lang.String idstart
idend
private java.lang.String idend
BMCXML
public BMCXML(java.io.File file)
BMCXML
public BMCXML(java.lang.StringBuffer data)
skip
public void skip()
- Specified by:
skip
in interface DocumentIterator
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<Document>
next
public Document next()
- Specified by:
next
in interface java.util.Iterator<Document>
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator<Document>
iterator
public java.util.Iterator<Document> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<Document>