1 /*2 * The contents of this file are subject to the terms of the Common Development3 * and Distribution License (the License). You may not use this file except in4 * compliance with the License.5 *6 * You can obtain a copy of the License at http://www.netbeans.org/cddl.html7 * or http://www.netbeans.org/cddl.txt.8 *9 * When distributing Covered Code, include this CDDL Header Notice in each file10 * and include the License file at http://www.netbeans.org/cddl.txt.11 * If applicable, add the following below the CDDL Header, with the fields12 * 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 Original16 * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun17 * Microsystems, Inc. All Rights Reserved.18 */19 20 package org.netbeans.modules.xml.wsdl.model;21 22 import javax.xml.namespace.QName ;23 import org.netbeans.modules.xml.wsdl.model.extensions.soap.SOAPAddress;24 import org.netbeans.modules.xml.wsdl.model.extensions.soap.SOAPBinding;25 import org.netbeans.modules.xml.wsdl.model.extensions.soap.SOAPBody;26 import org.netbeans.modules.xml.wsdl.model.extensions.soap.SOAPFault;27 import org.netbeans.modules.xml.wsdl.model.extensions.soap.SOAPHeader;28 import org.netbeans.modules.xml.wsdl.model.extensions.soap.SOAPHeaderFault;29 import org.netbeans.modules.xml.wsdl.model.extensions.soap.SOAPOperation;30 import org.netbeans.modules.xml.wsdl.model.extensions.xsd.WSDLSchema;31 import org.netbeans.modules.xml.xam.dom.ComponentFactory;32 33 /**34 *35 * @author rico36 * Factory for providing concrete implementations of WSDLComponents37 */38 39 public interface WSDLComponentFactory extends ComponentFactory<WSDLComponent> {40 WSDLComponent create(WSDLComponent parent, QName qName); 41 Binding createBinding();42 BindingFault createBindingFault();43 BindingInput createBindingInput();44 BindingOperation createBindingOperation();45 BindingOutput createBindingOutput();46 Documentation createDocumentation();47 Fault createFault();48 Import createImport();49 Input createInput();50 Message createMessage();51 OneWayOperation createOneWayOperation();52 SolicitResponseOperation createSolicitResponseOperation();53 RequestResponseOperation createRequestResponseOperation();54 NotificationOperation createNotificationOperation();55 Output createOutput();56 Part createPart();57 Port createPort();58 PortType createPortType();59 Service createService();60 Types createTypes();61 62 // SOAP63 SOAPAddress createSOAPAddress();64 SOAPBinding createSOAPBinding();65 SOAPBody createSOAPBody();66 SOAPFault createSOAPFault();67 SOAPHeader createSOAPHeader();68 SOAPHeaderFault createSOAPHeaderFault();69 SOAPOperation createSOAPOperation();70 71 // XSD72 WSDLSchema createWSDLSchema();73 }74