org.jasig.schedassist.impl.caldav.xml
Class ReportResponseHandlerImpl
java.lang.Object
org.jasig.schedassist.impl.caldav.xml.ReportResponseHandlerImpl
public class ReportResponseHandlerImpl
- extends Object
StaX based parser for handling the response body of ReportMethod
requests.
This class has a static initializer that sets
CompatibilityHints.KEY_RELAXED_UNFOLDING to true.
- Version:
- $ Id: ReportResponseHandlerImpl.java $
- Author:
- Nicholas Blair
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WEBDAV_NS
protected static final String WEBDAV_NS
- See Also:
- Constant Field Values
HREF
protected static final String HREF
- See Also:
- Constant Field Values
ETAG
protected static final String ETAG
- See Also:
- Constant Field Values
CALDAV_NS
protected static final String CALDAV_NS
- See Also:
- Constant Field Values
CALENDAR_DATA
protected static final String CALENDAR_DATA
- See Also:
- Constant Field Values
log
protected final org.apache.commons.logging.Log log
ReportResponseHandlerImpl
public ReportResponseHandlerImpl()
extractCalendars
public List<CalendarWithURI> extractCalendars(InputStream inputStream)
- Extracts a
List of Calendars from the InputStream, if present.
- Parameters:
inputStream -
- Returns:
- a never null, but possibly empty
List of Calendars from the InputStream
- Throws:
XmlParsingException - in the event the stream could not be properly parsed
isWebdavEtagElement
protected boolean isWebdavEtagElement(QName qname)
- Parameters:
qname -
- Returns:
- true if the argument is a WebDAV 'getetag' element
isWebdavHrefElement
protected boolean isWebdavHrefElement(QName qname)
- Parameters:
qname -
- Returns:
- true if the argument is a WebDAV 'href' element
isCalendarDataElement
protected boolean isCalendarDataElement(QName qname)
- Parameters:
qname -
- Returns:
- true if the argument is a CalDAV 'calendar-data' element
extractCalendar
protected net.fortuna.ical4j.model.Calendar extractCalendar(String text)
- Parameters:
text -
- Returns:
- a
Calendar from the text, or null if not parseable
Copyright © 2011 Jasig. All Rights Reserved.