|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.AlternateIdBase
public abstract class AlternateIdBase
Represents the base class for Id expressed in a specific format.
| Constructor Summary | |
|---|---|
protected |
AlternateIdBase()
Initializes a new instance of the class. |
protected |
AlternateIdBase(IdFormat format)
Initializes a new instance of the class. |
| Method Summary | |
|---|---|
IdFormat |
getFormat()
Gets the format in which the Id in expressed. |
protected abstract String |
getXmlElementName()
Gets the name of the XML element. |
protected void |
internalValidate()
Validate this instance. |
protected void |
loadAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Loads the attributes from XML. |
void |
setFormat(IdFormat format)
Sets the format. |
void |
validate()
Validates this instance. |
protected void |
writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes the attributes to XML. |
protected void |
writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes to XML. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AlternateIdBase()
protected AlternateIdBase(IdFormat format)
format - the format| Method Detail |
|---|
public IdFormat getFormat()
public void setFormat(IdFormat format)
format - the new formatprotected abstract String getXmlElementName()
protected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writer - the writer
ServiceXmlSerializationException - the service xml serialization exception
protected void loadAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
throws Exception
reader - the reader
Exception - the exception
protected void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException,
XMLStreamException
writer - the writer
ServiceXmlSerializationException - the service xml serialization exception
XMLStreamException - the xML stream exception
protected void internalValidate()
throws Exception
Exception
public void validate()
throws Exception
Exception
ServiceValidationException - the service validation exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||