com.bristle.javalib.xml
Class XSLUtil.SortDataType

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

public static class XSLUtil.SortDataType
extends Object

This class represents an enumerated type that identifies data types to sort by. A number sort would produce: 2, 3, 10. A text sort would produce: 10, 2, 3.

Usage:
   - The following are typical scenarios for using this class:
       XSLUtil.SortDataType dataType = XSLUtil.SortDataType.NUMBER;
       if (dataType == XSLUtil.SortDataType.TEXT) ...
       aCallToSomeMethod(..., XSLUtil.SortDataType.NUMBER, ...);


Nested Class Summary
static class XSLUtil.SortDataType.UnexpectedEnumValueException
           
 
Field Summary
static XSLUtil.SortDataType NUMBER
           
static XSLUtil.SortDataType TEXT
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TEXT

public static final XSLUtil.SortDataType TEXT

NUMBER

public static final XSLUtil.SortDataType NUMBER
Method Detail

toString

public String toString()
Overrides:
toString in class Object