serf.data.storage.impl
Class GetRecordsFromYahooXML

java.lang.Object
  extended by serf.data.storage.impl.GetRecordsFromYahooXML
All Implemented Interfaces:
DataSource

public class GetRecordsFromYahooXML
extends java.lang.Object
implements DataSource


Constructor Summary
GetRecordsFromYahooXML(org.xml.sax.InputSource is)
           
GetRecordsFromYahooXML(java.lang.String fileSrc)
           
 
Method Summary
 java.util.Set<Record> getAllRecords()
           
 java.util.Iterator iterator()
           
 void parseXML()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetRecordsFromYahooXML

public GetRecordsFromYahooXML(org.xml.sax.InputSource is)
                       throws org.xml.sax.SAXException,
                              javax.xml.parsers.ParserConfigurationException
Throws:
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

GetRecordsFromYahooXML

public GetRecordsFromYahooXML(java.lang.String fileSrc)
                       throws org.xml.sax.SAXException,
                              javax.xml.parsers.ParserConfigurationException,
                              java.io.IOException
Throws:
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException
Method Detail

parseXML

public void parseXML()
              throws org.xml.sax.SAXException,
                     java.io.IOException
Throws:
org.xml.sax.SAXException
java.io.IOException

getAllRecords

public java.util.Set<Record> getAllRecords()
Specified by:
getAllRecords in interface DataSource

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface DataSource