Package com.sun.enterprise.deployment
Class ExtensionElementDescriptor
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- com.sun.enterprise.deployment.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
-
-
Field Summary
-
Fields inherited from class org.glassfish.deployment.common.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
-
-
Constructor Summary
Constructors Constructor Description ExtensionElementDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddElement(String elementName, Object value)DynamicAttributesDescriptorgetAttributes()ObjectgetElement(String elementName)IteratorgetElementNames()booleanhasAttributes()voidprint(StringBuilder toStringBuilder)A String representation of this object.voidupdate(Observable o, Object arg)notification of changed from our attributes/elements storage-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
-
Methods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Method Detail
-
getElementNames
public Iterator getElementNames()
- Returns:
- the value holder for all sub elements of this deployment extension element
-
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
-
print
public void print(StringBuilder toStringBuilder)
Description copied from class:DescriptorA String representation of this object.- Overrides:
printin classDescriptor
-
-