public static class Biweekly.ParserChainXmlString extends Object
Biweekly.parseXml(String)
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.ParserChainXmlString |
register(ICalComponentScribe<? extends ICalComponent> scribe)
Registers a component scribe.
|
Biweekly.ParserChainXmlString |
register(ICalPropertyScribe<? extends ICalProperty> scribe)
Registers a property scribe.
|
Biweekly.ParserChainXmlString |
warnings(List<List<String>> warnings)
Provides a list for putting the parser warnings into.
|
public Biweekly.ParserChainXmlString register(ICalPropertyScribe<? extends ICalProperty> scribe)
scribe
- the scribepublic Biweekly.ParserChainXmlString register(ICalComponentScribe<? extends ICalComponent> scribe)
scribe
- the scribepublic Biweekly.ParserChainXmlString 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 SAXException
SAXException
- if there's a problem parsing the XMLpublic List<ICalendar> all() throws SAXException
SAXException
- if there's a problem parsing the XMLCopyright © 2013-2015 Michael Angstadt. All Rights Reserved.