001: /*
002: * Portions Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
003: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
004: *
005: * This code is free software; you can redistribute it and/or modify it
006: * under the terms of the GNU General Public License version 2 only, as
007: * published by the Free Software Foundation. Sun designates this
008: * particular file as subject to the "Classpath" exception as provided
009: * by Sun in the LICENSE file that accompanied this code.
010: *
011: * This code is distributed in the hope that it will be useful, but WITHOUT
012: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
013: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
014: * version 2 for more details (a copy is included in the LICENSE file that
015: * accompanied this code).
016: *
017: * You should have received a copy of the GNU General Public License version
018: * 2 along with this work; if not, write to the Free Software Foundation,
019: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
020: *
021: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
022: * CA 95054 USA or visit www.sun.com if you need additional information or
023: * have any questions.
024: */
025:
026: package com.sun.tools.internal.ws.wsdl.document;
027:
028: import com.sun.tools.internal.ws.wsdl.framework.ExtensionVisitor;
029:
030: /**
031: * A visitor for WSDL documents.
032: *
033: * @author WS Development Team
034: */
035: public interface WSDLDocumentVisitor extends ExtensionVisitor {
036:
037: public void preVisit(Definitions definitions) throws Exception;
038:
039: public void postVisit(Definitions definitions) throws Exception;
040:
041: public void visit(Import i) throws Exception;
042:
043: public void preVisit(Types types) throws Exception;
044:
045: public void postVisit(Types types) throws Exception;
046:
047: public void preVisit(Message message) throws Exception;
048:
049: public void postVisit(Message message) throws Exception;
050:
051: public void visit(MessagePart part) throws Exception;
052:
053: public void preVisit(PortType portType) throws Exception;
054:
055: public void postVisit(PortType portType) throws Exception;
056:
057: public void preVisit(Operation operation) throws Exception;
058:
059: public void postVisit(Operation operation) throws Exception;
060:
061: public void preVisit(Input input) throws Exception;
062:
063: public void postVisit(Input input) throws Exception;
064:
065: public void preVisit(Output output) throws Exception;
066:
067: public void postVisit(Output output) throws Exception;
068:
069: public void preVisit(Fault fault) throws Exception;
070:
071: public void postVisit(Fault fault) throws Exception;
072:
073: public void preVisit(Binding binding) throws Exception;
074:
075: public void postVisit(Binding binding) throws Exception;
076:
077: public void preVisit(BindingOperation operation) throws Exception;
078:
079: public void postVisit(BindingOperation operation) throws Exception;
080:
081: public void preVisit(BindingInput input) throws Exception;
082:
083: public void postVisit(BindingInput input) throws Exception;
084:
085: public void preVisit(BindingOutput output) throws Exception;
086:
087: public void postVisit(BindingOutput output) throws Exception;
088:
089: public void preVisit(BindingFault fault) throws Exception;
090:
091: public void postVisit(BindingFault fault) throws Exception;
092:
093: public void preVisit(Service service) throws Exception;
094:
095: public void postVisit(Service service) throws Exception;
096:
097: public void preVisit(Port port) throws Exception;
098:
099: public void postVisit(Port port) throws Exception;
100:
101: public void visit(Documentation documentation) throws Exception;
102: }
|