2 **********************************************************************
3 * Copyright (c) 2000-2004, 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 U_I18N_API NullTransliterator
: public Transliterator
{
31 * ID for this transliterator.
32 * @internal Use transliterator factory methods instead since this class will be removed in that release.
34 static const UChar ID
[]; // public for Transliterator
37 * ID for this transliterator.
38 * @internal Use transliterator factory methods instead since this class will be removed in that release.
40 static const UChar SHORT_ID
[]; // public for Transliterator
43 * Constructs a transliterator.
44 * @internal Use transliterator factory methods instead since this class will be removed in that release.
50 * @internal Use transliterator factory methods instead since this class will be removed in that release.
52 virtual ~NullTransliterator();
56 * @internal Use transliterator factory methods instead since this class will be removed in that release.
58 virtual Transliterator
* clone(void) const;
61 * Implements {@link Transliterator#handleTransliterate}.
62 * @internal Use transliterator factory methods instead since this class will be removed in that release.
64 virtual void handleTransliterate(Replaceable
& text
, UTransPosition
& offset
,
65 UBool isIncremental
) const;
68 * ICU "poor man's RTTI", returns a UClassID for the actual class.
72 virtual UClassID
getDynamicClassID() const;
75 * ICU "poor man's RTTI", returns a UClassID for this class.
79 static UClassID U_EXPORT2
getStaticClassID();
85 #endif /* #if !UCONFIG_NO_TRANSLITERATION */