1 /* |
1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
24 */ |
24 */ |
25 |
25 |
26 package com.sun.tools.internal.ws.processor.model; |
26 package com.sun.tools.internal.ws.processor.model; |
27 |
27 |
28 import com.sun.codemodel.internal.JClass; |
28 import com.sun.codemodel.internal.JClass; |
29 import com.sun.tools.internal.ws.processor.generator.GeneratorUtil; |
|
30 import com.sun.tools.internal.ws.processor.model.java.JavaException; |
29 import com.sun.tools.internal.ws.processor.model.java.JavaException; |
31 import com.sun.tools.internal.ws.wsdl.framework.Entity; |
30 import com.sun.tools.internal.ws.wsdl.framework.Entity; |
32 |
31 |
33 import javax.xml.namespace.QName; |
32 import javax.xml.namespace.QName; |
34 import java.util.HashSet; |
33 import java.util.HashSet; |
35 import java.util.Iterator; |
34 import java.util.Iterator; |
36 import java.util.Set; |
35 import java.util.Set; |
37 import java.util.TreeSet; |
|
38 |
36 |
39 /** |
37 /** |
40 * |
38 * |
41 * @author WS Development Team |
39 * @author WS Development Team |
42 */ |
40 */ |
158 |
151 |
159 private boolean wsdlException = true; |
152 private boolean wsdlException = true; |
160 private String name; |
153 private String name; |
161 private Block block; |
154 private Block block; |
162 private JavaException javaException; |
155 private JavaException javaException; |
163 private Fault parentFault; |
|
164 private Set subfaults = new HashSet(); |
156 private Set subfaults = new HashSet(); |
165 private QName elementName = null; |
157 private QName elementName = null; |
166 private String javaMemberName = null; |
158 private String javaMemberName = null; |
167 private JClass exceptionClass; |
159 private JClass exceptionClass; |
168 |
160 |