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("RegistryLocation\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
|
public java.lang.String | getConnectorResourceJndiName()Getter for ConnectorResourceJndiName of the Element registry-location
return getAttributeValue(ServerTags.CONNECTOR_RESOURCE_JNDI_NAME);
|
public static java.lang.String | getDefaultAttributeValue(java.lang.String attr)
if(attr == null) return null;
attr = attr.trim();
return null;
|
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 = "registry-location" + (canHaveSiblings() ? "[@connector-resource-jndi-name='" + getAttributeValue("connector-resource-jndi-name") +"']" : "") ;
return (null != ret ? ret.trim() : null);
|
void | initialize(int options)
|
public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
|
public void | setConnectorResourceJndiName(java.lang.String v, boolean overwrite)Modify the ConnectorResourceJndiName of the Element registry-location
setAttributeValue(ServerTags.CONNECTOR_RESOURCE_JNDI_NAME, v, overwrite);
|
public void | setConnectorResourceJndiName(java.lang.String v)Modify the ConnectorResourceJndiName of the Element registry-location
setAttributeValue(ServerTags.CONNECTOR_RESOURCE_JNDI_NAME, v);
|
public void | validate()
|