FileDocCategorySizeDatePackage
LocaleEncodingMappingListDescriptor.javaAPI DocGlassfish v2 API3372Fri May 04 22:31:22 BST 2007com.sun.enterprise.deployment

LocaleEncodingMappingListDescriptor

public class LocaleEncodingMappingListDescriptor extends Descriptor

Fields Summary
private Set
list
Constructors Summary
public LocaleEncodingMappingListDescriptor()

        
    /*
     * standard constructor 
     */
      
    
public LocaleEncodingMappingListDescriptor(LocaleEncodingMappingListDescriptor other)

	super(other);
	if (other.list != null) {
	    list = new HashSet();
	    for (Iterator i = other.list.iterator(); i.hasNext();) {
		LocaleEncodingMappingDescriptor lemd = (LocaleEncodingMappingDescriptor)i.next();
		list.add(new LocaleEncodingMappingDescriptor(lemd));
	    }
	} else {
	    list = null;
	}
    
Methods Summary
public voidaddLocaleEncodingMapping(LocaleEncodingMappingDescriptor desc)

	getLocaleEncodingMappingSet().add(desc);
    
public java.util.SetgetLocaleEncodingMappingSet()

	if(list == null) {
	    list = new HashSet();
	}
	return list;
    
public java.util.EnumerationgetLocaleEncodingMappings()

	return (new Vector(this.getLocaleEncodingMappingSet())).elements();
    
public voidprint(java.lang.StringBuffer toStringBuffer)

return
a string describing the values I hold

        toStringBuffer.append("\nProp : ").append(list);
    
public voidremoveLocaleEncodingMapping(LocaleEncodingMappingDescriptor desc)

	getLocaleEncodingMappingSet().remove(desc);