2000-01-11 17:28:49 +00:00
|
|
|
/*
|
|
|
|
**********************************************************************
|
|
|
|
* Copyright (c) 2000, International Business Machines
|
|
|
|
* Corporation and others. All Rights Reserved.
|
|
|
|
**********************************************************************
|
|
|
|
* Date Name Description
|
|
|
|
* 01/11/2000 aliu Creation.
|
|
|
|
**********************************************************************
|
|
|
|
*/
|
|
|
|
#include "unicode/nultrans.h"
|
|
|
|
|
|
|
|
const char* NullTransliterator::_ID = "Null";
|
|
|
|
|
|
|
|
Transliterator* NullTransliterator::clone(void) const {
|
|
|
|
return new NullTransliterator();
|
|
|
|
}
|
|
|
|
|
|
|
|
int32_t NullTransliterator::transliterate(Replaceable&, int32_t,
|
|
|
|
int32_t limit) const {
|
|
|
|
return limit;
|
|
|
|
}
|
|
|
|
|
2000-01-19 19:02:10 +00:00
|
|
|
void NullTransliterator::handleTransliterate(Replaceable& text, Position& offsets,
|
|
|
|
bool_t isIncremental) const {
|
|
|
|
offsets.cursor = offsets.limit;
|
2000-01-11 17:28:49 +00:00
|
|
|
}
|