|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiweekly.Biweekly.ParserChainXmlString
public static class Biweekly.ParserChainXmlString
Chainer class for parsing XML-encoded iCalendar objects (xCal).
Biweekly.parseXml(String)
Method Summary | |
---|---|
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(ICalComponentMarshaller<? extends ICalComponent> marshaller)
Registers a component marshaller. |
Biweekly.ParserChainXmlString |
register(ICalPropertyMarshaller<? extends ICalProperty> marshaller)
Registers a property marshaller. |
Biweekly.ParserChainXmlString |
warnings(List<List<String>> warnings)
Provides a list for putting the parser warnings into. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Biweekly.ParserChainXmlString register(ICalPropertyMarshaller<? extends ICalProperty> marshaller)
marshaller
- the marshaller
public Biweekly.ParserChainXmlString register(ICalComponentMarshaller<? extends ICalComponent> marshaller)
marshaller
- the marshaller
public 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 XML
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |