michael@0: /* michael@0: ********************************************************************** michael@0: * Copyright (c) 2000-2005, International Business Machines michael@0: * Corporation and others. All Rights Reserved. michael@0: ********************************************************************** michael@0: * Date Name Description michael@0: * 01/11/2000 aliu Creation. michael@0: ********************************************************************** michael@0: */ michael@0: michael@0: #include "unicode/utypes.h" michael@0: michael@0: #if !UCONFIG_NO_TRANSLITERATION michael@0: michael@0: #include "nultrans.h" michael@0: michael@0: U_NAMESPACE_BEGIN michael@0: michael@0: UOBJECT_DEFINE_RTTI_IMPLEMENTATION(NullTransliterator) michael@0: michael@0: NullTransliterator::NullTransliterator() : Transliterator(UNICODE_STRING_SIMPLE("Any-Null"), 0) {} michael@0: michael@0: NullTransliterator::~NullTransliterator() {} michael@0: michael@0: Transliterator* NullTransliterator::clone(void) const { michael@0: return new NullTransliterator(); michael@0: } michael@0: michael@0: void NullTransliterator::handleTransliterate(Replaceable& /*text*/, UTransPosition& offsets, michael@0: UBool /*isIncremental*/) const { michael@0: offsets.start = offsets.limit; michael@0: } michael@0: michael@0: U_NAMESPACE_END michael@0: michael@0: #endif /* #if !UCONFIG_NO_TRANSLITERATION */