Methods Summary |
---|
public static void | addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.add(c);
|
public void | dump(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.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("LocaleCharsetMap\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
|
public java.lang.String | getAgent()
return getAttributeValue(AGENT);
|
public java.lang.String | getCharset()
return getAttributeValue(CHARSET);
|
public java.lang.String | getDescription()
return (String)this.getValue(DESCRIPTION);
|
public java.lang.String | getLocale()
return getAttributeValue(LOCALE);
|
void | initialize(int options)
|
public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
|
public void | setAgent(java.lang.String value)
setAttributeValue(AGENT, value);
|
public void | setCharset(java.lang.String value)
setAttributeValue(CHARSET, value);
|
public void | setDescription(java.lang.String value)
this.setValue(DESCRIPTION, value);
|
public void | setLocale(java.lang.String value)
setAttributeValue(LOCALE, value);
|
public void | validate()
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) {
}
|