FileDocCategorySizeDatePackage
LocaleCharsetMap.javaAPI DocGlassfish v2 API22760Fri May 04 22:34:42 BST 2007com.sun.enterprise.tools.common.dd.webapp

LocaleCharsetMap

public class LocaleCharsetMap extends com.sun.enterprise.tools.common.dd.SunBaseBean
This generated bean class LocaleCharsetMap matches the schema element locale-charset-map Generated on Tue Sep 02 18:08:42 PDT 2003

Fields Summary
static Vector
comparators
public static final String
LOCALE
public static final String
AGENT
public static final String
CHARSET
public static final String
DESCRIPTION
Constructors Summary
public LocaleCharsetMap()

	// NOI18N

	  
		this(Common.USE_DEFAULT_VALUES);
	
public LocaleCharsetMap(int options)

		super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
		// Properties (see root bean comments for the bean graph)
		this.createProperty("description", 	// NOI18N
			DESCRIPTION, 
			Common.TYPE_0_1 | Common.TYPE_STRING | Common.TYPE_KEY, 
			String.class);
		this.initialize(options);
	
Methods Summary
public static voidaddComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.add(c);
	
public voiddump(java.lang.StringBuffer str, java.lang.String indent)

		String s;
		Object o;
		org.netbeans.modules.schema2beans.BaseBean n;
		str.append(indent);
		str.append("Description");	// NOI18N
		str.append(indent+"\t");	// NOI18N
		str.append("<");	// NOI18N
		s = this.getDescription();
		str.append((s==null?"null":s.trim()));	// NOI18N
		str.append(">\n");	// NOI18N
		this.dumpAttributes(DESCRIPTION, 0, str, indent);

	
public java.lang.StringdumpBeanNode()

		StringBuffer str = new StringBuffer();
		str.append("LocaleCharsetMap\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public java.lang.StringgetAgent()

		return getAttributeValue(AGENT);
	
public java.lang.StringgetCharset()

		return getAttributeValue(CHARSET);
	
public java.lang.StringgetDescription()

		return (String)this.getValue(DESCRIPTION);
	
public java.lang.StringgetLocale()

		return getAttributeValue(LOCALE);
	
voidinitialize(int options)

	
	
public static voidremoveComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.remove(c);
	
public voidsetAgent(java.lang.String value)

		setAttributeValue(AGENT, value);
	
public voidsetCharset(java.lang.String value)

		setAttributeValue(CHARSET, value);
	
public voidsetDescription(java.lang.String value)

		this.setValue(DESCRIPTION, value);
	
public voidsetLocale(java.lang.String value)

		setAttributeValue(LOCALE, value);
	
public voidvalidate()

		boolean restrictionFailure = false;
		// Validating property locale
		if (getLocale() == null) {
			throw new org.netbeans.modules.schema2beans.ValidateException("getLocale() == null", "locale", this);	// NOI18N
		}
		// Validating property agent
		if (getAgent() != null) {
		}
		// Validating property charset
		if (getCharset() == null) {
			throw new org.netbeans.modules.schema2beans.ValidateException("getCharset() == null", "charset", this);	// NOI18N
		}
		// Validating property description
		if (getDescription() != null) {
		}