KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > xml > wsdl > ui > property > model > PropertyGroup


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 /**
21  * This generated bean class PropertyGroup
22  * matches the schema element 'PropertyGroup'.
23  * The root bean class is ElementProperties
24  *
25  * ===============================================================
26  * Used to create groups in the property sheet.
27  * By default, if no groups are defined all the properties will be shown
28  * in the default Property sheet called "Properties".
29  * name : defines the name of the Group.
30  * groupOrder : defines the order in which the groups will be created. The groupOrder starts with 1.
31  * isDefault : overrides the default property sheet to be this group rather than "Properties".
32  * This enables the user to put non-customized properties (which do not have a Property defined in this xml) to go into this property sheet.
33  *
34  *
35  *
36  * ===============================================================
37  * Generated on Mon Feb 05 17:54:51 PST 2007
38  * @Generated
39  */

40
41 package org.netbeans.modules.xml.wsdl.ui.property.model;
42
43 public class PropertyGroup {
44     public static final String JavaDoc NAME = "Name"; // NOI18N
45
public static final String JavaDoc GROUPORDER = "GroupOrder"; // NOI18N
46
public static final String JavaDoc ISDEFAULT = "IsDefault"; // NOI18N
47

48     private java.lang.String JavaDoc _Name;
49     private int _GroupOrder;
50     private boolean _IsDefault = false;
51
52     /**
53      * Normal starting point constructor.
54      */

55     public PropertyGroup() {
56         _Name = "";
57     }
58
59     /**
60      * Required parameters constructor
61      */

62     public PropertyGroup(java.lang.String JavaDoc name, boolean isDefault) {
63         _Name = name;
64         _IsDefault = isDefault;
65     }
66
67     /**
68      * Deep copy
69      */

70     public PropertyGroup(org.netbeans.modules.xml.wsdl.ui.property.model.PropertyGroup source) {
71         this(source, false);
72     }
73
74     /**
75      * Deep copy
76      * @param justData just copy the XML relevant data
77      */

78     public PropertyGroup(org.netbeans.modules.xml.wsdl.ui.property.model.PropertyGroup source, boolean justData) {
79         _Name = source._Name;
80         _GroupOrder = source._GroupOrder;
81         _IsDefault = source._IsDefault;
82     }
83
84     // This attribute is mandatory
85
public void setName(java.lang.String JavaDoc value) {
86         _Name = value;
87     }
88
89     public java.lang.String JavaDoc getName() {
90         return _Name;
91     }
92
93     // This attribute is optional
94
public void setGroupOrder(int value) {
95         _GroupOrder = value;
96     }
97
98     public int getGroupOrder() {
99         return _GroupOrder;
100     }
101
102     // This attribute is mandatory
103
public void setIsDefault(boolean value) {
104         _IsDefault = value;
105     }
106
107     public boolean isIsDefault() {
108         return _IsDefault;
109     }
110
111     public void writeNode(java.io.Writer JavaDoc out) throws java.io.IOException JavaDoc {
112         String JavaDoc myName;
113         myName = "PropertyGroup";
114         writeNode(out, myName, ""); // NOI18N
115
}
116
117     public void writeNode(java.io.Writer JavaDoc out, String JavaDoc nodeName, String JavaDoc indent) throws java.io.IOException JavaDoc {
118         writeNode(out, nodeName, null, indent, new java.util.HashMap JavaDoc());
119     }
120
121     /**
122      * It's not recommended to call this method directly.
123      */

124     public void writeNode(java.io.Writer JavaDoc out, String JavaDoc nodeName, String JavaDoc namespace, String JavaDoc indent, java.util.Map JavaDoc namespaceMap) throws java.io.IOException JavaDoc {
125         out.write(indent);
126         out.write("<");
127         if (namespace != null) {
128             out.write((String JavaDoc)namespaceMap.get(namespace));
129             out.write(":");
130         }
131         out.write(nodeName);
132         writeNodeAttributes(out, nodeName, namespace, indent, namespaceMap);
133         writeNodeChildren(out, nodeName, namespace, indent, namespaceMap);
134         out.write("/>\n");
135     }
136
137     protected void writeNodeAttributes(java.io.Writer JavaDoc out, String JavaDoc nodeName, String JavaDoc namespace, String JavaDoc indent, java.util.Map JavaDoc namespaceMap) throws java.io.IOException JavaDoc {
138         // name is an attribute with namespace http://xml.netbeans.org/schema/wsdlui/property
139
if (_Name != null) {
140             out.write(" name='");
141             org.netbeans.modules.xml.wsdl.ui.property.model.ElementProperties.writeXML(out, _Name, true);
142             out.write("'"); // NOI18N
143
}
144         // groupOrder is an attribute with namespace http://xml.netbeans.org/schema/wsdlui/property
145
out.write(" groupOrder='");
146         out.write(""+_GroupOrder);
147         out.write("'"); // NOI18N
148
// isDefault is an attribute with namespace http://xml.netbeans.org/schema/wsdlui/property
149
out.write(" isDefault='");
150         out.write(_IsDefault ? "true" : "false");
151         out.write("'"); // NOI18N
152
}
153
154     protected void writeNodeChildren(java.io.Writer JavaDoc out, String JavaDoc nodeName, String JavaDoc namespace, String JavaDoc indent, java.util.Map JavaDoc namespaceMap) throws java.io.IOException JavaDoc {
155     }
156
157     public void readNode(org.w3c.dom.Node JavaDoc node) {
158         readNode(node, new java.util.HashMap JavaDoc());
159     }
160
161     public void readNode(org.w3c.dom.Node JavaDoc node, java.util.Map JavaDoc namespacePrefixes) {
162         if (node.hasAttributes()) {
163             org.w3c.dom.NamedNodeMap JavaDoc attrs = node.getAttributes();
164             org.w3c.dom.Attr JavaDoc attr;
165             java.lang.String JavaDoc attrValue;
166             boolean firstNamespaceDef = true;
167             for (int attrNum = 0; attrNum < attrs.getLength(); ++attrNum) {
168                 attr = (org.w3c.dom.Attr JavaDoc) attrs.item(attrNum);
169                 String JavaDoc attrName = attr.getName();
170                 if (attrName.startsWith("xmlns:")) {
171                     if (firstNamespaceDef) {
172                         firstNamespaceDef = false;
173                         // Dup prefix map, so as to not write over previous values, and to make it easy to clear out our entries.
174
namespacePrefixes = new java.util.HashMap JavaDoc(namespacePrefixes);
175                     }
176                     String JavaDoc attrNSPrefix = attrName.substring(6, attrName.length());
177                     namespacePrefixes.put(attrNSPrefix, attr.getValue());
178                 }
179             }
180             readNodeAttributes(node, namespacePrefixes, attrs);
181         }
182         readNodeChildren(node, namespacePrefixes);
183     }
184
185     protected void readNodeAttributes(org.w3c.dom.Node JavaDoc node, java.util.Map JavaDoc namespacePrefixes, org.w3c.dom.NamedNodeMap JavaDoc attrs) {
186         org.w3c.dom.Attr JavaDoc attr;
187         java.lang.String JavaDoc attrValue;
188         attr = (org.w3c.dom.Attr JavaDoc) attrs.getNamedItem("name");
189         if (attr != null) {
190             attrValue = attr.getValue();
191             _Name = attrValue;
192         }
193         attr = (org.w3c.dom.Attr JavaDoc) attrs.getNamedItem("groupOrder");
194         if (attr != null) {
195             attrValue = attr.getValue();
196             _GroupOrder = Integer.parseInt(attrValue);
197         }
198         attr = (org.w3c.dom.Attr JavaDoc) attrs.getNamedItem("isDefault");
199         if (attr != null) {
200             attrValue = attr.getValue();
201             _IsDefault = java.lang.Boolean.valueOf(attrValue).booleanValue();
202         }
203     }
204
205     protected void readNodeChildren(org.w3c.dom.Node JavaDoc node, java.util.Map JavaDoc namespacePrefixes) {
206     }
207
208     public void changePropertyByName(String JavaDoc name, Object JavaDoc value) {
209         if (name == null) return;
210         name = name.intern();
211         if (name == "name")
212             setName((java.lang.String JavaDoc)value);
213         else if (name == "groupOrder")
214             setGroupOrder(((java.lang.Integer JavaDoc)value).intValue());
215         else if (name == "isDefault")
216             setIsDefault(((java.lang.Boolean JavaDoc)value).booleanValue());
217         else
218             throw new IllegalArgumentException JavaDoc(name+" is not a valid property name for PropertyGroup");
219     }
220
221     public Object JavaDoc fetchPropertyByName(String JavaDoc name) {
222         if (name == "name")
223             return getName();
224         if (name == "groupOrder")
225             return new java.lang.Integer JavaDoc(getGroupOrder());
226         if (name == "isDefault")
227             return (isIsDefault() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
228         throw new IllegalArgumentException JavaDoc(name+" is not a valid property name for PropertyGroup");
229     }
230
231     public String JavaDoc nameSelf() {
232         return "PropertyGroup";
233     }
234
235     public String JavaDoc nameChild(Object JavaDoc childObj) {
236         return nameChild(childObj, false, false);
237     }
238
239     /**
240      * @param childObj The child object to search for
241      * @param returnSchemaName Whether or not the schema name should be returned or the property name
242      * @return null if not found
243      */

244     public String JavaDoc nameChild(Object JavaDoc childObj, boolean returnConstName, boolean returnSchemaName) {
245         return nameChild(childObj, returnConstName, returnSchemaName, false);
246     }
247
248     /**
249      * @param childObj The child object to search for
250      * @param returnSchemaName Whether or not the schema name should be returned or the property name
251      * @return null if not found
252      */

253     public String JavaDoc nameChild(Object JavaDoc childObj, boolean returnConstName, boolean returnSchemaName, boolean returnXPathName) {
254         if (childObj instanceof java.lang.Boolean JavaDoc) {
255             java.lang.Boolean JavaDoc child = (java.lang.Boolean JavaDoc) childObj;
256             if (((java.lang.Boolean JavaDoc)child).booleanValue() == _IsDefault) {
257                 if (returnConstName) {
258                     return ISDEFAULT;
259                 } else if (returnSchemaName) {
260                     return "isDefault";
261                 } else if (returnXPathName) {
262                     return "@isDefault";
263                 } else {
264                     return "IsDefault";
265                 }
266             }
267         }
268         if (childObj instanceof java.lang.Integer JavaDoc) {
269             java.lang.Integer JavaDoc child = (java.lang.Integer JavaDoc) childObj;
270             if (((java.lang.Integer JavaDoc)child).intValue() == _GroupOrder) {
271                 if (returnConstName) {
272                     return GROUPORDER;
273                 } else if (returnSchemaName) {
274                     return "groupOrder";
275                 } else if (returnXPathName) {
276                     return "@groupOrder";
277                 } else {
278                     return "GroupOrder";
279                 }
280             }
281         }
282         if (childObj instanceof java.lang.String JavaDoc) {
283             java.lang.String JavaDoc child = (java.lang.String JavaDoc) childObj;
284             if (child == _Name) {
285                 if (returnConstName) {
286                     return NAME;
287                 } else if (returnSchemaName) {
288                     return "name";
289                 } else if (returnXPathName) {
290                     return "@name";
291                 } else {
292                     return "Name";
293                 }
294             }
295         }
296         return null;
297     }
298
299     /**
300      * Return an array of all of the properties that are beans and are set.
301      */

302     public java.lang.Object JavaDoc[] childBeans(boolean recursive) {
303         java.util.List JavaDoc children = new java.util.LinkedList JavaDoc();
304         childBeans(recursive, children);
305         java.lang.Object JavaDoc[] result = new java.lang.Object JavaDoc[children.size()];
306         return (java.lang.Object JavaDoc[]) children.toArray(result);
307     }
308
309     /**
310      * Put all child beans into the beans list.
311      */

312     public void childBeans(boolean recursive, java.util.List JavaDoc beans) {
313     }
314
315     public boolean equals(Object JavaDoc o) {
316         return o instanceof org.netbeans.modules.xml.wsdl.ui.property.model.PropertyGroup && equals((org.netbeans.modules.xml.wsdl.ui.property.model.PropertyGroup) o);
317     }
318
319     public boolean equals(org.netbeans.modules.xml.wsdl.ui.property.model.PropertyGroup inst) {
320         if (inst == this) {
321             return true;
322         }
323         if (inst == null) {
324             return false;
325         }
326         if (!(_Name == null ? inst._Name == null : _Name.equals(inst._Name))) {
327             return false;
328         }
329         if (!(_GroupOrder == inst._GroupOrder)) {
330             return false;
331         }
332         if (!(_IsDefault == inst._IsDefault)) {
333             return false;
334         }
335         return true;
336     }
337
338     public int hashCode() {
339         int result = 17;
340         result = 37*result + (_Name == null ? 0 : _Name.hashCode());
341         result = 37*result + (_GroupOrder);
342         result = 37*result + (_IsDefault ? 0 : 1);
343         return result;
344     }
345
346 }
347
348
349 /*
350         The following schema file has been used for generation:
351
352 <?xml version="1.0" encoding="UTF-8"?>
353
354 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
355             targetNamespace="http://xml.netbeans.org/schema/wsdlui/property"
356             xmlns:tns="http://xml.netbeans.org/schema/wsdlui/property"
357             elementFormDefault="qualified">
358     <xsd:element name="ElementProperties">
359         <xsd:annotation>
360             <xsd:documentation xml:lang="en-US">Root node for specifying customizers for a element.
361                 This needs to be on the GlobalElement which would represent the node in the WSDL tree.
362             If this is defined in local elements it is ignored.</xsd:documentation>
363         </xsd:annotation>
364         <xsd:complexType>
365             <xsd:sequence>
366                 <xsd:element ref="tns:PropertyGroup" maxOccurs="unbounded" />
367                 <xsd:element ref="tns:Property" maxOccurs="unbounded" />
368                 <xsd:element ref="tns:GroupedProperty" maxOccurs="unbounded" />
369             </xsd:sequence>
370         </xsd:complexType>
371     </xsd:element>
372     
373     <xsd:element name="PropertyGroup">
374         <xsd:annotation>
375             <xsd:documentation xml:lang="en-US">Used to create groups in the property sheet.
376                 By default, if no groups are defined all the properties will be shown
377                 in the default Property sheet called "Properties".
378                 name : defines the name of the Group.
379                 groupOrder : defines the order in which the groups will be created. The groupOrder starts with 1.
380                 isDefault : overrides the default property sheet to be this group rather than "Properties".
381                 This enables the user to put non-customized properties (which do not have a Property defined in this xml) to go into this property sheet.
382                 
383                 
384             </xsd:documentation>
385         </xsd:annotation>
386         <xsd:complexType>
387             <xsd:attribute name="name" type="xsd:string" use="required"/>
388             <xsd:attribute name="groupOrder" type="xsd:int"/>
389             <xsd:attribute name="isDefault" type="xsd:boolean" default="false"/>
390         </xsd:complexType>
391     </xsd:element>
392     <xsd:element name="Property">
393         <xsd:annotation>
394             <xsd:documentation xml:lang="en-US">Property represents each attribute that would be created for the Node in the wsdleditor tree.
395                 It defines a way to specify customizers for attributes.
396                 There are 3 types of Property customizers:
397                 SchemaCustomizer : The default Customizer is the SchemaCustomizer, which shows drop downs for enumerations and boolean attributes,
398                 and String customizer for all other types. So if there is no Property defined for a attribute, it will have
399                 SchemaCustomizer.
400                 BuiltInCustomizer : specifies a way to put already defined customizer to be shown. Examples are part chooser, message chooser etc.
401                 NewCustomizer : provides a way to create a custom customizer specific to the user requirement. When using this the developer has
402                 to implement the SPI org.netbeans.modules.xml.wsdl.ui.spi.WSDLLookupProvider, and add a implementation of
403                 org.netbeans.modules.xml.wsdl.ui.spi.NewCustomizerProvider, which will provide the custom Node.Property to be shown in the
404                 wsdl editor property sheet.
405             </xsd:documentation>
406         </xsd:annotation>
407         <xsd:complexType>
408             <xsd:choice>
409                 <xsd:element name="SchemaCustomizer"/>
410                 <xsd:element name="BuiltInCustomizer">
411                     <xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
412                         <xsd:choice>
413                             <xsd:element name="DependsOnCustomizer">
414                                 <xsd:annotation>
415                                     <xsd:documentation xml:lang="en-US">Use a built-in customizer whose value(s) depend on some other attribute
416                                         of the the same element or some other source.
417                                     </xsd:documentation>
418                                 </xsd:annotation>
419                                 <xsd:complexType>
420                                     <xsd:choice>
421                                         <xsd:element name="StaticCustomizer">
422                                             <xsd:annotation>
423                                                 <xsd:documentation xml:lang="en-US">dependsOnAttributeName : the attribute on which the value(s) of the chooser would depend on.
424                                                     For example: some elements may have a attribute for message and another for part, and the PartsChooser should show parts from the message that is selected in the message attribute.
425                                                     In that the dependsOnAttributeName for PartChooser would be message.
426                                                 </xsd:documentation>
427                                             </xsd:annotation>
428                                             <xsd:complexType>
429                                                 <xsd:attribute name="dependsOnAttributeName" type="xsd:QName"/>
430                                             </xsd:complexType>
431                                         </xsd:element>
432                                         <!--No use case as of yet, xsd:element name="DynamicCustomizer">
433                                             <xsd:annotation>
434                                                 <xsd:documentation xml:lang="en-US">
435                                                     
436                                                 </xsd:documentation>
437                                             </xsd:annotation>
438                                             <xsd:complexType>
439                                                 <xsd:attribute name="dependsOnAttributeValueType" type="xsd:string"/>
440                                                 <xsd:attribute name="attributeValueProviderClass" type="xsd:string"/>
441                                             </xsd:complexType>
442                                         </xsd:element-->
443                                     </xsd:choice>
444                                     <xsd:attribute name="name" type="tns:builtInCustomizerTypes"/>
445                                 </xsd:complexType>
446                             </xsd:element>
447                             <xsd:element name="SimpleCustomizer">
448                                 <xsd:annotation>
449                                     <xsd:documentation xml:lang="en-US">
450                                         Use the builtin chooser that are available (the names are defined under builtInCustomizerTypes simple type as enumerations,
451                                         name: specifies which builtin chooser to use.
452                                     </xsd:documentation>
453                                 </xsd:annotation>
454                                 <xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
455                                     <xsd:sequence/>
456                                     <xsd:attribute name="name" type="tns:builtInCustomizerTypes"/>
457                                 </xsd:complexType>
458                             </xsd:element>
459                         </xsd:choice>
460                     </xsd:complexType>
461                 </xsd:element>
462                 <xsd:element ref="tns:NewCustomizer"/>
463             </xsd:choice>
464             <xsd:attribute name="attributeName" type="xsd:string" use="required"/>
465             <xsd:attribute name="isNameableAttribute" type="xsd:boolean" default="false"/>
466             <xsd:attribute name="decoratorAttribute" type="xsd:QName"/>
467             <xsd:attribute name="groupName" type="xsd:string"/>
468             <xsd:attribute name="propertyOrder" type="xsd:int"/>
469         </xsd:complexType>
470     </xsd:element>
471     <xsd:element name="GroupedProperty">
472         <xsd:annotation>
473             <xsd:documentation xml:lang="en-US">Some attributes in a element are mutually exclusive, so in the UI, for unambiguous usage, the user may want to add a single property chooser for 2 or more attributes, which will set the appropriate attribute depending on some criteria that the customizer may determine.
474                 groupedAttributeNames : specify all the mutually exclusive attributes. There will be a single customizer for all these attributes.
475                 groupName : specifies which PropertyGroup this belongs to.
476                 propertyOrder : specifies the order in the PropertyGroup where this property would be placed.
477                 displayName: specifies the Display name of the combined chooser.
478             </xsd:documentation>
479         </xsd:annotation>
480         <xsd:complexType>
481             <xsd:choice>
482                 <xsd:element name="BuiltInCustomizer" >
483                     <xsd:annotation>
484                         <xsd:documentation xml:lang="en-US">To use pre-built customizers.
485                         </xsd:documentation>
486                     </xsd:annotation>
487                     <xsd:complexType>
488                         <xsd:choice>
489                             <xsd:element name="ElementOrTypeChooser">
490                                 <xsd:annotation>
491                                     <xsd:documentation xml:lang="en-US">Shows a Tree based selector, which shows all the elements/types from Inline/Imported schemas.
492                                         elementAttributeName : the attribute on which GlobalElement data type would be set.
493                                         typeAttributeName : the attribute on which GlobalType data type would be set.
494                                     </xsd:documentation>
495                                 </xsd:annotation>
496                                 <xsd:complexType>
497                                     <xsd:attribute name="elementAttributeName" type="xsd:NCName"/>
498                                     <xsd:attribute name="typeAttributeName" type="xsd:NCName"/>
499                                 </xsd:complexType>
500                             </xsd:element>
501                             <xsd:element name="ElementOrTypeOrMessagePartChooser">
502                                 <xsd:annotation>
503                                     <xsd:documentation xml:lang="en-US">Shows a Tree based selector, which shows all the elements/types from Inline/Imported schemas and also the messages from all imported and existing wsdls.
504                                         elementAttributeName : the attribute on which GlobalElement data type would be set.
505                                         typeAttributeName : the attribute on which GlobalType data type would be set.
506                                         messageAttributeName : the attribute on which Message data type would be set.
507                                         partAttributeName : the attribute on which part would be set.
508                                         This chooser can select between a GlobalElement or GlobalType or a wsdl Part.
509                                         
510                                     </xsd:documentation>
511                                 </xsd:annotation>
512                                 <xsd:complexType>
513                                     <xsd:attribute name="elementAttributeName" type="xsd:NCName"/>
514                                     <xsd:attribute name="typeAttributeName" type="xsd:NCName"/>
515                                     <xsd:attribute name="messageAttributeName" type="xsd:NCName"/>
516                                     <xsd:attribute name="partAttributeName" type="xsd:NCName"/>
517                                 </xsd:complexType>
518                             </xsd:element>
519                         </xsd:choice>
520                     </xsd:complexType>
521                 </xsd:element>
522                 <xsd:element ref="tns:NewCustomizer"/>
523             </xsd:choice>
524             <xsd:attribute name="groupedAttributeNames" type="tns:attributeList" use="required"/>
525             <xsd:attribute name="groupName" type="xsd:string"/>
526             <xsd:attribute name="propertyOrder" type="xsd:int"/>
527             <xsd:attribute name="displayName" type="xsd:NCName" use="required"/>
528         </xsd:complexType>
529     </xsd:element>
530     
531     
532     <xsd:element name="NewCustomizer">
533         <xsd:annotation>
534             <xsd:documentation xml:lang="en-US">Provides a way for developer to provide a custom property customizer for the attribute, if the builtin chooser dont satisfy their requirements.
535 When using this the developer has to implement the SPI org.netbeans.modules.xml.wsdl.ui.spi.WSDLLookupProvider, and add a implementation of org.netbeans.modules.xml.wsdl.ui.spi.NewCustomizerProvider, which will provide the custom Node.Property to be shown in the wsdl editor property sheet.
536             </xsd:documentation>
537         </xsd:annotation>
538     </xsd:element>
539     
540     
541     <xsd:simpleType name="builtInCustomizerTypes">
542         <xsd:restriction base="xsd:string">
543             <xsd:enumeration value="MessageChooser">
544                 <xsd:annotation>
545                     <xsd:documentation xml:lang="en-US">Shows a drop down of all messages in the current WSDL document and also ones in imported WSDL documents.</xsd:documentation>
546                 </xsd:annotation>
547             </xsd:enumeration>
548             <xsd:enumeration value="PartChooser">
549                 <xsd:annotation>
550                     <xsd:documentation xml:lang="en-US">Show a drop down of all parts for a message. By default, the chooser assumes that it is in the binding section under input/output/fault, and shows all the parts for the message selected in the input/output/fault.
551     If not, then the dependsOnCustomizer needs to be used to specify the attribute which represents the message, whose parts will be shown</xsd:documentation>
552                 </xsd:annotation>
553             </xsd:enumeration>
554             <xsd:enumeration value="PortTypeChooser">
555                 <xsd:annotation>
556                     <xsd:documentation xml:lang="en-US">Show a drop down of all port types in the WSDL Document/Imported WSDL Documents.</xsd:documentation>
557                 </xsd:annotation>
558             </xsd:enumeration>
559             <xsd:enumeration value="PartsChooser">
560                 <xsd:annotation>
561                     <xsd:documentation xml:lang="en-US">Show a dialog of all parts for a message, from which multiple parts can be selected. By default, the chooser assumes that it is in the binding section under input/output/fault, and shows all the parts for the message selected in the input/output/fault.
562     If not, then the dependsOnCustomizer needs to be used to specify the attribute which represents the message, whose parts will be shown</xsd:documentation>
563                 </xsd:annotation>
564             </xsd:enumeration>
565         </xsd:restriction>
566     </xsd:simpleType>
567     
568     <xsd:simpleType name="attributeList">
569         <xsd:list itemType="xsd:string"/>
570     </xsd:simpleType>
571     
572 </xsd:schema>
573
574 */

575
Popular Tags