org.apache.xalan.transformer
Class NodeSortKey

java.lang.Object
  extended by org.apache.xalan.transformer.NodeSortKey

 class NodeSortKey
extends java.lang.Object

Data structure for use by the NodeSorter class.


Field Summary
(package private)  boolean m_caseOrderUpper
          Flag indicating by case
(package private)  java.text.Collator m_col
          Collator instance
(package private)  boolean m_descending
          Flag indicating whether to sort in descending order
(package private)  java.util.Locale m_locale
          Locale we're in
(package private)  PrefixResolver m_namespaceContext
          Prefix resolver to use
(package private)  TransformerImpl m_processor
          Transformer instance
(package private)  XPath m_selectPat
          Select pattern for this sort key
(package private)  boolean m_treatAsNumbers
          Flag indicating whether to treat thee result as a number
 
Constructor Summary
NodeSortKey(TransformerImpl transformer, XPath selectPat, boolean treatAsNumbers, boolean descending, java.lang.String langValue, boolean caseOrderUpper, PrefixResolver namespaceContext)
          Constructor NodeSortKey
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_selectPat

XPath m_selectPat
Select pattern for this sort key


m_treatAsNumbers

boolean m_treatAsNumbers
Flag indicating whether to treat thee result as a number


m_descending

boolean m_descending
Flag indicating whether to sort in descending order


m_caseOrderUpper

boolean m_caseOrderUpper
Flag indicating by case


m_col

java.text.Collator m_col
Collator instance


m_locale

java.util.Locale m_locale
Locale we're in


m_namespaceContext

PrefixResolver m_namespaceContext
Prefix resolver to use


m_processor

TransformerImpl m_processor
Transformer instance

Constructor Detail

NodeSortKey

NodeSortKey(TransformerImpl transformer,
            XPath selectPat,
            boolean treatAsNumbers,
            boolean descending,
            java.lang.String langValue,
            boolean caseOrderUpper,
            PrefixResolver namespaceContext)
      throws javax.xml.transform.TransformerException
Constructor NodeSortKey

Parameters:
transformer - non null transformer instance
selectPat - Select pattern for this key
treatAsNumbers - Flag indicating whether the result will be a number
descending - Flag indicating whether to sort in descending order
langValue - Lang value to use to get locale
caseOrderUpper - Flag indicating whether case is relevant
namespaceContext - Prefix resolver
Throws:
javax.xml.transform.TransformerException