serf.data.storage.impl
Class GetRecordsFromYahooXML
java.lang.Object
serf.data.storage.impl.GetRecordsFromYahooXML
- All Implemented Interfaces:
- DataSource
public class GetRecordsFromYahooXML
- extends java.lang.Object
- implements DataSource
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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