uk.ac.man.documentparser.input
Class BMCXML

java.lang.Object
  extended by 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


Field Summary
private  java.io.File file
           
private  java.lang.String idend
           
private  java.lang.String idstart
           
private  java.lang.String[] validTextLocations
           
 
Constructor Summary
BMCXML(java.io.File file)
           
BMCXML(java.lang.StringBuffer data)
           
 
Method Summary
 boolean hasNext()
           
 java.util.Iterator<Document> iterator()
           
 Document next()
           
 void remove()
           
 void skip()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

private java.io.File file

validTextLocations

private java.lang.String[] validTextLocations

idstart

private java.lang.String idstart

idend

private java.lang.String idend
Constructor Detail

BMCXML

public BMCXML(java.io.File file)

BMCXML

public BMCXML(java.lang.StringBuffer data)
Method Detail

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>