00001 /* 00002 ********************************************************************** 00003 * Copyright (c) 2000, International Business Machines 00004 * Corporation and others. All Rights Reserved. 00005 ********************************************************************** 00006 * Date Name Description 00007 * 01/11/2000 aliu Creation. 00008 ********************************************************************** 00009 */ 00010 #ifndef NULTRANS_H 00011 #define NULTRANS_H 00012 00013 #include "unicode/translit.h" 00014 00019 class U_I18N_API NullTransliterator : public Transliterator { 00020 static const char* _ID; 00021 00022 public: 00023 00027 static const UnicodeString ID; // public for Transliterator 00028 00032 NullTransliterator(); 00033 00037 virtual ~NullTransliterator(); 00038 00042 Transliterator* clone(void) const; 00043 00047 virtual void handleTransliterate(Replaceable& text, UTransPosition& offset, 00048 UBool isIncremental) const; 00049 }; 00050 00051 inline NullTransliterator::NullTransliterator() : Transliterator(ID, 0) {} 00052 00053 inline NullTransliterator::~NullTransliterator() {} 00054 00055 #endif