KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > wsdl > extensions > impl > DefaultExtensibilityElementImpl


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
17 package org.apache.wsdl.extensions.impl;
18
19 import org.apache.wsdl.extensions.DefaultExtensibilityElement;
20 import org.apache.wsdl.impl.WSDLExtensibilityElementImpl;
21 import org.w3c.dom.Element JavaDoc;
22
23 /**
24  * @author chathura@opensource.lk
25  * This would be the default Extension class in case that the Extensibility Element
26  * in the WSDL file could not be mapped to a particular Extensibility Element. In
27  * which case the entire Extensibility Element will be kept as a DOM Element
28  *
29  */

30 public class DefaultExtensibilityElementImpl extends
31         WSDLExtensibilityElementImpl implements DefaultExtensibilityElement {
32
33     private Element element;
34
35     /**
36      * @return The Extensibility Element as a DOM Element
37      */

38     public Element getElement() {
39         return element;
40     }
41
42     /**
43      * Sets the DOM Element as the extensibility Elements
44      * Content.
45      */

46     public void setElement(Element element) {
47         this.element = element;
48     }
49
50 }
Popular Tags