KickJava   Java API By Example, From Geeks To Geeks.

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


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 StaticCustomizer
22  * matches the schema element 'StaticCustomizer'.
23  * The root bean class is ElementProperties
24  *
25  * ===============================================================
26  * dependsOnAttributeName : the attribute on which the value(s) of the chooser would depend on.
27  * 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.
28  * In that the dependsOnAttributeName for PartChooser would be message.
29  *
30  * ===============================================================
31  * Generated on Mon Feb 05 17:54:51 PST 2007
32  * @Generated
33  */

34
35 package org.netbeans.modules.xml.wsdl.ui.property.model;
36
37 public class StaticCustomizer {
38     public static final String JavaDoc DEPENDSONATTRIBUTENAME = "DependsOnAttributeName"; // NOI18N
39

40     private javax.xml.namespace.QName JavaDoc _DependsOnAttributeName;
41
42     /**
43      * Normal starting point constructor.
44      */

45     public StaticCustomizer() {
46     }
47
48     /**
49      * Deep copy
50      */

51     public StaticCustomizer(org.netbeans.modules.xml.wsdl.ui.property.model.StaticCustomizer source) {
52         this(source, false);
53     }
54
55     /**
56      * Deep copy
57      * @param justData just copy the XML relevant data
58      */

59     public StaticCustomizer(org.netbeans.modules.xml.wsdl.ui.property.model.StaticCustomizer source, boolean justData) {
60         _DependsOnAttributeName = source._DependsOnAttributeName;
61     }
62
63     // This attribute is optional
64
public void setDependsOnAttributeName(javax.xml.namespace.QName JavaDoc value) {
65         _DependsOnAttributeName = value;
66     }
67
68     public javax.xml.namespace.QName JavaDoc getDependsOnAttributeName() {
69         return _DependsOnAttributeName;
70     }
71
72     public void writeNode(java.io.Writer JavaDoc out) throws java.io.IOException JavaDoc {
73         String JavaDoc myName;
74         myName = "StaticCustomizer";
75         writeNode(out, myName, ""); // NOI18N
76
}
77
78     public void writeNode(java.io.Writer JavaDoc out, String JavaDoc nodeName, String JavaDoc indent) throws java.io.IOException JavaDoc {
79         writeNode(out, nodeName, null, indent, new java.util.HashMap JavaDoc());
80     }
81
82     /**
83      * It's not recommended to call this method directly.
84      */

85     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 {
86         out.write(indent);
87         out.write("<");
88         if (namespace != null) {
89             out.write((String JavaDoc)namespaceMap.get(namespace));
90             out.write(":");
91         }
92         out.write(nodeName);
93         // Work out any namespaces.
94
boolean firstNSAddition = true;
95         if (_DependsOnAttributeName != null && _DependsOnAttributeName.getNamespaceURI() != null && !"".equals(_DependsOnAttributeName.getNamespaceURI())) {
96             String JavaDoc prefix = (String JavaDoc) namespaceMap.get(_DependsOnAttributeName.getNamespaceURI());
97             if (prefix == null || "".equals(prefix)) {
98                 prefix = _DependsOnAttributeName.getPrefix();
99                 if (prefix == null || "".equals(prefix)) {
100                     prefix = "dependsOnAttributeName_ns__";
101                 }
102                 // Need to make sure it's a unique prefix too.
103
boolean changed;
104                 do {
105                     changed = false;
106                     for (java.util.Iterator JavaDoc valueIt = namespaceMap.values().iterator();
107                         valueIt.hasNext(); ) {
108                         String JavaDoc otherPrefix = (String JavaDoc) valueIt.next();
109                         if (prefix.equals(otherPrefix)) {
110                             prefix += "_";
111                             changed = true;
112                         }
113                     }
114                 } while (changed);
115                 if (firstNSAddition) {
116                     firstNSAddition = false;
117                     // Copy on write
118
namespaceMap = new java.util.HashMap JavaDoc(namespaceMap);
119                 }
120                 namespaceMap.put(_DependsOnAttributeName.getNamespaceURI(), prefix);
121                 out.write(" xmlns:");
122                 out.write(prefix);
123                 out.write("='");
124                 out.write(_DependsOnAttributeName.getNamespaceURI());
125                 out.write("'");
126             }
127         }
128         writeNodeAttributes(out, nodeName, namespace, indent, namespaceMap);
129         writeNodeChildren(out, nodeName, namespace, indent, namespaceMap);
130         out.write("/>\n");
131     }
132
133     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 {
134         // dependsOnAttributeName is an attribute with namespace http://xml.netbeans.org/schema/wsdlui/property
135
if (_DependsOnAttributeName != null) {
136             out.write(" dependsOnAttributeName='");
137             if (_DependsOnAttributeName.getNamespaceURI() != null && !"".equals(_DependsOnAttributeName.getNamespaceURI())) {
138                 out.write((String JavaDoc) namespaceMap.get(_DependsOnAttributeName.getNamespaceURI()));
139                 out.write(":");
140             }
141             org.netbeans.modules.xml.wsdl.ui.property.model.ElementProperties.writeXML(out, _DependsOnAttributeName.getLocalPart(), true);
142             out.write("'"); // NOI18N
143
}
144     }
145
146     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 {
147     }
148
149     public void readNode(org.w3c.dom.Node JavaDoc node) {
150         readNode(node, new java.util.HashMap JavaDoc());
151     }
152
153     public void readNode(org.w3c.dom.Node JavaDoc node, java.util.Map JavaDoc namespacePrefixes) {
154         if (node.hasAttributes()) {
155             org.w3c.dom.NamedNodeMap JavaDoc attrs = node.getAttributes();
156             org.w3c.dom.Attr JavaDoc attr;
157             java.lang.String JavaDoc attrValue;
158             boolean firstNamespaceDef = true;
159             for (int attrNum = 0; attrNum < attrs.getLength(); ++attrNum) {
160                 attr = (org.w3c.dom.Attr JavaDoc) attrs.item(attrNum);
161                 String JavaDoc attrName = attr.getName();
162                 if (attrName.startsWith("xmlns:")) {
163                     if (firstNamespaceDef) {
164                         firstNamespaceDef = false;
165                         // Dup prefix map, so as to not write over previous values, and to make it easy to clear out our entries.
166
namespacePrefixes = new java.util.HashMap JavaDoc(namespacePrefixes);
167                     }
168                     String JavaDoc attrNSPrefix = attrName.substring(6, attrName.length());
169                     namespacePrefixes.put(attrNSPrefix, attr.getValue());
170                 }
171             }
172             readNodeAttributes(node, namespacePrefixes, attrs);
173         }
174         readNodeChildren(node, namespacePrefixes);
175     }
176
177     protected void readNodeAttributes(org.w3c.dom.Node JavaDoc node, java.util.Map JavaDoc namespacePrefixes, org.w3c.dom.NamedNodeMap JavaDoc attrs) {
178         org.w3c.dom.Attr JavaDoc attr;
179         java.lang.String JavaDoc attrValue;
180         attr = (org.w3c.dom.Attr JavaDoc) attrs.getNamedItem("dependsOnAttributeName");
181         if (attr != null) {
182             attrValue = attr.getValue();
183             int colonPos = attrValue.indexOf(':');
184             if (colonPos < 0) {
185                 _DependsOnAttributeName = new javax.xml.namespace.QName JavaDoc(attrValue);
186             } else {
187                 java.util.Map JavaDoc nsPrefixes = new java.util.HashMap JavaDoc(namespacePrefixes);
188                 for (int attrNum = 0; attrNum < attrs.getLength();
189                     ++attrNum) {
190                     attr = (org.w3c.dom.Attr JavaDoc) attrs.item(attrNum);
191                     String JavaDoc attrName = attr.getName();
192                     if (attrName.startsWith("xmlns:")) {
193                         String JavaDoc attrNSPrefix = attrName.substring(6, attrName.length());
194                         nsPrefixes.put(attrNSPrefix, attr.getValue());
195                     }
196                 }
197                 String JavaDoc prefix = attrValue.substring(0, colonPos);
198                 String JavaDoc ns = (String JavaDoc) nsPrefixes.get(prefix);
199                 String JavaDoc localPart = attrValue.substring(colonPos+1, attrValue.length());
200                 _DependsOnAttributeName = new javax.xml.namespace.QName JavaDoc(ns, localPart, prefix);
201             }
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 == "dependsOnAttributeName")
212             setDependsOnAttributeName((javax.xml.namespace.QName JavaDoc)value);
213         else
214             throw new IllegalArgumentException JavaDoc(name+" is not a valid property name for StaticCustomizer");
215     }
216
217     public Object JavaDoc fetchPropertyByName(String JavaDoc name) {
218         if (name == "dependsOnAttributeName")
219             return getDependsOnAttributeName();
220         throw new IllegalArgumentException JavaDoc(name+" is not a valid property name for StaticCustomizer");
221     }
222
223     public String JavaDoc nameSelf() {
224         return "StaticCustomizer";
225     }
226
227     public String JavaDoc nameChild(Object JavaDoc childObj) {
228         return nameChild(childObj, false, false);
229     }
230
231     /**
232      * @param childObj The child object to search for
233      * @param returnSchemaName Whether or not the schema name should be returned or the property name
234      * @return null if not found
235      */

236     public String JavaDoc nameChild(Object JavaDoc childObj, boolean returnConstName, boolean returnSchemaName) {
237         return nameChild(childObj, returnConstName, returnSchemaName, false);
238     }
239
240     /**
241      * @param childObj The child object to search for
242      * @param returnSchemaName Whether or not the schema name should be returned or the property name
243      * @return null if not found
244      */

245     public String JavaDoc nameChild(Object JavaDoc childObj, boolean returnConstName, boolean returnSchemaName, boolean returnXPathName) {
246         if (childObj instanceof javax.xml.namespace.QName JavaDoc) {
247             javax.xml.namespace.QName JavaDoc child = (javax.xml.namespace.QName JavaDoc) childObj;
248             if (child == _DependsOnAttributeName) {
249                 if (returnConstName) {
250                     return DEPENDSONATTRIBUTENAME;
251                 } else if (returnSchemaName) {
252                     return "dependsOnAttributeName";
253                 } else if (returnXPathName) {
254                     return "@dependsOnAttributeName";
255                 } else {
256                     return "DependsOnAttributeName";
257                 }
258             }
259         }
260         return null;
261     }
262
263     /**
264      * Return an array of all of the properties that are beans and are set.
265      */

266     public java.lang.Object JavaDoc[] childBeans(boolean recursive) {
267         java.util.List JavaDoc children = new java.util.LinkedList JavaDoc();
268         childBeans(recursive, children);
269         java.lang.Object JavaDoc[] result = new java.lang.Object JavaDoc[children.size()];
270         return (java.lang.Object JavaDoc[]) children.toArray(result);
271     }
272
273     /**
274      * Put all child beans into the beans list.
275      */

276     public void childBeans(boolean recursive, java.util.List JavaDoc beans) {
277     }
278
279     public boolean equals(Object JavaDoc o) {
280         return o instanceof org.netbeans.modules.xml.wsdl.ui.property.model.StaticCustomizer && equals((org.netbeans.modules.xml.wsdl.ui.property.model.StaticCustomizer) o);
281     }
282
283     public boolean equals(org.netbeans.modules.xml.wsdl.ui.property.model.StaticCustomizer inst) {
284         if (inst == this) {
285             return true;
286         }
287         if (inst == null) {
288             return false;
289         }
290         if (!(_DependsOnAttributeName == null ? inst._DependsOnAttributeName == null : _DependsOnAttributeName.equals(inst._DependsOnAttributeName))) {
291             return false;
292         }
293         return true;
294     }
295
296     public int hashCode() {
297         int result = 17;
298         result = 37*result + (_DependsOnAttributeName == null ? 0 : _DependsOnAttributeName.hashCode());
299         return result;
300     }
301
302 }
303
304
305 /*
306         The following schema file has been used for generation:
307
308 <?xml version="1.0" encoding="UTF-8"?>
309
310 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
311             targetNamespace="http://xml.netbeans.org/schema/wsdlui/property"
312             xmlns:tns="http://xml.netbeans.org/schema/wsdlui/property"
313             elementFormDefault="qualified">
314     <xsd:element name="ElementProperties">
315         <xsd:annotation>
316             <xsd:documentation xml:lang="en-US">Root node for specifying customizers for a element.
317                 This needs to be on the GlobalElement which would represent the node in the WSDL tree.
318             If this is defined in local elements it is ignored.</xsd:documentation>
319         </xsd:annotation>
320         <xsd:complexType>
321             <xsd:sequence>
322                 <xsd:element ref="tns:PropertyGroup" maxOccurs="unbounded" />
323                 <xsd:element ref="tns:Property" maxOccurs="unbounded" />
324                 <xsd:element ref="tns:GroupedProperty" maxOccurs="unbounded" />
325             </xsd:sequence>
326         </xsd:complexType>
327     </xsd:element>
328     
329     <xsd:element name="PropertyGroup">
330         <xsd:annotation>
331             <xsd:documentation xml:lang="en-US">Used to create groups in the property sheet.
332                 By default, if no groups are defined all the properties will be shown
333                 in the default Property sheet called "Properties".
334                 name : defines the name of the Group.
335                 groupOrder : defines the order in which the groups will be created. The groupOrder starts with 1.
336                 isDefault : overrides the default property sheet to be this group rather than "Properties".
337                 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.
338                 
339                 
340             </xsd:documentation>
341         </xsd:annotation>
342         <xsd:complexType>
343             <xsd:attribute name="name" type="xsd:string" use="required"/>
344             <xsd:attribute name="groupOrder" type="xsd:int"/>
345             <xsd:attribute name="isDefault" type="xsd:boolean" default="false"/>
346         </xsd:complexType>
347     </xsd:element>
348     <xsd:element name="Property">
349         <xsd:annotation>
350             <xsd:documentation xml:lang="en-US">Property represents each attribute that would be created for the Node in the wsdleditor tree.
351                 It defines a way to specify customizers for attributes.
352                 There are 3 types of Property customizers:
353                 SchemaCustomizer : The default Customizer is the SchemaCustomizer, which shows drop downs for enumerations and boolean attributes,
354                 and String customizer for all other types. So if there is no Property defined for a attribute, it will have
355                 SchemaCustomizer.
356                 BuiltInCustomizer : specifies a way to put already defined customizer to be shown. Examples are part chooser, message chooser etc.
357                 NewCustomizer : provides a way to create a custom customizer specific to the user requirement. When using this the developer has
358                 to implement the SPI org.netbeans.modules.xml.wsdl.ui.spi.WSDLLookupProvider, and add a implementation of
359                 org.netbeans.modules.xml.wsdl.ui.spi.NewCustomizerProvider, which will provide the custom Node.Property to be shown in the
360                 wsdl editor property sheet.
361             </xsd:documentation>
362         </xsd:annotation>
363         <xsd:complexType>
364             <xsd:choice>
365                 <xsd:element name="SchemaCustomizer"/>
366                 <xsd:element name="BuiltInCustomizer">
367                     <xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
368                         <xsd:choice>
369                             <xsd:element name="DependsOnCustomizer">
370                                 <xsd:annotation>
371                                     <xsd:documentation xml:lang="en-US">Use a built-in customizer whose value(s) depend on some other attribute
372                                         of the the same element or some other source.
373                                     </xsd:documentation>
374                                 </xsd:annotation>
375                                 <xsd:complexType>
376                                     <xsd:choice>
377                                         <xsd:element name="StaticCustomizer">
378                                             <xsd:annotation>
379                                                 <xsd:documentation xml:lang="en-US">dependsOnAttributeName : the attribute on which the value(s) of the chooser would depend on.
380                                                     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.
381                                                     In that the dependsOnAttributeName for PartChooser would be message.
382                                                 </xsd:documentation>
383                                             </xsd:annotation>
384                                             <xsd:complexType>
385                                                 <xsd:attribute name="dependsOnAttributeName" type="xsd:QName"/>
386                                             </xsd:complexType>
387                                         </xsd:element>
388                                         <!--No use case as of yet, xsd:element name="DynamicCustomizer">
389                                             <xsd:annotation>
390                                                 <xsd:documentation xml:lang="en-US">
391                                                     
392                                                 </xsd:documentation>
393                                             </xsd:annotation>
394                                             <xsd:complexType>
395                                                 <xsd:attribute name="dependsOnAttributeValueType" type="xsd:string"/>
396                                                 <xsd:attribute name="attributeValueProviderClass" type="xsd:string"/>
397                                             </xsd:complexType>
398                                         </xsd:element-->
399                                     </xsd:choice>
400                                     <xsd:attribute name="name" type="tns:builtInCustomizerTypes"/>
401                                 </xsd:complexType>
402                             </xsd:element>
403                             <xsd:element name="SimpleCustomizer">
404                                 <xsd:annotation>
405                                     <xsd:documentation xml:lang="en-US">
406                                         Use the builtin chooser that are available (the names are defined under builtInCustomizerTypes simple type as enumerations,
407                                         name: specifies which builtin chooser to use.
408                                     </xsd:documentation>
409                                 </xsd:annotation>
410                                 <xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
411                                     <xsd:sequence/>
412                                     <xsd:attribute name="name" type="tns:builtInCustomizerTypes"/>
413                                 </xsd:complexType>
414                             </xsd:element>
415                         </xsd:choice>
416                     </xsd:complexType>
417                 </xsd:element>
418                 <xsd:element ref="tns:NewCustomizer"/>
419             </xsd:choice>
420             <xsd:attribute name="attributeName" type="xsd:string" use="required"/>
421             <xsd:attribute name="isNameableAttribute" type="xsd:boolean" default="false"/>
422             <xsd:attribute name="decoratorAttribute" type="xsd:QName"/>
423             <xsd:attribute name="groupName" type="xsd:string"/>
424             <xsd:attribute name="propertyOrder" type="xsd:int"/>
425         </xsd:complexType>
426     </xsd:element>
427     <xsd:element name="GroupedProperty">
428         <xsd:annotation>
429             <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.
430                 groupedAttributeNames : specify all the mutually exclusive attributes. There will be a single customizer for all these attributes.
431                 groupName : specifies which PropertyGroup this belongs to.
432                 propertyOrder : specifies the order in the PropertyGroup where this property would be placed.
433                 displayName: specifies the Display name of the combined chooser.
434             </xsd:documentation>
435         </xsd:annotation>
436         <xsd:complexType>
437             <xsd:choice>
438                 <xsd:element name="BuiltInCustomizer" >
439                     <xsd:annotation>
440                         <xsd:documentation xml:lang="en-US">To use pre-built customizers.
441                         </xsd:documentation>
442                     </xsd:annotation>
443                     <xsd:complexType>
444                         <xsd:choice>
445                             <xsd:element name="ElementOrTypeChooser">
446                                 <xsd:annotation>
447                                     <xsd:documentation xml:lang="en-US">Shows a Tree based selector, which shows all the elements/types from Inline/Imported schemas.
448                                         elementAttributeName : the attribute on which GlobalElement data type would be set.
449                                         typeAttributeName : the attribute on which GlobalType data type would be set.
450                                     </xsd:documentation>
451                                 </xsd:annotation>
452                                 <xsd:complexType>
453                                     <xsd:attribute name="elementAttributeName" type="xsd:NCName"/>
454                                     <xsd:attribute name="typeAttributeName" type="xsd:NCName"/>
455                                 </xsd:complexType>
456                             </xsd:element>
457                             <xsd:element name="ElementOrTypeOrMessagePartChooser">
458                                 <xsd:annotation>
459                                     <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.
460                                         elementAttributeName : the attribute on which GlobalElement data type would be set.
461                                         typeAttributeName : the attribute on which GlobalType data type would be set.
462                                         messageAttributeName : the attribute on which Message data type would be set.
463                                         partAttributeName : the attribute on which part would be set.
464                                         This chooser can select between a GlobalElement or GlobalType or a wsdl Part.
465                                         
466                                     </xsd:documentation>
467                                 </xsd:annotation>
468                                 <xsd:complexType>
469                                     <xsd:attribute name="elementAttributeName" type="xsd:NCName"/>
470                                     <xsd:attribute name="typeAttributeName" type="xsd:NCName"/>
471                                     <xsd:attribute name="messageAttributeName" type="xsd:NCName"/>
472                                     <xsd:attribute name="partAttributeName" type="xsd:NCName"/>
473                                 </xsd:complexType>
474                             </xsd:element>
475                         </xsd:choice>
476                     </xsd:complexType>
477                 </xsd:element>
478                 <xsd:element ref="tns:NewCustomizer"/>
479             </xsd:choice>
480             <xsd:attribute name="groupedAttributeNames" type="tns:attributeList" use="required"/>
481             <xsd:attribute name="groupName" type="xsd:string"/>
482             <xsd:attribute name="propertyOrder" type="xsd:int"/>
483             <xsd:attribute name="displayName" type="xsd:NCName" use="required"/>
484         </xsd:complexType>
485     </xsd:element>
486     
487     
488     <xsd:element name="NewCustomizer">
489         <xsd:annotation>
490             <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.
491 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.
492             </xsd:documentation>
493         </xsd:annotation>
494     </xsd:element>
495     
496     
497     <xsd:simpleType name="builtInCustomizerTypes">
498         <xsd:restriction base="xsd:string">
499             <xsd:enumeration value="MessageChooser">
500                 <xsd:annotation>
501                     <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>
502                 </xsd:annotation>
503             </xsd:enumeration>
504             <xsd:enumeration value="PartChooser">
505                 <xsd:annotation>
506                     <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.
507     If not, then the dependsOnCustomizer needs to be used to specify the attribute which represents the message, whose parts will be shown</xsd:documentation>
508                 </xsd:annotation>
509             </xsd:enumeration>
510             <xsd:enumeration value="PortTypeChooser">
511                 <xsd:annotation>
512                     <xsd:documentation xml:lang="en-US">Show a drop down of all port types in the WSDL Document/Imported WSDL Documents.</xsd:documentation>
513                 </xsd:annotation>
514             </xsd:enumeration>
515             <xsd:enumeration value="PartsChooser">
516                 <xsd:annotation>
517                     <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.
518     If not, then the dependsOnCustomizer needs to be used to specify the attribute which represents the message, whose parts will be shown</xsd:documentation>
519                 </xsd:annotation>
520             </xsd:enumeration>
521         </xsd:restriction>
522     </xsd:simpleType>
523     
524     <xsd:simpleType name="attributeList">
525         <xsd:list itemType="xsd:string"/>
526     </xsd:simpleType>
527     
528 </xsd:schema>
529
530 */

531
Popular Tags