| 
 | J2EE1.4 SDK | |||||||||
| 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(java.util.Collection slots)Adds more Slots to this object. | 
|  Slot | getSlot(java.lang.String slotName)Gets 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 | 
public void addSlot(Slot slot)
             throws JAXRException
slot - the Slot object being added to this object
JAXRException - If the JAXR provider encounters an internal error
public void 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 error
public void 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 error
public void 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 error
public Slot getSlot(java.lang.String slotName)
             throws JAXRException
slotName - the name of the desired Slot object
JAXRException - If the JAXR provider encounters an internal error
public java.util.Collection getSlots()
                              throws JAXRException
JAXRException - If the JAXR provider encounters an internal error| 
 | J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.