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
o = this.getDescription();
str.append((o==null?"null":o.toString().trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(DESCRIPTION, 0, str, indent);
|
public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("ElementProperty\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
|
public static java.lang.String | getDefaultAttributeValue(java.lang.String attr)
if(attr == null) return null;
attr = attr.trim();
return null;
|
public java.lang.String | getDescription()Return the Description of the Element element-property
return (String) getValue(ServerTags.DESCRIPTION);
|
public java.lang.String | getName()Getter for Name of the Element element-property
return getAttributeValue(ServerTags.NAME);
|
protected java.lang.String | getRelativeXPath()get the xpath representation for this element
returns something like abc[@name='value'] or abc
depending on the type of the bean
String ret = null;
ret = "element-property" + (canHaveSiblings() ? "[@name='" + getAttributeValue("name") +"']" : "") ;
return (null != ret ? ret.trim() : null);
|
public java.lang.String | getValue()Getter for Value of the Element element-property
return getAttributeValue(ServerTags.VALUE);
|
void | initialize(int options)
|
public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
|
public void | setDescription(java.lang.String v)Modify the Description of the Element element-property
setValue(ServerTags.DESCRIPTION, (null != v ? v.trim() : null));
|
public void | setName(java.lang.String v, boolean overwrite)Modify the Name of the Element element-property
setAttributeValue(ServerTags.NAME, v, overwrite);
|
public void | setName(java.lang.String v)Modify the Name of the Element element-property
setAttributeValue(ServerTags.NAME, v);
|
public void | setValue(java.lang.String v, boolean overwrite)Modify the Value of the Element element-property
setAttributeValue(ServerTags.VALUE, v, overwrite);
|
public void | setValue(java.lang.String v)Modify the Value of the Element element-property
setAttributeValue(ServerTags.VALUE, v);
|
public void | validate()
|