|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.man.documentparser.input.OTMI
public class OTMI
Field Summary | |
---|---|
private org.w3c.dom.Node |
root
|
Constructor Summary | |
---|---|
OTMI(java.io.File file)
|
Method Summary | |
---|---|
private java.util.ArrayList<java.lang.String> |
getSnippets(org.w3c.dom.NodeList sections)
|
private java.util.HashMap<java.lang.String,java.lang.Integer> |
getWordCounts(org.w3c.dom.NodeList sections)
|
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 |
---|
private org.w3c.dom.Node root
Constructor Detail |
---|
public OTMI(java.io.File file)
Method Detail |
---|
public void skip()
skip
in interface DocumentIterator
public boolean hasNext()
hasNext
in interface java.util.Iterator<Document>
public java.util.Iterator<Document> iterator()
iterator
in interface java.lang.Iterable<Document>
private java.util.ArrayList<java.lang.String> getSnippets(org.w3c.dom.NodeList sections)
private java.util.HashMap<java.lang.String,java.lang.Integer> getWordCounts(org.w3c.dom.NodeList sections)
public Document next()
next
in interface java.util.Iterator<Document>
public void remove()
remove
in interface java.util.Iterator<Document>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |