com.bristle.javalib.xml
Class XSLUtil.SortOrder

java.lang.Object
  extended by com.bristle.javalib.xml.XSLUtil.SortOrder
Enclosing class:
XSLUtil

public static class XSLUtil.SortOrder
extends Object

This class represents an enumerated type that identifies sort orders (ascending and descending).

Usage:
   - The following are typical scenarios for using this class:
       XSLUtil.SortOrder order = XSLUtil.SortOrder.DESCENDING;
       if (order == XSLUtil.SortOrder.ASCENDING) ...
       aCallToSomeMethod(..., XSLUtil.SortOrder.DESCENDING, ...);


Nested Class Summary
static class XSLUtil.SortOrder.UnexpectedEnumValueException
           
 
Field Summary
static XSLUtil.SortOrder ASCENDING
           
static XSLUtil.SortOrder DESCENDING
           
private  String m_strName
           
 
Constructor Summary
private XSLUtil.SortOrder(String strName)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ASCENDING

public static final XSLUtil.SortOrder ASCENDING

DESCENDING

public static final XSLUtil.SortOrder DESCENDING

m_strName

private final String m_strName
Constructor Detail

XSLUtil.SortOrder

private XSLUtil.SortOrder(String strName)
Method Detail

toString

public String toString()
Overrides:
toString in class Object