<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<!--NewPage--> | |
<HTML> | |
<HEAD> | |
<!-- Generated by javadoc (build 1.5.0_18) on Sun Apr 01 21:18:27 PDT 2012 --> | |
<TITLE> | |
NodeSortRecord | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.xalan.xsltc.dom.NodeSortRecord class"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="NodeSortRecord"; | |
} | |
</SCRIPT> | |
<NOSCRIPT> | |
</NOSCRIPT> | |
</HEAD> | |
<BODY BGCOLOR="white" onload="windowTitle();"> | |
<!-- ========= START OF TOP NAVBAR ======= --> | |
<A NAME="navbar_top"><!-- --></A> | |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_top_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<TR ALIGN="center" VALIGN="top"> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/NodeSortRecord.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | |
</TR> | |
</TABLE> | |
</TD> | |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
</EM> | |
</TD> | |
</TR> | |
<TR> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeIteratorBase.html" title="class in org.apache.xalan.xsltc.dom"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecordFactory.html" title="class in org.apache.xalan.xsltc.dom"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../index.html?org/apache/xalan/xsltc/dom/NodeSortRecord.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="NodeSortRecord.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_top"></A> | |
<!-- ========= END OF TOP NAVBAR ========= --> | |
<HR> | |
<!-- ======== START OF CLASS DATA ======== --> | |
<H2> | |
<FONT SIZE="-1"> | |
org.apache.xalan.xsltc.dom</FONT> | |
<BR> | |
Class NodeSortRecord</H2> | |
<PRE> | |
java.lang.Object | |
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xalan.xsltc.dom.NodeSortRecord</B> | |
</PRE> | |
<HR> | |
<DL> | |
<DT><PRE>public abstract class <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.37"><B>NodeSortRecord</B></A><DT>extends java.lang.Object</DL> | |
</PRE> | |
<P> | |
Base class for sort records containing application specific sort keys | |
<P> | |
<P> | |
<HR> | |
<P> | |
<!-- =========== FIELD SUMMARY =========== --> | |
<A NAME="field_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Field Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected java.text.Collator</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#_collator">_collator</A></B></CODE> | |
<BR> | |
<B>Deprecated.</B> <I>This field continues to exist for binary compatibility. | |
New code should not refer to it.</I></TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../../org/apache/xalan/xsltc/CollatorFactory.html" title="interface in org.apache.xalan.xsltc">CollatorFactory</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#_collatorFactory">_collatorFactory</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected java.text.Collator[]</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#_collators">_collators</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private <A HREF="../../../../../org/apache/xalan/xsltc/DOM.html" title="interface in org.apache.xalan.xsltc">DOM</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#_dom">_dom</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#_last">_last</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected java.util.Locale</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#_locale">_locale</A></B></CODE> | |
<BR> | |
<B>Deprecated.</B> <I>This field continues to exist for binary compatibility. | |
New code should not refer to it.</I></TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#_node">_node</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#_scanned">_scanned</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../../org/apache/xalan/xsltc/dom/SortSettings.html" title="class in org.apache.xalan.xsltc.dom">SortSettings</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#_settings">_settings</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private java.lang.Object[]</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#_values">_values</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#COMPARE_ASCENDING">COMPARE_ASCENDING</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#COMPARE_DESCENDING">COMPARE_DESCENDING</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#COMPARE_NUMERIC">COMPARE_NUMERIC</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#COMPARE_STRING">COMPARE_STRING</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private static java.text.Collator</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#DEFAULT_COLLATOR">DEFAULT_COLLATOR</A></B></CODE> | |
<BR> | |
<B>Deprecated.</B> <I>This field continues to exist for binary compatibility. | |
New code should not refer to it.</I></TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> | |
<A NAME="constructor_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Constructor Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#NodeSortRecord()">NodeSortRecord</A></B>()</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#NodeSortRecord(int)">NodeSortRecord</A></B>(int node)</CODE> | |
<BR> | |
This constructor is run by a call to ClassLoader in the | |
makeNodeSortRecord method in the NodeSortRecordFactory class.</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ========== METHOD SUMMARY =========== --> | |
<A NAME="method_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Method Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#compareDocOrder(org.apache.xalan.xsltc.dom.NodeSortRecord)">compareDocOrder</A></B>(<A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html" title="class in org.apache.xalan.xsltc.dom">NodeSortRecord</A> other)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#compareTo(org.apache.xalan.xsltc.dom.NodeSortRecord)">compareTo</A></B>(<A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html" title="class in org.apache.xalan.xsltc.dom">NodeSortRecord</A> other)</CODE> | |
<BR> | |
Compare this sort element to another.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>abstract java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#extractValueFromDOM(org.apache.xalan.xsltc.DOM, int, int, org.apache.xalan.xsltc.runtime.AbstractTranslet, int)">extractValueFromDOM</A></B>(<A HREF="../../../../../org/apache/xalan/xsltc/DOM.html" title="interface in org.apache.xalan.xsltc">DOM</A> dom, | |
int current, | |
int level, | |
<A HREF="../../../../../org/apache/xalan/xsltc/runtime/AbstractTranslet.html" title="class in org.apache.xalan.xsltc.runtime">AbstractTranslet</A> translet, | |
int last)</CODE> | |
<BR> | |
Extract the sort value for a level of this key.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> java.text.Collator[]</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#getCollator()">getCollator</A></B>()</CODE> | |
<BR> | |
Returns the array of Collators used for text comparisons in this object.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#getNode()">getNode</A></B>()</CODE> | |
<BR> | |
Returns the node for this sort object</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#initialize(int, int, org.apache.xalan.xsltc.DOM, org.apache.xalan.xsltc.dom.SortSettings)">initialize</A></B>(int node, | |
int last, | |
<A HREF="../../../../../org/apache/xalan/xsltc/DOM.html" title="interface in org.apache.xalan.xsltc">DOM</A> dom, | |
<A HREF="../../../../../org/apache/xalan/xsltc/dom/SortSettings.html" title="class in org.apache.xalan.xsltc.dom">SortSettings</A> settings)</CODE> | |
<BR> | |
This method allows the caller to set the values that could not be passed | |
to the default constructor.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private java.lang.Double</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#numericValue(int)">numericValue</A></B>(int level)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private java.lang.Comparable</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html#stringValue(int)">stringValue</A></B>(int level)</CODE> | |
<BR> | |
Get the string or numeric value of a specific level key for this sort | |
element.</TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> | |
</TR> | |
</TABLE> | |
| |
<P> | |
<!-- ============ FIELD DETAIL =========== --> | |
<A NAME="field_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Field Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="COMPARE_STRING"><!-- --></A><H3> | |
COMPARE_STRING</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.38"><B>COMPARE_STRING</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xalan.xsltc.dom.NodeSortRecord.COMPARE_STRING">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="COMPARE_NUMERIC"><!-- --></A><H3> | |
COMPARE_NUMERIC</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.39"><B>COMPARE_NUMERIC</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xalan.xsltc.dom.NodeSortRecord.COMPARE_NUMERIC">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="COMPARE_ASCENDING"><!-- --></A><H3> | |
COMPARE_ASCENDING</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.41"><B>COMPARE_ASCENDING</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xalan.xsltc.dom.NodeSortRecord.COMPARE_ASCENDING">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="COMPARE_DESCENDING"><!-- --></A><H3> | |
COMPARE_DESCENDING</H3> | |
<PRE> | |
public static final int <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.42"><B>COMPARE_DESCENDING</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.xalan.xsltc.dom.NodeSortRecord.COMPARE_DESCENDING">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="DEFAULT_COLLATOR"><!-- --></A><H3> | |
DEFAULT_COLLATOR</H3> | |
<PRE> | |
private static final java.text.Collator <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.50"><B>DEFAULT_COLLATOR</B></A></PRE> | |
<DL> | |
<DD><B>Deprecated.</B> <I>This field continues to exist for binary compatibility. | |
New code should not refer to it.</I><DD>A reference to a collator. May be updated by subclass if the stylesheet | |
specifies a different language (will be updated iff _locale is updated). | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_collator"><!-- --></A><H3> | |
_collator</H3> | |
<PRE> | |
protected java.text.Collator <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.57"><B>_collator</B></A></PRE> | |
<DL> | |
<DD><B>Deprecated.</B> <I>This field continues to exist for binary compatibility. | |
New code should not refer to it.</I><DD>A reference to the first Collator | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_collators"><!-- --></A><H3> | |
_collators</H3> | |
<PRE> | |
protected java.text.Collator[] <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.58"><B>_collators</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_locale"><!-- --></A><H3> | |
_locale</H3> | |
<PRE> | |
protected java.util.Locale <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.65"><B>_locale</B></A></PRE> | |
<DL> | |
<DD><B>Deprecated.</B> <I>This field continues to exist for binary compatibility. | |
New code should not refer to it.</I><DD>A locale field that might be set by an instance of a subclass. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_collatorFactory"><!-- --></A><H3> | |
_collatorFactory</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xalan/xsltc/CollatorFactory.html" title="interface in org.apache.xalan.xsltc">CollatorFactory</A> <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.67"><B>_collatorFactory</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_settings"><!-- --></A><H3> | |
_settings</H3> | |
<PRE> | |
protected <A HREF="../../../../../org/apache/xalan/xsltc/dom/SortSettings.html" title="class in org.apache.xalan.xsltc.dom">SortSettings</A> <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.69"><B>_settings</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_dom"><!-- --></A><H3> | |
_dom</H3> | |
<PRE> | |
private <A HREF="../../../../../org/apache/xalan/xsltc/DOM.html" title="interface in org.apache.xalan.xsltc">DOM</A> <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.71"><B>_dom</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_node"><!-- --></A><H3> | |
_node</H3> | |
<PRE> | |
private int <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.72"><B>_node</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_last"><!-- --></A><H3> | |
_last</H3> | |
<PRE> | |
private int <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.73"><B>_last</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_scanned"><!-- --></A><H3> | |
_scanned</H3> | |
<PRE> | |
private int <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.74"><B>_scanned</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="_values"><!-- --></A><H3> | |
_values</H3> | |
<PRE> | |
private java.lang.Object[] <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.76"><B>_values</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<!-- ========= CONSTRUCTOR DETAIL ======== --> | |
<A NAME="constructor_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Constructor Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="NodeSortRecord(int)"><!-- --></A><H3> | |
NodeSortRecord</H3> | |
<PRE> | |
public <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.84"><B>NodeSortRecord</B></A>(int node)</PRE> | |
<DL> | |
<DD>This constructor is run by a call to ClassLoader in the | |
makeNodeSortRecord method in the NodeSortRecordFactory class. Since we | |
cannot pass any parameters to the constructor in that case we just set | |
the default values here and wait for new values through initialize(). | |
<P> | |
</DL> | |
<HR> | |
<A NAME="NodeSortRecord()"><!-- --></A><H3> | |
NodeSortRecord</H3> | |
<PRE> | |
public <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.88"><B>NodeSortRecord</B></A>()</PRE> | |
<DL> | |
</DL> | |
<!-- ============ METHOD DETAIL ========== --> | |
<A NAME="method_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Method Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="initialize(int, int, org.apache.xalan.xsltc.DOM, org.apache.xalan.xsltc.dom.SortSettings)"><!-- --></A><H3> | |
initialize</H3> | |
<PRE> | |
public final void <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.96"><B>initialize</B></A>(int node, | |
int last, | |
<A HREF="../../../../../org/apache/xalan/xsltc/DOM.html" title="interface in org.apache.xalan.xsltc">DOM</A> dom, | |
<A HREF="../../../../../org/apache/xalan/xsltc/dom/SortSettings.html" title="class in org.apache.xalan.xsltc.dom">SortSettings</A> settings) | |
throws <A HREF="../../../../../org/apache/xalan/xsltc/TransletException.html" title="class in org.apache.xalan.xsltc">TransletException</A></PRE> | |
<DL> | |
<DD>This method allows the caller to set the values that could not be passed | |
to the default constructor. | |
<P> | |
<DD><DL> | |
<DT><B>Throws:</B> | |
<DD><CODE><A HREF="../../../../../org/apache/xalan/xsltc/TransletException.html" title="class in org.apache.xalan.xsltc">TransletException</A></CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNode()"><!-- --></A><H3> | |
getNode</H3> | |
<PRE> | |
public final int <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.135"><B>getNode</B></A>()</PRE> | |
<DL> | |
<DD>Returns the node for this sort object | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="compareDocOrder(org.apache.xalan.xsltc.dom.NodeSortRecord)"><!-- --></A><H3> | |
compareDocOrder</H3> | |
<PRE> | |
public final int <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.142"><B>compareDocOrder</B></A>(<A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html" title="class in org.apache.xalan.xsltc.dom">NodeSortRecord</A> other)</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="stringValue(int)"><!-- --></A><H3> | |
stringValue</H3> | |
<PRE> | |
private final java.lang.Comparable <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.151"><B>stringValue</B></A>(int level)</PRE> | |
<DL> | |
<DD>Get the string or numeric value of a specific level key for this sort | |
element. The value is extracted from the DOM if it is not already in | |
our sort key vector. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="numericValue(int)"><!-- --></A><H3> | |
numericValue</H3> | |
<PRE> | |
private final java.lang.Double <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.171"><B>numericValue</B></A>(int level)</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="compareTo(org.apache.xalan.xsltc.dom.NodeSortRecord)"><!-- --></A><H3> | |
compareTo</H3> | |
<PRE> | |
public int <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.200"><B>compareTo</B></A>(<A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.html" title="class in org.apache.xalan.xsltc.dom">NodeSortRecord</A> other)</PRE> | |
<DL> | |
<DD>Compare this sort element to another. The first level is checked first, | |
and we proceed to the next level only if the first level keys are | |
identical (and so the key values may not even be extracted from the DOM) | |
!!!!MUST OPTIMISE - THIS IS REALLY, REALLY SLOW!!!! | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getCollator()"><!-- --></A><H3> | |
getCollator</H3> | |
<PRE> | |
public java.text.Collator[] <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.232"><B>getCollator</B></A>()</PRE> | |
<DL> | |
<DD>Returns the array of Collators used for text comparisons in this object. | |
May be overridden by inheriting classes | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="extractValueFromDOM(org.apache.xalan.xsltc.DOM, int, int, org.apache.xalan.xsltc.runtime.AbstractTranslet, int)"><!-- --></A><H3> | |
extractValueFromDOM</H3> | |
<PRE> | |
public abstract java.lang.String <A HREF="../../../../../src-html/org/apache/xalan/xsltc/dom/NodeSortRecord.html#line.239"><B>extractValueFromDOM</B></A>(<A HREF="../../../../../org/apache/xalan/xsltc/DOM.html" title="interface in org.apache.xalan.xsltc">DOM</A> dom, | |
int current, | |
int level, | |
<A HREF="../../../../../org/apache/xalan/xsltc/runtime/AbstractTranslet.html" title="class in org.apache.xalan.xsltc.runtime">AbstractTranslet</A> translet, | |
int last)</PRE> | |
<DL> | |
<DD>Extract the sort value for a level of this key. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<!-- ========= END OF CLASS DATA ========= --> | |
<HR> | |
<!-- ======= START OF BOTTOM NAVBAR ====== --> | |
<A NAME="navbar_bottom"><!-- --></A> | |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_bottom_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<TR ALIGN="center" VALIGN="top"> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/NodeSortRecord.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | |
</TR> | |
</TABLE> | |
</TD> | |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
</EM> | |
</TD> | |
</TR> | |
<TR> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeIteratorBase.html" title="class in org.apache.xalan.xsltc.dom"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecordFactory.html" title="class in org.apache.xalan.xsltc.dom"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../index.html?org/apache/xalan/xsltc/dom/NodeSortRecord.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="NodeSortRecord.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_bottom"></A> | |
<!-- ======== END OF BOTTOM NAVBAR ======= --> | |
<HR> | |
</BODY> | |
</HTML> |