Home | History | Annotate | Download | only in unicode

Lines Matching defs:ID

190  * <em>ID</em>.  IDs follow the format <em>source-destination</em>,
211 * transliterator given its ID. Valid IDs may be enumerated using
213 * multiple calls to {@link #createInstance } with the same ID will
219 * acts a template; future calls to {@link #createInstance } with the ID
248 UnicodeString ID;
298 * invoked, it will be passed the ID string that is being
302 * functions that are registered to more than one ID may use the
303 * ID or the context parameter to parameterize the transliterator
305 * @param ID the string identifier for this transliterator
307 * later passed to the factory function when an ID matching
308 * the registration ID is being instantiated with this factory.
311 typedef Transliterator* (U_EXPORT2 *Factory)(const UnicodeString& ID, Token context);
317 * @param ID the string identifier for this transliterator
324 Transliterator(const UnicodeString& ID, UnicodeFilter* adoptedFilter);
339 * Create a transliterator from a basic ID. This is an ID
342 * @param id a basic ID of the form S-T or S-T/V.
343 * @param canon canonical ID to assign to the object, or
344 * NULL to leave the ID unchanged
345 * @return a newly created Transliterator or null if the ID is
349 static Transliterator* createBasicInstance(const UnicodeString& id,
724 * @param ID the string identifier for this transliterator
729 static UnicodeString& U_EXPORT2 getDisplayName(const UnicodeString& ID,
743 * The strings are formed by splitting the ID for this
745 * entire ID forms the only string.
746 * @param ID the string identifier for this transliterator
753 static UnicodeString& U_EXPORT2 getDisplayName(const UnicodeString& ID,
792 * the two entities in the ID and attempts to retrieve the
811 * Returns a <code>Transliterator</code> object given its ID.
812 * The ID must be either a system transliterator ID or a ID registered
815 * @param ID a valid ID, as enumerated by <code>getAvailableIDs()</code>
820 * @return A <code>Transliterator</code> object with the given ID
826 static Transliterator* U_EXPORT2 createInstance(const UnicodeString& ID,
832 * Returns a <code>Transliterator</code> object given its ID.
833 * The ID must be either a system transliterator ID or a ID registered
835 * @param ID a valid ID, as enumerated by <code>getAvailableIDs()</code>
838 * @return A <code>Transliterator</code> object with the given ID
841 static Transliterator* U_EXPORT2 createInstance(const UnicodeString& ID,
849 * CompoundTransliterator, if it contains ID blocks, or a
850 * NullTransliterator, if it contains ID blocks which parse as
852 * @param ID the id for the transliterator.
860 static Transliterator* U_EXPORT2 createFromRules(const UnicodeString& ID,
967 * a given ID.
973 * @param id the ID being registered
975 * called later when the given ID is passed to createInstance()
977 * later passed to the factory function when an ID matching
978 * the registration ID is being instantiated with this factory.
981 static void U_EXPORT2 registerFactory(const UnicodeString& id,
988 * <tt>createInstance()</tt> is called with an ID string that is
1009 * Registers an ID string as an alias of another ID string.
1015 * @param aliasID The new ID being registered.
1016 * @param realID The ID that the new ID is to be an alias for.
1017 * This can be a compound ID and can include filters and should
1029 * @param id the ID being registered
1031 * called later when the given ID is passed to createInstance()
1033 * later passed to the factory function when an ID matching
1034 * the registration ID is being instantiated with this factory.
1037 static void _registerFactory(const UnicodeString& id,
1095 * on its ID will fail.
1101 * @param ID the ID of the transliterator or class
1103 * <code>ID</code>, or <code>null</code> if none was
1108 static void U_EXPORT2 unregister(const UnicodeString& ID);
1245 * Set the ID of this transliterators. Subclasses shouldn't do
1247 * @param id the new id t to be set.
1250 void setID(const UnicodeString& id);
1255 * Return the class ID for this class. This is useful only for
1261 * @return The class ID for class Transliterator.
1267 * Returns a unique class ID <b>polymorphically</b>. This method
1276 * @return The class ID for this object. All objects of a given
1277 * class have the same class ID. Objects of other classes have
1298 * Return the index-th available ID. index must be between 0
1301 * @param index the given ID index.
1302 * @return the index-th available ID. index must be between 0
1317 inline void Transliterator::setID(const UnicodeString& id) {
1318 ID = id;
1319 // NUL-terminate the ID string, which is a non-aliased copy.
1320 ID.append((UChar)0);
1321 ID.truncate(ID.length()-1);