org.apache.xalan.xsltc.dom
Class NodeSortRecordFactory

java.lang.Object
  extended by org.apache.xalan.xsltc.dom.NodeSortRecordFactory

public class NodeSortRecordFactory
extends java.lang.Object


Field Summary
private  java.lang.Class _class
           
private  java.lang.String _className
           
protected  java.text.Collator _collator
           
private  DOM _dom
           
private  SortSettings _sortSettings
           
private static int DESCENDING
           
private static int NUMBER
           
 
Constructor Summary
NodeSortRecordFactory(DOM dom, java.lang.String className, Translet translet, java.lang.String[] order, java.lang.String[] type)
          Deprecated. This constructor is no longer used in generated code. It exists only for backwards compatibility.
NodeSortRecordFactory(DOM dom, java.lang.String className, Translet translet, java.lang.String[] order, java.lang.String[] type, java.lang.String[] lang, java.lang.String[] caseOrder)
          Creates a NodeSortRecord producing object.
 
Method Summary
 java.lang.String getClassName()
           
 NodeSortRecord makeNodeSortRecord(int node, int last)
          Create an instance of a sub-class of NodeSortRecord.
private  void setLang(java.lang.String[] lang)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCENDING

private static int DESCENDING

NUMBER

private static int NUMBER

_dom

private final DOM _dom

_className

private final java.lang.String _className

_class

private java.lang.Class _class

_sortSettings

private SortSettings _sortSettings

_collator

protected java.text.Collator _collator
Constructor Detail

NodeSortRecordFactory

public NodeSortRecordFactory(DOM dom,
                             java.lang.String className,
                             Translet translet,
                             java.lang.String[] order,
                             java.lang.String[] type)
                      throws TransletException
Deprecated. This constructor is no longer used in generated code. It exists only for backwards compatibility.

Creates a NodeSortRecord producing object. The DOM specifies which tree to get the nodes to sort from, the class name specifies what auxillary class to use to sort the nodes (this class is generated by the Sort class), and the translet parameter is needed for methods called by this object.

Throws:
TransletException

NodeSortRecordFactory

public NodeSortRecordFactory(DOM dom,
                             java.lang.String className,
                             Translet translet,
                             java.lang.String[] order,
                             java.lang.String[] type,
                             java.lang.String[] lang,
                             java.lang.String[] caseOrder)
                      throws TransletException
Creates a NodeSortRecord producing object. The DOM specifies which tree to get the nodes to sort from, the class name specifies what auxillary class to use to sort the nodes (this class is generated by the Sort class), and the translet parameter is needed for methods called by this object.

Throws:
TransletException
Method Detail

makeNodeSortRecord

public NodeSortRecord makeNodeSortRecord(int node,
                                         int last)
                                  throws java.lang.ExceptionInInitializerError,
                                         java.lang.LinkageError,
                                         java.lang.IllegalAccessException,
                                         java.lang.InstantiationException,
                                         java.lang.SecurityException,
                                         TransletException
Create an instance of a sub-class of NodeSortRecord. The name of this sub-class is passed to us in the constructor.

Throws:
java.lang.ExceptionInInitializerError
java.lang.LinkageError
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.SecurityException
TransletException

getClassName

public java.lang.String getClassName()

setLang

private final void setLang(java.lang.String[] lang)