com.sun.enterprise.deployment
Class ExtensionElementDescriptor
java.lang.Object
java.util.Observable
com.sun.enterprise.deployment.DynamicAttributesDescriptor
com.sun.enterprise.deployment.Descriptor
com.sun.enterprise.deployment.ExtensionElementDescriptor
- All Implemented Interfaces:
- java.io.Serializable, java.util.Observer
public class ExtensionElementDescriptor
- extends Descriptor
- implements java.util.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
| Methods inherited from class com.sun.enterprise.deployment.Descriptor |
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, 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 java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExtensionElementDescriptor
public ExtensionElementDescriptor()
getElementNames
public java.util.Iterator getElementNames()
- Returns:
- the value holder for all sub elements of
this deployment extension element
addElement
public void addElement(java.lang.String elementName,
java.lang.Object value)
getElement
public java.lang.Object getElement(java.lang.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(java.util.Observable o,
java.lang.Object arg)
- notification of changed from our attributes/elements
storage
- Specified by:
update in interface java.util.Observer
print
public void print(java.lang.StringBuffer toStringBuffer)
- Description copied from class:
Descriptor
- A String representation of this object.
- Overrides:
print in class Descriptor
Copyright © 2012 GlassFish Community. All Rights Reserved.