public abstract class NodeSortRecord extends Object
Modifier and Type | Field and Description |
---|---|
protected Collator |
_collator
Deprecated.
This field continues to exist for binary compatibility.
New code should not refer to it.
|
protected CollatorFactory |
_collatorFactory |
protected Collator[] |
_collators |
protected Locale |
_locale
Deprecated.
This field continues to exist for binary compatibility.
New code should not refer to it.
|
protected org.apache.xalan.xsltc.dom.SortSettings |
_settings |
static int |
COMPARE_ASCENDING |
static int |
COMPARE_DESCENDING |
static int |
COMPARE_NUMERIC |
static int |
COMPARE_STRING |
Constructor and Description |
---|
NodeSortRecord() |
NodeSortRecord(int node)
This constructor is run by a call to ClassLoader in the
makeNodeSortRecord method in the NodeSortRecordFactory class.
|
Modifier and Type | Method and Description |
---|---|
int |
compareDocOrder(NodeSortRecord other) |
int |
compareTo(NodeSortRecord other)
Compare this sort element to another.
|
abstract String |
extractValueFromDOM(DOM dom,
int current,
int level,
AbstractTranslet translet,
int last)
Extract the sort value for a level of this key.
|
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.
|
public static final int COMPARE_STRING
public static final int COMPARE_NUMERIC
public static final int COMPARE_ASCENDING
public static final int COMPARE_DESCENDING
protected Collator _collator
protected Collator[] _collators
protected Locale _locale
protected CollatorFactory _collatorFactory
protected org.apache.xalan.xsltc.dom.SortSettings _settings
public NodeSortRecord(int node)
public NodeSortRecord()
public final void initialize(int node, int last, DOM dom, org.apache.xalan.xsltc.dom.SortSettings settings) throws TransletException
TransletException
public final int getNode()
public final int compareDocOrder(NodeSortRecord other)
public int compareTo(NodeSortRecord other)
public Collator[] getCollator()
public abstract String extractValueFromDOM(DOM dom, int current, int level, AbstractTranslet translet, int last)
Copyright © 2019 JBoss by Red Hat. All rights reserved.