|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xalan.xsltc.dom.SortSettings
final class SortSettings
Class for carrying settings that are to be used for a particular set
of xsl:sort
elements.
Field Summary | |
---|---|
private java.lang.String[] |
_caseOrders
Case ordering for each level of xsl:sort . |
private java.text.Collator[] |
_collators
The Collator object in effect for each level of xsl:sort |
private java.util.Locale[] |
_locales
The Locale for each level of xsl:sort , based on any lang
attribute or the default Locale. |
private int[] |
_sortOrders
The sort order (ascending or descending) for each level of xsl:sort |
private AbstractTranslet |
_translet
A reference to the translet object for the transformation. |
private int[] |
_types
The type of comparison (text or number) for each level of xsl:sort |
Constructor Summary | |
---|---|
SortSettings(AbstractTranslet translet,
int[] sortOrders,
int[] types,
java.util.Locale[] locales,
java.text.Collator[] collators,
java.lang.String[] caseOrders)
Create an instance of SortSettings . |
Method Summary | |
---|---|
(package private) java.lang.String[] |
getCaseOrders()
|
(package private) java.text.Collator[] |
getCollators()
|
(package private) java.util.Locale[] |
getLocales()
|
(package private) int[] |
getSortOrders()
|
(package private) AbstractTranslet |
getTranslet()
|
(package private) int[] |
getTypes()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private AbstractTranslet _translet
private int[] _sortOrders
xsl:sort
private int[] _types
xsl:sort
private java.util.Locale[] _locales
xsl:sort
, based on any lang
attribute or the default Locale.
private java.text.Collator[] _collators
xsl:sort
private java.lang.String[] _caseOrders
xsl:sort
.
Constructor Detail |
---|
SortSettings(AbstractTranslet translet, int[] sortOrders, int[] types, java.util.Locale[] locales, java.text.Collator[] collators, java.lang.String[] caseOrders)
SortSettings
.
translet
- AbstractTranslet
object for the transformationsortOrders
- an array specifying the sort order for each sort leveltypes
- an array specifying the type of comparison for each sort
level (text or number)locales
- an array specifying the Locale for each sort levelcollators
- an array specifying the Collation in effect for each
sort levelcaseOrders
- an array specifying whether upper-case, lower-case
or neither is to take precedence for each sort level.
The value of each element is equal to one of
"upper-first", "lower-first", or ""
.Method Detail |
---|
AbstractTranslet getTranslet()
int[] getSortOrders()
xsl:sort
int[] getTypes()
xsl:sort
java.util.Locale[] getLocales()
xsl:sort
java.text.Collator[] getCollators()
xsl:sort
java.lang.String[] getCaseOrders()
xsl:sort
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |