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
private  String m_strName
           
static XSLUtil.SortDataType NUMBER
           
static XSLUtil.SortDataType TEXT
           
 
Constructor Summary
private XSLUtil.SortDataType(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

TEXT

public static final XSLUtil.SortDataType TEXT

NUMBER

public static final XSLUtil.SortDataType NUMBER

m_strName

private final String m_strName
Constructor Detail

XSLUtil.SortDataType

private XSLUtil.SortDataType(String strName)
Method Detail

toString

public String toString()
Overrides:
toString in class Object