]>
git.saurik.com Git - apple/icu.git/blob - icuSources/i18n/nultrans.h
2 **********************************************************************
3 * Copyright (c) 2000-2007, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
6 * Date Name Description
7 * 01/11/2000 aliu Creation.
8 **********************************************************************
13 #include "unicode/utypes.h"
15 #if !UCONFIG_NO_TRANSLITERATION
17 #include "unicode/translit.h"
22 * A transliterator that leaves text unchanged.
24 * @internal Use transliterator factory methods instead since this class will be removed in that release.
26 class NullTransliterator
: public Transliterator
{
31 * Constructs a transliterator.
32 * @internal Use transliterator factory methods instead since this class will be removed in that release.
38 * @internal Use transliterator factory methods instead since this class will be removed in that release.
40 virtual ~NullTransliterator();
44 * @internal Use transliterator factory methods instead since this class will be removed in that release.
46 virtual Transliterator
* clone(void) const;
49 * Implements {@link Transliterator#handleTransliterate}.
50 * @internal Use transliterator factory methods instead since this class will be removed in that release.
52 virtual void handleTransliterate(Replaceable
& text
, UTransPosition
& offset
,
53 UBool isIncremental
) const;
56 * ICU "poor man's RTTI", returns a UClassID for the actual class.
58 virtual UClassID
getDynamicClassID() const;
61 * ICU "poor man's RTTI", returns a UClassID for this class.
63 U_I18N_API
static UClassID U_EXPORT2
getStaticClassID();
69 #endif /* #if !UCONFIG_NO_TRANSLITERATION */