<Comparator>
Section:
Attribute
Required:
No
Value type:
Fully qualified Java class name
Default:
The Comparator of the attribute business object or the Comparator for java.lang.String
Product:
Creo Elements/Direct Model Manager, Creo Elements/Direct Drawing Manager
Description
Defines the class that implements the Java Comparator interface. The class is used when sorting children using the <SortOrder> tag.
If a Comparator is not configured, the Comparator of the attribute business object will be used if available. Otherwise the Comparator for java.lang.String will be used.
Example
This example shows a valid configuration for the tag:
<Comparator>com.acme.biz.MyComparator</Comparator>
Was this helpful?