Class ItemWrapper
- java.lang.Object
-
- microsoft.exchange.webservices.data.misc.AbstractItemIdWrapper
-
- microsoft.exchange.webservices.data.misc.ItemWrapper
-
public class ItemWrapper extends AbstractItemIdWrapper
Represents an item Id provided by a ItemBase object.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedItemWrapper(Item item)Initializes a new instance of ItemWrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemgetItem()Obtains the ItemBase object associated with the wrapper.protected voidwriteToXml(EwsServiceXmlWriter writer)Writes the Id encapsulated in the wrapper to XML.
-
-
-
Constructor Detail
-
ItemWrapper
protected ItemWrapper(Item item) throws ServiceLocalException
Initializes a new instance of ItemWrapper.- Parameters:
item- the item- Throws:
ServiceLocalException- the service local exception
-
-
Method Detail
-
getItem
public Item getItem()
Obtains the ItemBase object associated with the wrapper.- Overrides:
getItemin classAbstractItemIdWrapper- Returns:
- The ItemBase object associated with the wrapper
-
writeToXml
protected void writeToXml(EwsServiceXmlWriter writer) throws Exception
Writes the Id encapsulated in the wrapper to XML.- Specified by:
writeToXmlin classAbstractItemIdWrapper- Parameters:
writer- the writer- Throws:
Exception- the exception
-
-