|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.misc.id.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. |
void |
loadAttributesFromXml(EwsServiceXmlReader reader)
Loads the attribute from XML. |
void |
setFormat(IdFormat format)
Sets the format. |
void |
validate()
Validates this instance. |
protected void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML. |
void |
writeToXml(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(EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writer - the writer
ServiceXmlSerializationException - the service xml serialization exception
public void loadAttributesFromXml(EwsServiceXmlReader reader)
throws Exception
reader - the reader
Exception - the exception
public void writeToXml(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
validate in interface ISelfValidateException
ServiceValidationException - the service validation exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||