static List<Transliterator> instantiateList(List<SingleID> ids) {
        Transliterator t;
        List<Transliterator> translits = new ArrayList<Transliterator>();
        for (SingleID single : ids) {
            if (single.basicID.length() == 0) {
                continue;
            }
            t = single.getInstance();
            if (t == null) {
                throw new IllegalArgumentException("Illegal ID " + single.canonID);
            }
            translits.add(t);
        }

        // An empty list is equivalent to a Null transliterator.
        if (translits.size() == 0) {
            t = Transliterator.getBasicInstance("Any-Null", null);
            if (t == null) {
                // Should never happen
                throw new IllegalArgumentException("Internal error; cannot instantiate Any-Null");
            }
            translits.add(t);
        }
        return translits;
    }
static List < Transliterator > instantiateList ( List < SingleID > ids ) { Transliterator t ; List < Transliterator > translits = new ArrayList < Transliterator > ( ) ; for ( SingleID single : ids ) { if ( single . basicID . length ( ) == 0 ) { continue ; } t = single . getInstance ( ) ; if ( t == null ) { throw new IllegalArgumentException ( "Illegal ID " + single . canonID ) ; } translits . add ( t ) ; } if ( translits . size ( ) == 0 ) { t = Transliterator . getBasicInstance ( "Any-Null" , null ) ; if ( t == null ) { throw new IllegalArgumentException ( "Internal error; cannot instantiate Any-Null" ) ; } translits . add ( t ) ; } return translits ; }
Returns the list of Transliterator objects for the
given list of SingleID objects.

@param ids list vector of SingleID objects.
@return Actual transliterators for the list of SingleIDs