microsoft.exchange.webservices.data
Class InternetMessageHeaderCollection

java.lang.Object
  extended by microsoft.exchange.webservices.data.ComplexProperty
      extended by microsoft.exchange.webservices.data.ComplexPropertyCollection<InternetMessageHeader>
          extended by microsoft.exchange.webservices.data.InternetMessageHeaderCollection
All Implemented Interfaces:
java.lang.Iterable<InternetMessageHeader>

public final class InternetMessageHeaderCollection
extends ComplexPropertyCollection<InternetMessageHeader>

Represents a collection of Internet message headers.


Constructor Summary
protected InternetMessageHeaderCollection()
          Initializes a new instance of the "InternetMessageHeaderCollection" class.
 
Method Summary
protected  InternetMessageHeader createComplexProperty(java.lang.String xmlElementName)
          Creates the complex property.
 InternetMessageHeader find(java.lang.String name)
          Find a specific header in the collection.
protected  java.lang.String getCollectionItemXmlElementName(InternetMessageHeader complexProperty)
          Gets the name of the collection item XML element.
 
Methods inherited from class microsoft.exchange.webservices.data.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.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
 

Constructor Detail

InternetMessageHeaderCollection

protected InternetMessageHeaderCollection()
Initializes a new instance of the "InternetMessageHeaderCollection" class.

Method Detail

createComplexProperty

protected InternetMessageHeader createComplexProperty(java.lang.String xmlElementName)
Creates the complex property.

Specified by:
createComplexProperty in class ComplexPropertyCollection<InternetMessageHeader>
Parameters:
xmlElementName - Name of the XML element.
Returns:
InternetMessageHeader instance

getCollectionItemXmlElementName

protected java.lang.String getCollectionItemXmlElementName(InternetMessageHeader complexProperty)
Gets the name of the collection item XML element.

Specified by:
getCollectionItemXmlElementName in class ComplexPropertyCollection<InternetMessageHeader>
Parameters:
complexProperty - The complex property.
Returns:
XML element name.

find

public InternetMessageHeader find(java.lang.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.