org.gcube.data.spd.parser
Class RecordsIterator

java.lang.Object
  extended by org.gcube.data.spd.parser.RecordsIterator
All Implemented Interfaces:
Iterator<DarwinSimpleRecord>

public class RecordsIterator
extends Object
implements Iterator<DarwinSimpleRecord>


Field Summary
 String baseurl
           
 int count
           
 DocumentBuilderFactory dbFactory
           
 DocumentBuilder dBuilder
           
 Document doc
           
 String filter
           
 int i
           
 int limit
           
 String model
           
 NodeList nList
           
 String pathUrl
           
 int start
           
 NodeList sum
           
 
Constructor Summary
RecordsIterator(String baseurl, String filter, String model, int limit)
           
 
Method Summary
 NodeList getDoc(Document doc)
           
 boolean hasNext()
           
 RecordsIterator iterator()
           
 DarwinSimpleRecord next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sum

public NodeList sum

start

public int start

count

public int count

pathUrl

public String pathUrl

i

public int i

nList

public NodeList nList

filter

public String filter

baseurl

public String baseurl

model

public String model

limit

public int limit

dbFactory

public DocumentBuilderFactory dbFactory

dBuilder

public DocumentBuilder dBuilder

doc

public Document doc
Constructor Detail

RecordsIterator

public RecordsIterator(String baseurl,
                       String filter,
                       String model,
                       int limit)
Method Detail

next

public DarwinSimpleRecord next()
Specified by:
next in interface Iterator<DarwinSimpleRecord>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<DarwinSimpleRecord>

remove

public void remove()
Specified by:
remove in interface Iterator<DarwinSimpleRecord>

iterator

public RecordsIterator iterator()

getDoc

public NodeList getDoc(Document doc)


Copyright © 2013. All Rights Reserved.