Public Member Functions | Public Attributes

nsICollation Interface Reference

import "nsICollation.idl";

List of all members.

Public Member Functions

void initialize (in nsILocale locale)
long compareString (in long strength, in AString string1, in AString string2)
void allocateRawSortKey (in long strength, in AString stringIn,[array, size_is(outLen)] out octet key, out unsigned long outLen)
long compareRawSortKey ([const, array, size_is(len1)] in octet key1, in unsigned long len1,[const, array, size_is(len2)] in octet key2, in unsigned long len2)

Public Attributes

const long kCollationStrengthDefault = 0
const long kCollationCaseInsensitiveAscii = 1
const long kCollationAccentInsenstive = 2
const long kCollationCaseSensitive = kCollationStrengthDefault
const long kCollationCaseInSensitive = (kCollationCaseInsensitiveAscii | kCollationAccentInsenstive)

Member Function Documentation

void nsICollation::allocateRawSortKey ( in long  strength,
in AString  stringIn,
[array, size_is(outLen)] out octet  key,
out unsigned long  outLen 
long nsICollation::compareRawSortKey ( [const, array, size_is(len1)] in octet  key1,
in unsigned long  len1,
[const, array, size_is(len2)] in octet  key2,
in unsigned long  len2 
long nsICollation::compareString ( in long  strength,
in AString  string1,
in AString  string2 
void nsICollation::initialize ( in nsILocale  locale  ) 

Member Data Documentation

The documentation for this interface was generated from the following file: