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;
|
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 | getName()Getter for Name of the Element element-property
return getAttributeValue(ClientTags.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(ClientTags.VALUE);
|
void | initialize(int options)
|
public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
|
public void | setName(java.lang.String v, boolean overwrite)Modify the Name of the Element element-property
setAttributeValue(ClientTags.NAME, v, overwrite);
|
public void | setName(java.lang.String v)Modify the Name of the Element element-property
setAttributeValue(ClientTags.NAME, v);
|
public void | setValue(java.lang.String v, boolean overwrite)Modify the Value of the Element element-property
setAttributeValue(ClientTags.VALUE, v, overwrite);
|
public void | setValue(java.lang.String v)Modify the Value of the Element element-property
setAttributeValue(ClientTags.VALUE, v);
|
public void | validate()
|