org.apache.xalan.xsltc.dom

Class NodeSortRecordFactory


public class NodeSortRecordFactory
extends java.lang.Object

Constructor Summary

NodeSortRecordFactory(DOM dom, String className, Translet translet, order[] , type[] )
Deprecated. This constructor is no longer used in generated code.
NodeSortRecordFactory(DOM dom, String className, Translet translet, order[] , type[] , lang[] , caseOrder[] )
Creates a NodeSortRecord producing object.

Method Summary

String
getClassName()
NodeSortRecord
makeNodeSortRecord(int node, int last)
Create an instance of a sub-class of NodeSortRecord.

Constructor Details

NodeSortRecordFactory

public NodeSortRecordFactory(DOM dom,
                             String className,
                             Translet translet,
                             order[] ,
                             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.

NodeSortRecordFactory

public NodeSortRecordFactory(DOM dom,
                             String className,
                             Translet translet,
                             order[] ,
                             type[] ,
                             lang[] ,
                             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.

Method Details

getClassName

public String getClassName()

makeNodeSortRecord

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

Copyright © 2006 Apache XML Project. All Rights Reserved.