|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xalan.xsltc.dom.NodeSortRecord
public abstract class NodeSortRecord
Base class for sort records containing application specific sort keys
| Field Summary | |
|---|---|
static int |
COMPARE_ASCENDING
|
static int |
COMPARE_DESCENDING
|
static int |
COMPARE_NUMERIC
|
static int |
COMPARE_STRING
|
| Constructor Summary | |
|---|---|
NodeSortRecord()
|
|
NodeSortRecord(int node)
This constructor is run by a call to ClassLoader in the makeNodeSortRecord method in the NodeSortRecordFactory class. |
|
| Method Summary | |
|---|---|
int |
compareDocOrder(NodeSortRecord other)
|
int |
compareTo(NodeSortRecord other)
Compare this sort element to another. |
abstract java.lang.String |
extractValueFromDOM(DOM dom,
int current,
int level,
AbstractTranslet translet,
int last)
Extract the sort value for a level of this key. |
java.text.Collator[] |
getCollator()
Returns the array of Collators used for text comparisons in this object. |
int |
getNode()
Returns the node for this sort object |
void |
initialize(int node,
int last,
DOM dom,
org.apache.xalan.xsltc.dom.SortSettings settings)
This method allows the caller to set the values that could not be passed to the default constructor. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int COMPARE_STRING
public static final int COMPARE_NUMERIC
public static final int COMPARE_ASCENDING
public static final int COMPARE_DESCENDING
| Constructor Detail |
|---|
public NodeSortRecord(int node)
public NodeSortRecord()
| Method Detail |
|---|
public final void initialize(int node,
int last,
DOM dom,
org.apache.xalan.xsltc.dom.SortSettings settings)
throws TransletException
TransletExceptionpublic final int getNode()
public final int compareDocOrder(NodeSortRecord other)
public int compareTo(NodeSortRecord other)
public java.text.Collator[] getCollator()
public abstract java.lang.String extractValueFromDOM(DOM dom,
int current,
int level,
AbstractTranslet translet,
int last)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||