|
||||||||
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 java.lang.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 formatMethod Detail |
---|
public IdFormat getFormat()
public void setFormat(IdFormat format)
format
- the new formatprotected abstract java.lang.String getXmlElementName()
protected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writer
- the writer
ServiceXmlSerializationException
- the service xml serialization exceptionprotected void loadAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws java.lang.Exception
reader
- the reader
java.lang.Exception
- the exceptionprotected void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws ServiceXmlSerializationException, javax.xml.stream.XMLStreamException
writer
- the writer
ServiceXmlSerializationException
- the service xml serialization exception
javax.xml.stream.XMLStreamException
- the xML stream exceptionprotected void internalValidate() throws java.lang.Exception
java.lang.Exception
public void validate() throws java.lang.Exception
java.lang.Exception
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |