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("Ssl\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
|
public java.lang.String | getCertNickname()Getter for CertNickname of the Element ssl
return getAttributeValue(ServerTags.CERT_NICKNAME);
|
public static java.lang.String | getDefaultAttributeValue(java.lang.String attr)
if(attr == null) return null;
attr = attr.trim();
if(attr.equals(ServerTags.SSL2_ENABLED)) return "false".trim();
if(attr.equals(ServerTags.SSL3_ENABLED)) return "true".trim();
if(attr.equals(ServerTags.TLS_ENABLED)) return "true".trim();
if(attr.equals(ServerTags.TLS_ROLLBACK_ENABLED)) return "true".trim();
if(attr.equals(ServerTags.CLIENT_AUTH_ENABLED)) return "false".trim();
return null;
|
public static java.lang.String | getDefaultClientAuthEnabled()Get the default value of ClientAuthEnabled from dtd
return "false".trim();
|
public static java.lang.String | getDefaultSsl2Enabled()Get the default value of Ssl2Enabled from dtd
return "false".trim();
|
public static java.lang.String | getDefaultSsl3Enabled()Get the default value of Ssl3Enabled from dtd
return "true".trim();
|
public static java.lang.String | getDefaultTlsEnabled()Get the default value of TlsEnabled from dtd
return "true".trim();
|
public static java.lang.String | getDefaultTlsRollbackEnabled()Get the default value of TlsRollbackEnabled from dtd
return "true".trim();
|
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 = "ssl";
return (null != ret ? ret.trim() : null);
|
public java.lang.String | getSsl2Ciphers()Getter for Ssl2Ciphers of the Element ssl
return getAttributeValue(ServerTags.SSL2_CIPHERS);
|
public java.lang.String | getSsl3TlsCiphers()Getter for Ssl3TlsCiphers of the Element ssl
return getAttributeValue(ServerTags.SSL3_TLS_CIPHERS);
|
void | initialize(int options)
|
public boolean | isClientAuthEnabled()Getter for ClientAuthEnabled of the Element ssl
return toBoolean(getAttributeValue(ServerTags.CLIENT_AUTH_ENABLED));
|
public boolean | isSsl2Enabled()Getter for Ssl2Enabled of the Element ssl
return toBoolean(getAttributeValue(ServerTags.SSL2_ENABLED));
|
public boolean | isSsl3Enabled()Getter for Ssl3Enabled of the Element ssl
return toBoolean(getAttributeValue(ServerTags.SSL3_ENABLED));
|
public boolean | isTlsEnabled()Getter for TlsEnabled of the Element ssl
return toBoolean(getAttributeValue(ServerTags.TLS_ENABLED));
|
public boolean | isTlsRollbackEnabled()Getter for TlsRollbackEnabled of the Element ssl
return toBoolean(getAttributeValue(ServerTags.TLS_ROLLBACK_ENABLED));
|
public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
|
public void | setCertNickname(java.lang.String v, boolean overwrite)Modify the CertNickname of the Element ssl
setAttributeValue(ServerTags.CERT_NICKNAME, v, overwrite);
|
public void | setCertNickname(java.lang.String v)Modify the CertNickname of the Element ssl
setAttributeValue(ServerTags.CERT_NICKNAME, v);
|
public void | setClientAuthEnabled(boolean v, boolean overwrite)Modify the ClientAuthEnabled of the Element ssl
setAttributeValue(ServerTags.CLIENT_AUTH_ENABLED, ""+(v==true), overwrite);
|
public void | setClientAuthEnabled(boolean v)Modify the ClientAuthEnabled of the Element ssl
setAttributeValue(ServerTags.CLIENT_AUTH_ENABLED, ""+(v==true));
|
public void | setSsl2Ciphers(java.lang.String v, boolean overwrite)Modify the Ssl2Ciphers of the Element ssl
setAttributeValue(ServerTags.SSL2_CIPHERS, v, overwrite);
|
public void | setSsl2Ciphers(java.lang.String v)Modify the Ssl2Ciphers of the Element ssl
setAttributeValue(ServerTags.SSL2_CIPHERS, v);
|
public void | setSsl2Enabled(boolean v, boolean overwrite)Modify the Ssl2Enabled of the Element ssl
setAttributeValue(ServerTags.SSL2_ENABLED, ""+(v==true), overwrite);
|
public void | setSsl2Enabled(boolean v)Modify the Ssl2Enabled of the Element ssl
setAttributeValue(ServerTags.SSL2_ENABLED, ""+(v==true));
|
public void | setSsl3Enabled(boolean v, boolean overwrite)Modify the Ssl3Enabled of the Element ssl
setAttributeValue(ServerTags.SSL3_ENABLED, ""+(v==true), overwrite);
|
public void | setSsl3Enabled(boolean v)Modify the Ssl3Enabled of the Element ssl
setAttributeValue(ServerTags.SSL3_ENABLED, ""+(v==true));
|
public void | setSsl3TlsCiphers(java.lang.String v, boolean overwrite)Modify the Ssl3TlsCiphers of the Element ssl
setAttributeValue(ServerTags.SSL3_TLS_CIPHERS, v, overwrite);
|
public void | setSsl3TlsCiphers(java.lang.String v)Modify the Ssl3TlsCiphers of the Element ssl
setAttributeValue(ServerTags.SSL3_TLS_CIPHERS, v);
|
public void | setTlsEnabled(boolean v, boolean overwrite)Modify the TlsEnabled of the Element ssl
setAttributeValue(ServerTags.TLS_ENABLED, ""+(v==true), overwrite);
|
public void | setTlsEnabled(boolean v)Modify the TlsEnabled of the Element ssl
setAttributeValue(ServerTags.TLS_ENABLED, ""+(v==true));
|
public void | setTlsRollbackEnabled(boolean v, boolean overwrite)Modify the TlsRollbackEnabled of the Element ssl
setAttributeValue(ServerTags.TLS_ROLLBACK_ENABLED, ""+(v==true), overwrite);
|
public void | setTlsRollbackEnabled(boolean v)Modify the TlsRollbackEnabled of the Element ssl
setAttributeValue(ServerTags.TLS_ROLLBACK_ENABLED, ""+(v==true));
|
public void | validate()
|