ServiceRefHandlerTypepublic class ServiceRefHandlerType extends org.netbeans.modules.schema2beans.BaseBean This generated bean class ServiceRefHandlerType matches the schema element service-ref_handlerType
===============================================================
This group keeps the usage of the contained description related
elements consistent across J2EE deployment descriptors.
All elements may occur multiple times with different languages,
to support localization of the content.
===============================================================
Generated on Fri Apr 22 15:42:50 PDT 2005 |
Fields Summary |
---|
static Vector | comparators | public static final String | DESCRIPTION | public static final String | DISPLAY_NAME | public static final String | ICON | public static final String | HANDLER_NAME | public static final String | HANDLER_CLASS | public static final String | INIT_PARAM | public static final String | SOAP_HEADER | public static final String | SOAP_ROLE | public static final String | PORT_NAME |
Constructors Summary |
---|
public ServiceRefHandlerType() // NOI18N
this(Common.USE_DEFAULT_VALUES);
| public ServiceRefHandlerType(int options)
super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
// Properties (see root bean comments for the bean graph)
this.createProperty("description", // NOI18N
DESCRIPTION,
Common.TYPE_0_N | Common.TYPE_STRING | Common.TYPE_KEY,
java.lang.String.class);
this.createAttribute(DESCRIPTION, "id", "Id",
AttrProp.CDATA | AttrProp.IMPLIED,
null, null);
this.createAttribute(DESCRIPTION, "xml:lang", "XmlLang",
AttrProp.CDATA | AttrProp.IMPLIED,
null, null);
this.createProperty("display-name", // NOI18N
DISPLAY_NAME,
Common.TYPE_0_N | Common.TYPE_STRING | Common.TYPE_KEY,
java.lang.String.class);
this.createAttribute(DISPLAY_NAME, "id", "Id",
AttrProp.CDATA | AttrProp.IMPLIED,
null, null);
this.createAttribute(DISPLAY_NAME, "xml:lang", "XmlLang",
AttrProp.CDATA | AttrProp.IMPLIED,
null, null);
this.createProperty("icon", // NOI18N
ICON,
Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY,
IconType.class);
this.createAttribute(ICON, "xml:lang", "XmlLang",
AttrProp.CDATA | AttrProp.IMPLIED,
null, null);
this.createAttribute(ICON, "id", "Id",
AttrProp.CDATA | AttrProp.IMPLIED,
null, null);
this.createProperty("handler-name", // NOI18N
HANDLER_NAME,
Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY,
java.lang.String.class);
this.createAttribute(HANDLER_NAME, "id", "Id",
AttrProp.CDATA | AttrProp.IMPLIED,
null, null);
this.createProperty("handler-class", // NOI18N
HANDLER_CLASS,
Common.TYPE_1 | Common.TYPE_STRING | Common.TYPE_KEY,
java.lang.String.class);
this.createProperty("init-param", // NOI18N
INIT_PARAM,
Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY,
ParamValueType.class);
this.createAttribute(INIT_PARAM, "id", "Id",
AttrProp.CDATA | AttrProp.IMPLIED,
null, null);
this.createProperty("soap-header", // NOI18N
SOAP_HEADER,
Common.TYPE_0_N | Common.TYPE_STRING | Common.TYPE_KEY,
javax.xml.namespace.QName.class);
this.createAttribute(SOAP_HEADER, "id", "Id",
AttrProp.CDATA | AttrProp.IMPLIED,
null, null);
this.createProperty("soap-role", // NOI18N
SOAP_ROLE,
Common.TYPE_0_N | Common.TYPE_STRING | Common.TYPE_KEY,
java.lang.String.class);
this.createAttribute(SOAP_ROLE, "id", "Id",
AttrProp.CDATA | AttrProp.IMPLIED,
null, null);
this.createProperty("port-name", // NOI18N
PORT_NAME,
Common.TYPE_0_N | Common.TYPE_STRING | Common.TYPE_KEY,
java.lang.String.class);
this.createAttribute(PORT_NAME, "id", "Id",
AttrProp.CDATA | AttrProp.IMPLIED,
null, null);
this.initialize(options);
|
Methods Summary |
---|
public static void | addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.add(c);
| public int | addDescription(java.lang.String value)
return this.addValue(DESCRIPTION, value);
| public int | addDisplayName(java.lang.String value)
return this.addValue(DISPLAY_NAME, value);
| public int | addIcon(com.sun.enterprise.tools.common.dd.webservice.IconType value)
return this.addValue(ICON, value);
| public int | addInitParam(com.sun.enterprise.tools.common.dd.webservice.ParamValueType value)
return this.addValue(INIT_PARAM, value);
| public int | addPortName(java.lang.String value)
return this.addValue(PORT_NAME, value);
| public int | addSoapHeader(javax.xml.namespace.QName value)
return this.addValue(SOAP_HEADER, value);
| public int | addSoapRole(java.lang.String value)
return this.addValue(SOAP_ROLE, value);
| 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["+this.sizeDescription()+"]"); // NOI18N
for(int i=0; i<this.sizeDescription(); i++)
{
str.append(indent+"\t");
str.append("#"+i+":");
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getDescription(i);
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(DESCRIPTION, i, str, indent);
}
str.append(indent);
str.append("DisplayName["+this.sizeDisplayName()+"]"); // NOI18N
for(int i=0; i<this.sizeDisplayName(); i++)
{
str.append(indent+"\t");
str.append("#"+i+":");
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getDisplayName(i);
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(DISPLAY_NAME, i, str, indent);
}
str.append(indent);
str.append("Icon["+this.sizeIcon()+"]"); // NOI18N
for(int i=0; i<this.sizeIcon(); i++)
{
str.append(indent+"\t");
str.append("#"+i+":");
n = (org.netbeans.modules.schema2beans.BaseBean) this.getIcon(i);
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(ICON, i, str, indent);
}
str.append(indent);
str.append("HandlerName"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getHandlerName();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(HANDLER_NAME, 0, str, indent);
str.append(indent);
str.append("HandlerClass"); // NOI18N
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getHandlerClass();
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(HANDLER_CLASS, 0, str, indent);
str.append(indent);
str.append("InitParam["+this.sizeInitParam()+"]"); // NOI18N
for(int i=0; i<this.sizeInitParam(); i++)
{
str.append(indent+"\t");
str.append("#"+i+":");
n = (org.netbeans.modules.schema2beans.BaseBean) this.getInitParam(i);
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(INIT_PARAM, i, str, indent);
}
str.append(indent);
str.append("SoapHeader["+this.sizeSoapHeader()+"]"); // NOI18N
for(int i=0; i<this.sizeSoapHeader(); i++)
{
str.append(indent+"\t");
str.append("#"+i+":");
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
o = this.getSoapHeader(i);
str.append((o==null?"null":o.toString().trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(SOAP_HEADER, i, str, indent);
}
str.append(indent);
str.append("SoapRole["+this.sizeSoapRole()+"]"); // NOI18N
for(int i=0; i<this.sizeSoapRole(); i++)
{
str.append(indent+"\t");
str.append("#"+i+":");
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getSoapRole(i);
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(SOAP_ROLE, i, str, indent);
}
str.append(indent);
str.append("PortName["+this.sizePortName()+"]"); // NOI18N
for(int i=0; i<this.sizePortName(); i++)
{
str.append(indent+"\t");
str.append("#"+i+":");
str.append(indent+"\t"); // NOI18N
str.append("<"); // NOI18N
s = this.getPortName(i);
str.append((s==null?"null":s.trim())); // NOI18N
str.append(">\n"); // NOI18N
this.dumpAttributes(PORT_NAME, i, str, indent);
}
| public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("ServiceRefHandlerType\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
| public java.lang.String | getDescription(int index)
return (java.lang.String)this.getValue(DESCRIPTION, index);
| public java.lang.String[] | getDescription()
return (java.lang.String[])this.getValues(DESCRIPTION);
| public java.lang.String | getDisplayName(int index)
return (java.lang.String)this.getValue(DISPLAY_NAME, index);
| public java.lang.String[] | getDisplayName()
return (java.lang.String[])this.getValues(DISPLAY_NAME);
| public java.lang.String | getHandlerClass()
return (java.lang.String)this.getValue(HANDLER_CLASS);
| public java.lang.String | getHandlerName()
return (java.lang.String)this.getValue(HANDLER_NAME);
| public com.sun.enterprise.tools.common.dd.webservice.IconType | getIcon(int index)
return (IconType)this.getValue(ICON, index);
| public com.sun.enterprise.tools.common.dd.webservice.IconType[] | getIcon()
return (IconType[])this.getValues(ICON);
| public com.sun.enterprise.tools.common.dd.webservice.ParamValueType | getInitParam(int index)
return (ParamValueType)this.getValue(INIT_PARAM, index);
| public com.sun.enterprise.tools.common.dd.webservice.ParamValueType[] | getInitParam()
return (ParamValueType[])this.getValues(INIT_PARAM);
| public java.lang.String | getPortName(int index)
return (java.lang.String)this.getValue(PORT_NAME, index);
| public java.lang.String[] | getPortName()
return (java.lang.String[])this.getValues(PORT_NAME);
| public javax.xml.namespace.QName | getSoapHeader(int index)
return (javax.xml.namespace.QName)this.getValue(SOAP_HEADER, index);
| public javax.xml.namespace.QName[] | getSoapHeader()
return (javax.xml.namespace.QName[])this.getValues(SOAP_HEADER);
| public java.lang.String | getSoapRole(int index)
return (java.lang.String)this.getValue(SOAP_ROLE, index);
| public java.lang.String[] | getSoapRole()
return (java.lang.String[])this.getValues(SOAP_ROLE);
| void | initialize(int options)
| public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
| public int | removeDescription(java.lang.String value)
return this.removeValue(DESCRIPTION, value);
| public int | removeDisplayName(java.lang.String value)
return this.removeValue(DISPLAY_NAME, value);
| public int | removeIcon(com.sun.enterprise.tools.common.dd.webservice.IconType value)
return this.removeValue(ICON, value);
| public int | removeInitParam(com.sun.enterprise.tools.common.dd.webservice.ParamValueType value)
return this.removeValue(INIT_PARAM, value);
| public int | removePortName(java.lang.String value)
return this.removeValue(PORT_NAME, value);
| public int | removeSoapHeader(javax.xml.namespace.QName value)
return this.removeValue(SOAP_HEADER, value);
| public int | removeSoapRole(java.lang.String value)
return this.removeValue(SOAP_ROLE, value);
| public void | setDescription(int index, java.lang.String value)
this.setValue(DESCRIPTION, index, value);
| public void | setDescription(java.lang.String[] value)
this.setValue(DESCRIPTION, value);
| public void | setDisplayName(int index, java.lang.String value)
this.setValue(DISPLAY_NAME, index, value);
| public void | setDisplayName(java.lang.String[] value)
this.setValue(DISPLAY_NAME, value);
| public void | setHandlerClass(java.lang.String value)
this.setValue(HANDLER_CLASS, value);
| public void | setHandlerName(java.lang.String value)
this.setValue(HANDLER_NAME, value);
| public void | setIcon(int index, com.sun.enterprise.tools.common.dd.webservice.IconType value)
this.setValue(ICON, index, value);
| public void | setIcon(com.sun.enterprise.tools.common.dd.webservice.IconType[] value)
this.setValue(ICON, value);
| public void | setInitParam(int index, com.sun.enterprise.tools.common.dd.webservice.ParamValueType value)
this.setValue(INIT_PARAM, index, value);
| public void | setInitParam(com.sun.enterprise.tools.common.dd.webservice.ParamValueType[] value)
this.setValue(INIT_PARAM, value);
| public void | setPortName(int index, java.lang.String value)
this.setValue(PORT_NAME, index, value);
| public void | setPortName(java.lang.String[] value)
this.setValue(PORT_NAME, value);
| public void | setSoapHeader(int index, javax.xml.namespace.QName value)
this.setValue(SOAP_HEADER, index, value);
| public void | setSoapHeader(javax.xml.namespace.QName[] value)
this.setValue(SOAP_HEADER, value);
| public void | setSoapRole(int index, java.lang.String value)
this.setValue(SOAP_ROLE, index, value);
| public void | setSoapRole(java.lang.String[] value)
this.setValue(SOAP_ROLE, value);
| public int | sizeDescription()
return this.size(DESCRIPTION);
| public int | sizeDisplayName()
return this.size(DISPLAY_NAME);
| public int | sizeIcon()
return this.size(ICON);
| public int | sizeInitParam()
return this.size(INIT_PARAM);
| public int | sizePortName()
return this.size(PORT_NAME);
| public int | sizeSoapHeader()
return this.size(SOAP_HEADER);
| public int | sizeSoapRole()
return this.size(SOAP_ROLE);
| public void | validate()
|
|