|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Slot
Method Summary | |
---|---|
void |
addSlot(Slot slot)
Adds a Slot to this object. |
void |
addSlots(java.util.Collection slots)
Adds more Slots to this object. |
Slot |
getSlot(java.lang.String slotName)
Get the slot specified by slotName |
java.util.Collection |
getSlots()
Returns the Slots associated with this object. |
void |
removeSlot(java.lang.String slotName)
Removes a Slot from this object. |
void |
removeSlots(java.util.Collection slotNames)
Removes specified Slots from this object. |
Method Detail |
---|
void addSlot(Slot slot) throws JAXRException
slot
- the Slot object being added to this object
JAXRException
- If the JAXR provider encounters an internal errorvoid addSlots(java.util.Collection slots) throws JAXRException
slots
- the Collection of Slot objects being added to this object
JAXRException
- If the JAXR provider encounters an internal errorvoid removeSlot(java.lang.String slotName) throws JAXRException
slotName
- the name for the Slot object being removed from this object
JAXRException
- If the JAXR provider encounters an internal errorvoid removeSlots(java.util.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 errorSlot getSlot(java.lang.String slotName) throws JAXRException
slotName
- the name of the desired Slot object
JAXRException
- If the JAXR provider encounters an internal errorjava.util.Collection getSlots() throws JAXRException
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 |
Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 4-June-2010 04:34