Logo Search packages:      
Sourcecode: icu version File versions

void EscapeTransliterator::registerIDs (  )  [static]

Registers standard variants with the system. Called by Transliterator during initialization.

Definition at line 65 of file esctrn.cpp.

References Transliterator::_registerFactory(), Transliterator::integerToken(), and UNICODE_STRING_SIMPLE.

Referenced by Transliterator::initializeRegistry().

                                       {
    Token t = integerToken(0);

    Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-Hex/Unicode"), _createEscUnicode, t);

    Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-Hex/Java"), _createEscJava, t);

    Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-Hex/C"), _createEscC, t);

    Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-Hex/XML"), _createEscXML, t);

    Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-Hex/XML10"), _createEscXML10, t);

    Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-Hex/Perl"), _createEscPerl, t);

    Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-Hex"), _createEscJava, t);
}


Generated by  Doxygen 1.6.0   Back to index