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 /*21 * DefaultVisitor.java22 *23 * Created on November 17, 2005, 9:59 AM24 *25 * To change this template, choose Tools | Template Manager26 * and open the template in the editor.27 */28 29 package org.netbeans.modules.xml.wsdl.model.visitor;30 31 import org.netbeans.modules.xml.wsdl.model.ExtensibilityElement;32 import org.netbeans.modules.xml.wsdl.model.NotificationOperation;33 import org.netbeans.modules.xml.wsdl.model.OneWayOperation;34 import org.netbeans.modules.xml.wsdl.model.RequestResponseOperation;35 import org.netbeans.modules.xml.wsdl.model.SolicitResponseOperation;36 import org.netbeans.modules.xml.wsdl.model.WSDLComponent;37 38 /**39 *40 * @author nn13668241 */42 public class DefaultVisitor implements WSDLVisitor {43 44 /** Creates a new instance of DefaultVisitor */45 public DefaultVisitor() {46 }47 48 public void visit(org.netbeans.modules.xml.wsdl.model.Types types) {49 visitComponent(types);50 }51 52 public void visit(org.netbeans.modules.xml.wsdl.model.Port port) {53 visitComponent(port);54 }55 56 public void visit(org.netbeans.modules.xml.wsdl.model.Definitions definition) {57 visitComponent(definition);58 }59 60 public void visit(org.netbeans.modules.xml.wsdl.model.BindingInput bi) {61 visitComponent(bi);62 }63 64 public void visit(org.netbeans.modules.xml.wsdl.model.BindingOutput bo) {65 visitComponent(bo);66 }67 68 public void visit(OneWayOperation op) {69 visitComponent(op);70 }71 72 public void visit(RequestResponseOperation op) {73 visitComponent(op);74 }75 76 public void visit(NotificationOperation op) {77 visitComponent(op);78 }79 80 public void visit(SolicitResponseOperation op) {81 visitComponent(op);82 }83 84 public void visit(org.netbeans.modules.xml.wsdl.model.Part part) {85 visitComponent(part);86 }87 88 public void visit(org.netbeans.modules.xml.wsdl.model.Documentation doc) {89 visitComponent(doc);90 }91 92 public void visit(org.netbeans.modules.xml.wsdl.model.BindingOperation bop) {93 visitComponent(bop);94 }95 96 public void visit(org.netbeans.modules.xml.wsdl.model.Binding binding) {97 visitComponent(binding);98 }99 100 public void visit(org.netbeans.modules.xml.wsdl.model.Message message) {101 visitComponent(message);102 }103 104 public void visit(org.netbeans.modules.xml.wsdl.model.Service service) {105 visitComponent(service);106 }107 108 public void visit(org.netbeans.modules.xml.wsdl.model.BindingFault bf) {109 visitComponent(bf);110 }111 112 public void visit(org.netbeans.modules.xml.wsdl.model.Import importDef) {113 visitComponent(importDef);114 }115 116 public void visit(org.netbeans.modules.xml.wsdl.model.Output out) {117 visitComponent(out);118 }119 120 public void visit(org.netbeans.modules.xml.wsdl.model.PortType portType) {121 visitComponent(portType);122 }123 124 public void visit(org.netbeans.modules.xml.wsdl.model.Input in) {125 visitComponent(in);126 }127 128 public void visit(org.netbeans.modules.xml.wsdl.model.Fault fault) {129 visitComponent(fault);130 }131 132 public void visit(ExtensibilityElement ee) {133 visitComponent(ee);134 }135 136 protected void visitComponent(WSDLComponent component) {137 }138 }139