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("HttpAccessLog\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();
if(attr.equals(ServerTags.LOG_DIRECTORY)) return "${com.sun.aas.instanceRoot}/logs/access".trim();
if(attr.equals(ServerTags.IPONLY)) return "true".trim();
return null;
|
public static java.lang.String | getDefaultIponly()Get the default value of Iponly from dtd
return "true".trim();
|
public static java.lang.String | getDefaultLogDirectory()Get the default value of LogDirectory from dtd
return "${com.sun.aas.instanceRoot}/logs/access".trim();
|
public java.lang.String | getLogDirectory()Getter for LogDirectory of the Element http-access-log
return getAttributeValue(ServerTags.LOG_DIRECTORY);
|
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 = "http-access-log";
return (null != ret ? ret.trim() : null);
|
void | initialize(int options)
|
public boolean | isIponly()Getter for Iponly of the Element http-access-log
return toBoolean(getAttributeValue(ServerTags.IPONLY));
|
public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
|
public void | setIponly(boolean v)Modify the Iponly of the Element http-access-log
setAttributeValue(ServerTags.IPONLY, ""+(v==true));
|
public void | setIponly(boolean v, boolean overwrite)Modify the Iponly of the Element http-access-log
setAttributeValue(ServerTags.IPONLY, ""+(v==true), overwrite);
|
public void | setLogDirectory(java.lang.String v, boolean overwrite)Modify the LogDirectory of the Element http-access-log
setAttributeValue(ServerTags.LOG_DIRECTORY, v, overwrite);
|
public void | setLogDirectory(java.lang.String v)Modify the LogDirectory of the Element http-access-log
setAttributeValue(ServerTags.LOG_DIRECTORY, v);
|
public void | validate()
|