com.sun.enterprise.deployment
Class OrderingDescriptor

java.lang.Object
  extended by java.util.Observable
      extended by com.sun.enterprise.deployment.DynamicAttributesDescriptor
          extended by com.sun.enterprise.deployment.Descriptor
              extended by com.sun.enterprise.deployment.OrderingDescriptor
All Implemented Interfaces:
java.io.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 com.sun.enterprise.deployment.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
 
Constructor Summary
OrderingDescriptor()
           
 
Method Summary
 OrderingOrderingDescriptor getAfter()
           
 OrderingOrderingDescriptor getBefore()
           
 void setAfter(OrderingOrderingDescriptor after)
           
 void setBefore(OrderingOrderingDescriptor before)
           
static void sort(java.util.List<WebFragmentDescriptor> wfs)
           
 java.lang.String toString()
           
 void validate()
           
 
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, print, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
 
Methods inherited from class com.sun.enterprise.deployment.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute
 
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
 

Constructor Detail

OrderingDescriptor

public OrderingDescriptor()
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 java.lang.String toString()
Overrides:
toString in class DynamicAttributesDescriptor
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(java.util.List<WebFragmentDescriptor> wfs)


Copyright © 2012 GlassFish Community. All Rights Reserved.