Methods Summary |
---|
int | getAttribute(java.lang.String attr, int defaultValue)
int ret = defaultValue;
String value;
if ((value = getAttribute("emptyok")) != null)
ret = Integer.parseInt(value);
return ret;
|
boolean | getAttribute(java.lang.String attr, boolean defaultValue)
boolean ret = defaultValue;
String value;
if (((value = getAttribute("emptyok")) != null)
&& value.equals("true"))
ret = true;
return ret;
|
public java.lang.String | getClassName()
return getAttribute("class");
|
public java.lang.String | getId()
return getAttribute("id");
|
public java.lang.String | getXmlLang()
return getAttribute("xml:lang");
|
void | setAttribute(java.lang.String attr, int value)
setAttribute(attr, value + "");
|
void | setAttribute(java.lang.String attr, boolean value)
setAttribute(attr, value ? "true" : "false");
|
public void | setClassName(java.lang.String newValue)
setAttribute("class", newValue);
|
public void | setId(java.lang.String newValue)
setAttribute("id", newValue);
|
public void | setXmlLang(java.lang.String newValue)
setAttribute("xml:lang", newValue);
|