Class ExtensibleObjectImpl

    • Constructor Detail

      • ExtensibleObjectImpl

        public ExtensibleObjectImpl()
        Creates new ExtensibleObjectImpl
    • Method Detail

      • addSlot

        public void addSlot​(Slot slot)
                     throws JAXRException
        Add a single slot to the map. The map key is slot.getName() The slot cannot be null.
        Specified by:
        addSlot in interface ExtensibleObject
        Parameters:
        slot - the Slot object being added to this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addSlots

        public void addSlots​(Collection slots)
                      throws JAXRException
        Add multiple slots. Null param is treated as an empty collection.
        Specified by:
        addSlots in interface ExtensibleObject
        Parameters:
        slots - the Collection of Slot objects being added to this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeSlot

        public void removeSlot​(String slotName)
                        throws JAXRException
        Remove single slot from the map.
        Specified by:
        removeSlot in interface ExtensibleObject
        Parameters:
        slotName - the name for the Slot object being removed from this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeSlots

        public void removeSlots​(Collection slotNames)
                         throws JAXRException
        Remove all slots with the given names. Null param is treated as an empty collection.
        Specified by:
        removeSlots in interface ExtensibleObject
        Parameters:
        slotNames - the Collection of names for Slot objects being removed from this object. Must be a Collection of Strings
        Throws:
        JAXRException - If the JAXR provider encounters an internal error