KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > axis > wsdl > symbolTable > PortEntry


1 /*
2  * Copyright 2001-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.axis.wsdl.symbolTable;
17
18 import javax.wsdl.Port;
19 import javax.xml.namespace.QName JavaDoc;
20
21 /**
22  * This class represents the symbol table entry for a WSDL port.
23  *
24  * @author <a HREF="mailto:karl.guggisberg@guggis.ch">Karl Guggisberg</a>
25  */

26 public class PortEntry extends SymTabEntry {
27
28     /** the WSDL port element represented by this symbol table entry */
29     private Port port = null;
30
31     /**
32      * constructor
33      *
34      * @param port the WSDL port element
35      */

36     public PortEntry(Port port) {
37
38         super(new QName JavaDoc(port.getName()));
39
40         this.port = port;
41     }
42
43     /**
44      * replies the WSDL port element represented by this symbol table entry
45      *
46      * @return the WSDL port element represented by this symbol table entry
47      */

48     public Port getPort() {
49         return port;
50     }
51 }
52
Popular Tags