KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > tools > common > dd > webservice > EmptyType


1 /**
2  * This generated bean class EmptyType matches the schema element emptyType
3  *
4  * ===============================================================
5  *
6  *
7  * This type is used to designate an empty
8  * element when used.
9  *
10  *
11  * ===============================================================
12  * Generated on Fri Apr 22 15:42:57 PDT 2005
13  */

14
15 package com.sun.enterprise.tools.common.dd.webservice;
16
17 import org.w3c.dom.*;
18 import org.netbeans.modules.schema2beans.*;
19 import java.beans.*;
20 import java.util.*;
21
22 // BEGIN_NOI18N
23

24 public class EmptyType extends org.netbeans.modules.schema2beans.BaseBean
25 {
26
27     static Vector comparators = new Vector();
28
29
30     public EmptyType() {
31         this(Common.USE_DEFAULT_VALUES);
32     }
33
34     public EmptyType(int options)
35     {
36         super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
37         // Properties (see root bean comments for the bean graph)
38
this.initialize(options);
39     }
40
41     // Setting the default values of the properties
42
void initialize(int options)
43     {
44
45     }
46
47     //
48
public static void addComparator(org.netbeans.modules.schema2beans.BeanComparator c) {
49         comparators.add(c);
50     }
51
52     //
53
public static void removeComparator(org.netbeans.modules.schema2beans.BeanComparator c) {
54         comparators.remove(c);
55     }
56     public void validate() throws org.netbeans.modules.schema2beans.ValidateException {
57     }
58
59     // Dump the content of this bean returning it as a String
60
public void dump(StringBuffer JavaDoc str, String JavaDoc indent){
61         String JavaDoc s;
62         Object JavaDoc o;
63         org.netbeans.modules.schema2beans.BaseBean n;
64     }
65     public String JavaDoc dumpBeanNode(){
66         StringBuffer JavaDoc str = new StringBuffer JavaDoc();
67         str.append("EmptyType\n"); // NOI18N
68
this.dump(str, "\n "); // NOI18N
69
return str.toString();
70     }}
71
72 // END_NOI18N
73

74
75 /*
76  * The contents of this file are subject to the terms
77  * of the Common Development and Distribution License
78  * (the License). You may not use this file except in
79  * compliance with the License.
80  *
81  * You can obtain a copy of the license at
82  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
83  * glassfish/bootstrap/legal/CDDLv1.0.txt.
84  * See the License for the specific language governing
85  * permissions and limitations under the License.
86  *
87  * When distributing Covered Code, include this CDDL
88  * Header Notice in each file and include the License file
89  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
90  * If applicable, add the following below the CDDL Header,
91  * with the fields enclosed by brackets [] replaced by
92  * you own identifying information:
93  * "Portions Copyrighted [year] [name of copyright owner]"
94  *
95  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
96  */

97
Popular Tags