Class InternetMessageHeaderCollection
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.ComplexPropertyCollection<InternetMessageHeader>
-
- microsoft.exchange.webservices.data.property.complex.InternetMessageHeaderCollection
-
- All Implemented Interfaces:
Iterable<InternetMessageHeader>,ICustomXmlUpdateSerializer,ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>,IComplexPropertyChangedDelegate<InternetMessageHeader>
public final class InternetMessageHeaderCollection extends ComplexPropertyCollection<InternetMessageHeader>
Represents a collection of Internet message headers.
-
-
Constructor Summary
Constructors Constructor Description InternetMessageHeaderCollection()Initializes a new instance of the "InternetMessageHeaderCollection" class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected InternetMessageHeadercreateComplexProperty(String xmlElementName)Creates the complex property.InternetMessageHeaderfind(String name)Find a specific header in the collection.protected StringgetCollectionItemXmlElementName(InternetMessageHeader complexProperty)Gets the name of the collection item XML element.-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexPropertyCollection
clearChangeLog, complexPropertyChanged, contains, getAddedItems, getCount, getItems, getModifiedItems, getPropertyAtIndex, getRemovedItems, indexOf, internalAdd, internalClear, internalRemove, internalRemoveAt, itemChanged, iterator, loadFromXml, loadFromXml, removeFromChangeLog, shouldWriteToXml, updateFromXml, writeDeleteUpdateToXml, writeElementsToXml, writeSetUpdateToXml, writeToXml
-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, func, getNamespace, internalValidate, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, validate, writeAttributesToXml, writeToXml
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
InternetMessageHeaderCollection
public InternetMessageHeaderCollection()
Initializes a new instance of the "InternetMessageHeaderCollection" class.
-
-
Method Detail
-
createComplexProperty
protected InternetMessageHeader createComplexProperty(String xmlElementName)
Creates the complex property.- Specified by:
createComplexPropertyin classComplexPropertyCollection<InternetMessageHeader>- Parameters:
xmlElementName- Name of the XML element.- Returns:
- InternetMessageHeader instance
-
getCollectionItemXmlElementName
protected String getCollectionItemXmlElementName(InternetMessageHeader complexProperty)
Gets the name of the collection item XML element.- Specified by:
getCollectionItemXmlElementNamein classComplexPropertyCollection<InternetMessageHeader>- Parameters:
complexProperty- The complex property.- Returns:
- XML element name.
-
find
public InternetMessageHeader find(String name)
Find a specific header in the collection.- Parameters:
name- The name of the header to locate.- Returns:
- An InternetMessageHeader representing the header with the specified name; null if no header with the specified name was found.
-
-