com.sun.enterprise.deployment
Class AbsoluteOrderingDescriptor

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.AbsoluteOrderingDescriptor
All Implemented Interfaces:
java.io.Serializable

public class AbsoluteOrderingDescriptor
extends Descriptor

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
AbsoluteOrderingDescriptor()
           
 
Method Summary
 void addName(java.lang.String name)
           
 void addOthers()
           
 java.util.List<java.lang.Object> getOrdering()
           
 boolean hasOthers()
           
 java.util.List<WebFragmentDescriptor> order(java.util.List<WebFragmentDescriptor> wfs)
          This method return the WebFragmentDescriptor in absolute order.
 
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, toString
 
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

AbsoluteOrderingDescriptor

public AbsoluteOrderingDescriptor()
Method Detail

addName

public void addName(java.lang.String name)

addOthers

public void addOthers()

getOrdering

public java.util.List<java.lang.Object> getOrdering()

hasOthers

public boolean hasOthers()
Returns:
true if this AbsoluteOrderingDescriptor contains an others element, false otherwise

order

public java.util.List<WebFragmentDescriptor> order(java.util.List<WebFragmentDescriptor> wfs)
This method return the WebFragmentDescriptor in absolute order. Note that the number of element return may be less than that of the original list.



Copyright © 2012 GlassFish Community. All Rights Reserved.