public static class Biweekly.ParserChainXmlReader extends Object
Modifier and Type | Method and Description |
---|---|
List<ICalendar> |
all()
Reads all iCalendar objects from the data stream.
|
ICalendar |
first()
Reads the first iCalendar object from the data stream.
|
Biweekly.ParserChainXmlReader |
register(ICalComponentScribe<? extends ICalComponent> scribe)
Registers a component scribe.
|
Biweekly.ParserChainXmlReader |
register(ICalPropertyScribe<? extends ICalProperty> scribe)
Registers a property scribe.
|
Biweekly.ParserChainXmlReader |
warnings(List<List<String>> warnings)
Provides a list for putting the parser warnings into.
|
public Biweekly.ParserChainXmlReader register(ICalPropertyScribe<? extends ICalProperty> scribe)
scribe
- the scribepublic Biweekly.ParserChainXmlReader register(ICalComponentScribe<? extends ICalComponent> scribe)
scribe
- the scribepublic Biweekly.ParserChainXmlReader warnings(List<List<String>> warnings)
warnings
- the list object to populate (it is a
"list of lists"--each parsed ICalendar
object has its own
warnings list)public ICalendar first() throws IOException, SAXException
IOException
- if there a problem reading from the data streamSAXException
- if there's a problem parsing the XMLpublic List<ICalendar> all() throws IOException, SAXException
IOException
- if there's a problem reading from the data streamSAXException
- if there's a problem parsing the XMLCopyright © 2013-2015 Michael Angstadt. All Rights Reserved.