Package wt.admin

Class DomainRefCollationKeyFactory

java.lang.Object
wt.util.CollationKeyFactory
wt.admin.DomainRefCollationKeyFactory

public final class DomainRefCollationKeyFactory extends CollationKeyFactory
A collation key factory for admin domain refs. Use this class to sort a list of AdminDomainRef objects.

Supported API: true
Extendable: false
  • Constructor Details

    • DomainRefCollationKeyFactory

      public DomainRefCollationKeyFactory()
      Construct a collation key factory for the current WTContext's locale.

      Supported API: true
      Extendable: false
    • DomainRefCollationKeyFactory

      public DomainRefCollationKeyFactory(Locale locale)
      Construct a collation key factory for the given locale.
      Parameters:
      locale - desired locale

      Supported API: true
      Extendable: false
  • Method Details

    • getCollationString

      public String getCollationString(Object obj)
      Get a collation string for the given object.
      Overrides:
      getCollationString in class CollationKeyFactory
      Parameters:
      obj - the object that will be part of the sorted results

      Supported API: true
      Extendable: false
      Returns:
      string collation key source string