Class OrderingDescriptor
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- org.glassfish.web.deployment.descriptor.OrderingDescriptor
-
- All Implemented Interfaces:
Serializable
public class OrderingDescriptor extends Descriptor
This represents the ordering resided in web-fragment.xml.- Author:
- Shing Wai Chan
- 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 OrderingDescriptor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OrderingOrderingDescriptor
getAfter()
OrderingOrderingDescriptor
getBefore()
void
setAfter(OrderingOrderingDescriptor after)
void
setBefore(OrderingOrderingDescriptor before)
static void
sort(List<WebFragmentDescriptor> wfs)
String
toString()
void
validate()
-
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, print, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
-
Methods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Method Detail
-
getAfter
public OrderingOrderingDescriptor getAfter()
-
setAfter
public void setAfter(OrderingOrderingDescriptor after)
-
getBefore
public OrderingOrderingDescriptor getBefore()
-
setBefore
public void setBefore(OrderingOrderingDescriptor before)
-
validate
public void validate()
-
toString
public String toString()
- Overrides:
toString
in classDynamicAttributesDescriptor
- Returns:
- a meaningfull string about ourself No Descriptor class which inherits this class should override this method. Rather print() method which is defined in this class should be overridden to describe itself. Refer to the comments on print() method for more details. This method is optimized for persformance reasons.
-
sort
public static void sort(List<WebFragmentDescriptor> wfs)
-
-