microsoft.exchange.webservices.data.misc
Class FolderIdWrapper

java.lang.Object
  extended by microsoft.exchange.webservices.data.misc.AbstractFolderIdWrapper
      extended by microsoft.exchange.webservices.data.misc.FolderIdWrapper

public class FolderIdWrapper
extends AbstractFolderIdWrapper

Represents a folder Id provided by a FolderId object.


Constructor Summary
FolderIdWrapper(FolderId folderId)
          Initializes a new instance of FolderIdWrapper.
 
Method Summary
protected  void validate(ExchangeVersion version)
          Validates folderId against specified version.
 void writeToXml(EwsServiceXmlWriter writer)
          Writes the Id encapsulated in the wrapper to XML.
 
Methods inherited from class microsoft.exchange.webservices.data.misc.AbstractFolderIdWrapper
getFolder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FolderIdWrapper

public FolderIdWrapper(FolderId folderId)
Initializes a new instance of FolderIdWrapper.

Parameters:
folderId - the folder id
Method Detail

writeToXml

public void writeToXml(EwsServiceXmlWriter writer)
                throws Exception
Writes the Id encapsulated in the wrapper to XML.

Specified by:
writeToXml in class AbstractFolderIdWrapper
Parameters:
writer - the writer
Throws:
Exception - the exception

validate

protected void validate(ExchangeVersion version)
                 throws ServiceVersionException
Validates folderId against specified version.

Overrides:
validate in class AbstractFolderIdWrapper
Parameters:
version - the version
Throws:
ServiceVersionException - the service version exception


Copyright © 2012–2015 Microsoft. All rights reserved.