KickJava   Java API By Example, From Geeks To Geeks.

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


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 org.w3c.dom.Node JavaDoc;
19
20 import javax.xml.namespace.QName JavaDoc;
21
22 /**
23  * This Type is for a QName that is a 'collection'.
24  * For example,
25  * <element name="foo" type="bar" maxOccurs="unbounded" />
26  * We need a way to indicate in the symbol table that a foo is
27  * 'collection of bars', In such cases a collection type is
28  * added with the special QName <name>[<minOccurs>, <maxOccurs>]
29  */

30 public class CollectionType extends DefinedType implements CollectionTE {
31
32     /**
33      * Constructor CollectionType
34      *
35      * @param pqName
36      * @param refType
37      * @param pNode
38      * @param dims
39      */

40     public CollectionType(QName JavaDoc pqName, TypeEntry refType, Node JavaDoc pNode,
41                           String JavaDoc dims) {
42         super(pqName, refType, pNode, dims);
43     }
44 }
45
Popular Tags