Class ExtensionElementDescriptor

  • All Implemented Interfaces:
    Serializable, Observer

    public class ExtensionElementDescriptor
    extends Descriptor
    implements Observer
    This class contains the deployment extensions element for a particular xml node. It can contains sub elements (other ExtensionElementDescriptor instances) or final leafs like attribute or string elements.
    Author:
    Jerome Dochez
    See Also:
    Serialized Form
    • Constructor Detail

      • ExtensionElementDescriptor

        public ExtensionElementDescriptor()
    • Method Detail

      • getElementNames

        public Iterator getElementNames()
        Returns:
        the value holder for all sub elements of this deployment extension element
      • addElement

        public void addElement​(String elementName,
                               Object value)
      • getElement

        public Object getElement​(String elementName)
      • getAttributes

        public DynamicAttributesDescriptor getAttributes()
        Returns:
        a value holder for all attributes of this deployment extension elements
      • hasAttributes

        public boolean hasAttributes()
        Returns:
        true if the deployment extension contains attributes
      • update

        public void update​(Observable o,
                           Object arg)
        notification of changed from our attributes/elements storage
        Specified by:
        update in interface Observer