public class EwsServiceMultiResponseXmlReader extends EwsServiceXmlReader
Necessary because the basic EwsServiceXmlReader does not use normalization (see E14:60369), and in order to turn normalization off, it is necessary to use an XmlTextReader, which does not allow the ConformanceLevel.Auto that a multi-response stream requires. If ever there comes a time we need to deal with multi-response streams with user-generated content, we will need to tackle that parsing problem separately.
Modifier and Type | Method and Description |
---|---|
static EwsServiceMultiResponseXmlReader |
create(InputStream stream,
ExchangeService service)
Creates a new instance of the EwsServiceMultiResponseXmlReader class.
|
protected XMLEventReader |
initializeXmlReader(InputStream stream)
Initializes the XML reader.
|
getService, readElementValueAsDateTime, readElementValueAsDateTime, readElementValueAsUnbiasedDateTimeScopedToServiceTimeZone, readElementValueAsUnspecifiedDate, readServiceObjectsCollectionFromXml, setService
checkEndElement, ensureCurrentNodeIsEndElement, ensureCurrentNodeIsStartElement, ensureCurrentNodeIsStartElement, getLocalName, getName, getNamespacePrefix, getNamespaceUri, getNodeType, getXmlReaderForNode, hasAttributes, isEmptyElement, isEndElement, isEndElement, isStartElement, isStartElement, isStartElement, read, read, readAttributeValue, readAttributeValue, readAttributeValue, readBase64ElementValue, readBase64ElementValue, readElementValue, readElementValue, readElementValue, readElementValue, readElementValue, readEndElement, readEndElement, readEndElementIfNecessary, readInnerXml, readNullableAttributeValue, readOuterXml, readStartElement, readStartElement, readSubtree, readToDescendant, readToDescendant, readValue, readValue, readValue, skipCurrentElement, skipElement, skipElement, tryReadValue
public static EwsServiceMultiResponseXmlReader create(InputStream stream, ExchangeService service) throws Exception
stream
- the streamservice
- the serviceException
- on errorprotected XMLEventReader initializeXmlReader(InputStream stream) throws Exception
initializeXmlReader
in class EwsXmlReader
stream
- The stream. An XML reader to use.Exception
- on errorCopyright © 2012–2015 Microsoft. All rights reserved.