12ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller/* GENERATED SOURCE. DO NOT MODIFY. */
22ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller/*
32ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller ********************************************************************************
42ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller * Copyright (C) 2009-2010, Google, International Business Machines Corporation *
52ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller * and others. All Rights Reserved.                                             *
62ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller ********************************************************************************
72ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller */
82ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fullerpackage android.icu.text;
92ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller
102ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller/**
112ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller * Provide an interface for Transforms that focuses just on the transformation of the text.
122ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller * APIs that take Transliterator or StringTransform, but only depend on the transformation should use this interface in the API instead.
132ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller *
142ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller * @author markdavis
15836e6b40a94ec3fb7545a76cb072960442b7eee9Neil Fuller * @hide Only a subset of ICU is exposed in Android
161537b2f39245c07b00aa78c3600f7aebcb172490Neil Fuller
172ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller */
182ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller
192ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fullerpublic interface Transform<S,D> {
202ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller    /**
212ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller     * Transform the input in some way, to be determined by the subclass.
222ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller     * @param source to be transformed (eg lowercased)
232ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller     * @return result
242ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller     */
252ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller    public D transform(S source);
262ae130017183d2f66d55bf0ca51f8da3294644fdNeil Fuller}
27