|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.xml.registry.infomodel Interface ExtensibleObject
- 所有已知子接口:
- Association, AuditableEvent, Classification, ClassificationScheme, Concept, ExternalIdentifier, ExternalLink, ExtrinsicObject, Organization, PostalAddress, RegistryEntry, RegistryObject, RegistryPackage, Service, ServiceBinding, SpecificationLink, User
public interface ExtensibleObject
An ExtensibleObject is one that allows itself to be extended by utilizing dynamically added Slots that add arbitrary attributes to the object on a per instance basis.
- 作者:
- Farrukh S. Najmi
- 另请参见:
Slot
方法摘要 | |
---|---|
void |
addSlot(Slot slot)
Adds a Slot to this object. |
void |
addSlots(Collection slots)
Adds more Slots to this object. |
Slot |
getSlot(String slotName)
Gets the slot specified by slotName. |
Collection |
getSlots()
Returns the Slots associated with this object. |
void |
removeSlot(String slotName)
Removes a Slot from this object. |
void |
removeSlots(Collection slotNames)
Removes specified Slots from this object. |
方法详细信息 |
---|
addSlot
void addSlot(Slot slot) throws JAXRException
- Adds a Slot to this object.
- Capability Level: 0
- 参数:
slot
- the Slot object being added to this object- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
addSlots
void addSlots(Collection slots) throws JAXRException
- Adds more Slots to this object.
- Capability Level: 0
- 参数:
slots
- the Collection of Slot objects being added to this object- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
removeSlot
void removeSlot(String slotName) throws JAXRException
- Removes a Slot from this object. The Slot is identified by its name.
- Capability Level: 0
- 参数:
slotName
- the name for the Slot object being removed from this object- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
removeSlots
void removeSlots(Collection slotNames) throws JAXRException
- Removes specified Slots from this object. The Slots are identified by its name.
- Capability Level: 0
- 参数:
slotNames
- the Collection of names for Slot objects being removed from this object. Must be a Collection of Strings- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getSlot
Slot getSlot(String slotName) throws JAXRException
- Gets the slot specified by slotName.
- Capability Level: 0
- 参数:
slotName
- the name of the desired Slot object- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
getSlots
Collection getSlots() throws JAXRException
- Returns the Slots associated with this object.
- Capability Level: 0
- 返回:
- Collection of Slot instances. The Collection may be empty but not null.
- 抛出异常:
JAXRException
- If the JAXR provider encounters an internal error
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.