|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Slot
Method Summary | |
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. |
Method Detail |
public void addSlot(Slot slot) throws JAXRException
slot
- the Slot object being added to this object
JAXRException
- If the JAXR provider encounters an internal errorpublic void addSlots(Collection slots) throws JAXRException
slots
- the Collection of Slot objects being added to this object
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeSlot(String slotName) throws JAXRException
slotName
- the name for the Slot object being removed from this object
JAXRException
- If the JAXR provider encounters an internal errorpublic void removeSlots(Collection slotNames) throws JAXRException
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 errorpublic Slot getSlot(String slotName) throws JAXRException
slotName
- the name of the desired Slot object
JAXRException
- If the JAXR provider encounters an internal errorpublic Collection getSlots() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal error
|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.