|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.registry.infomodel Interface EmailAddress
public interface EmailAddress
表示电子邮件地址。
See also | javax.xml.registry.infomodel.User |
Represents an email address.
- Author:
- Farrukh S. Najmi
- See Also:
User
Method Summary | |
---|---|
String |
getAddress()
Returns the email address for this object. |
String |
getType()
Gets the type for this object. |
void |
setAddress(String address)
Sets the email address for this object. |
void |
setType(String type)
Sets the type for this object. |
Method Detail |
---|
public String
getAddress() throws JAXRException
返回此对象的电子邮件地址。默认值为 NULL 字符串。
- 功能级别:0
return | 实际电子邮件地址(例如 [email protected]) |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
getAddress
String getAddress() throws JAXRException
- Returns the email address for this object.
Default is a NULL String.
- Capability Level: 0
- Returns:
- the actual email address (e.g. [email protected])
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
setAddress(String address) throws JAXRException
设置此对象的电子邮件地址。
- 功能级别:0
address | 实际电子邮件地址(例如 [email protected]) |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setAddress
void setAddress(String address) throws JAXRException
- Sets the email address for this object.
- Capability Level: 0
- Parameters:
address
- the actual email address (e.g. [email protected])- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public String
getType() throws JAXRException
获取此对象的类型。默认值为 NULL 字符串。
- 功能级别:0
return | 此对象的使用类型,它是一个任意值(例如,"Home" 或 "Office") |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
getType
String getType() throws JAXRException
- Gets the type for this object.
Default is a NULL String.
- Capability Level: 0
- Returns:
- the usage type for this object which is an arbitrary value (e.g. "Home" or "Office")
- Throws:
JAXRException
- If the JAXR provider encounters an internal error
public void
setType(String type) throws JAXRException
设置此对象的类型。
- 功能级别:0
type | 此对象的使用类型,它是一个任意值(例如,"Home" 或 "Office") |
Throws | JAXRException: 如果 JAXR 提供者遇到内部错误 |
setType
void setType(String type) throws JAXRException
- Sets the type for this object.
- Capability Level: 0
- Parameters:
type
- the usage type for this object which is an arbitrary value (e.g. "Home" or "Office")- Throws:
JAXRException
- If the JAXR provider encounters an internal error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!