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
           
 XMLEventReader eventReader
           
 String filter
           
 XMLInputFactory ifactory
           
 InputStream inputStream
           
 int limit
           
 String model
           
 String pathUrl
           
 int start
           
 NodeList sum
           
 
Constructor Summary
RecordsIterator(String baseurl, String filter, String model, int limit)
           
 
Method Summary
 boolean getRecord()
           
 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

filter

public String filter

baseurl

public String baseurl

model

public String model

limit

public int limit

eventReader

public XMLEventReader eventReader

ifactory

public XMLInputFactory ifactory

inputStream

public InputStream inputStream
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()

getRecord

public boolean getRecord()
                  throws XMLStreamException
Throws:
XMLStreamException


Copyright © 2013. All Rights Reserved.