KickJava   Java API By Example, From Geeks To Geeks.

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


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 an element, these types are only emitted if
24  * referenced by a ref= or an element=.
25  * An element type can be defined inline or it can be defined via
26  * a ref/type attribute.
27  */

28 public class DefinedElement extends Element {
29
30     /**
31      * Create an element type defined by a ref/type attribute
32      *
33      * @param pqName
34      * @param refType
35      * @param pNode
36      * @param dims
37      */

38     public DefinedElement(QName JavaDoc pqName, TypeEntry refType, Node JavaDoc pNode,
39                           String JavaDoc dims) {
40         super(pqName, refType, pNode, dims);
41     }
42
43     /**
44      * Create an element type defined directly.
45      *
46      * @param pqName
47      * @param pNode
48      */

49     public DefinedElement(QName JavaDoc pqName, Node JavaDoc pNode) {
50         super(pqName, pNode);
51     }
52 }
53
Popular Tags