KickJava   Java API By Example, From Geeks To Geeks.

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


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 DependsOnCustomizer
22  * matches the schema element 'DependsOnCustomizer'.
23  * The root bean class is ElementProperties
24  *
25  * ===============================================================
26  * Use a built-in customizer whose value(s) depend on some other attribute
27  * of the the same element or some other source.
28  *
29  * ===============================================================
30  * Generated on Mon Feb 05 17:54:51 PST 2007
31  * @Generated
32  */

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

40     private java.lang.String JavaDoc _Name = "MessageChooser";
41     private StaticCustomizer _StaticCustomizer;
42
43     /**
44      * Normal starting point constructor.
45      */

46     public DependsOnCustomizer() {
47         _StaticCustomizer = newStaticCustomizer();
48     }
49
50     /**
51      * Required parameters constructor
52      */

53     public DependsOnCustomizer(java.lang.String JavaDoc name, org.netbeans.modules.xml.wsdl.ui.property.model.StaticCustomizer staticCustomizer) {
54         _Name = name;
55         _StaticCustomizer = staticCustomizer;
56     }
57
58     /**
59      * Deep copy
60      */

61     public DependsOnCustomizer(org.netbeans.modules.xml.wsdl.ui.property.model.DependsOnCustomizer source) {
62         this(source, false);
63     }
64
65     /**
66      * Deep copy
67      * @param justData just copy the XML relevant data
68      */

69     public DependsOnCustomizer(org.netbeans.modules.xml.wsdl.ui.property.model.DependsOnCustomizer source, boolean justData) {
70         _Name = source._Name;
71         _StaticCustomizer = (source._StaticCustomizer == null) ? null : newStaticCustomizer(source._StaticCustomizer, justData);
72     }
73
74     // This attribute is mandatory
75
public void setName(java.lang.String JavaDoc value) {
76         _Name = value;
77     }
78
79     public java.lang.String JavaDoc getName() {
80         return _Name;
81     }
82
83     // This attribute is mandatory
84
public void setStaticCustomizer(org.netbeans.modules.xml.wsdl.ui.property.model.StaticCustomizer value) {
85         _StaticCustomizer = value;
86     }
87
88     public org.netbeans.modules.xml.wsdl.ui.property.model.StaticCustomizer getStaticCustomizer() {
89         return _StaticCustomizer;
90     }
91
92     /**
93      * Create a new bean using it's default constructor.
94      * This does not add it to any bean graph.
95      */

96     public org.netbeans.modules.xml.wsdl.ui.property.model.StaticCustomizer newStaticCustomizer() {
97         return new org.netbeans.modules.xml.wsdl.ui.property.model.StaticCustomizer();
98     }
99
100     /**
101      * Create a new bean, copying from another one.
102      * This does not add it to any bean graph.
103      */

104     public org.netbeans.modules.xml.wsdl.ui.property.model.StaticCustomizer newStaticCustomizer(StaticCustomizer source, boolean justData) {
105         return new org.netbeans.modules.xml.wsdl.ui.property.model.StaticCustomizer(source, justData);
106     }
107
108     public void writeNode(java.io.Writer JavaDoc out) throws java.io.IOException JavaDoc {
109         String JavaDoc myName;
110         myName = "DependsOnCustomizer";
111         writeNode(out, myName, ""); // NOI18N
112
}
113
114     public void writeNode(java.io.Writer JavaDoc out, String JavaDoc nodeName, String JavaDoc indent) throws java.io.IOException JavaDoc {
115         writeNode(out, nodeName, null, indent, new java.util.HashMap JavaDoc());
116     }
117
118     /**
119      * It's not recommended to call this method directly.
120      */

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

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

256     public String JavaDoc nameChild(Object JavaDoc childObj, boolean returnConstName, boolean returnSchemaName, boolean returnXPathName) {
257         if (childObj instanceof StaticCustomizer) {
258             StaticCustomizer child = (StaticCustomizer) childObj;
259             if (child == _StaticCustomizer) {
260                 if (returnConstName) {
261                     return STATICCUSTOMIZER;
262                 } else if (returnSchemaName) {
263                     return "StaticCustomizer";
264                 } else if (returnXPathName) {
265                     return "StaticCustomizer";
266                 } else {
267                     return "StaticCustomizer";
268                 }
269             }
270         }
271         if (childObj instanceof java.lang.String JavaDoc) {
272             java.lang.String JavaDoc child = (java.lang.String JavaDoc) childObj;
273             if (child == _Name) {
274                 if (returnConstName) {
275                     return NAME;
276                 } else if (returnSchemaName) {
277                     return "name";
278                 } else if (returnXPathName) {
279                     return "@name";
280                 } else {
281                     return "Name";
282                 }
283             }
284         }
285         return null;
286     }
287
288     /**
289      * Return an array of all of the properties that are beans and are set.
290      */

291     public java.lang.Object JavaDoc[] childBeans(boolean recursive) {
292         java.util.List JavaDoc children = new java.util.LinkedList JavaDoc();
293         childBeans(recursive, children);
294         java.lang.Object JavaDoc[] result = new java.lang.Object JavaDoc[children.size()];
295         return (java.lang.Object JavaDoc[]) children.toArray(result);
296     }
297
298     /**
299      * Put all child beans into the beans list.
300      */

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

566
Popular Tags