src/share/jaxws_classes/com/sun/xml/internal/ws/server/WSDLGenResolver.java

changeset 368
0989ad8c0860
parent 286
f50545b5e2f1
child 637
9c07ef4934dd
equal deleted inserted replaced
366:8c0b6bccfe47 368:0989ad8c0860
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
28 import com.sun.istack.internal.NotNull; 28 import com.sun.istack.internal.NotNull;
29 import com.sun.xml.internal.stream.buffer.MutableXMLStreamBuffer; 29 import com.sun.xml.internal.stream.buffer.MutableXMLStreamBuffer;
30 import com.sun.xml.internal.stream.buffer.XMLStreamBufferResult; 30 import com.sun.xml.internal.stream.buffer.XMLStreamBufferResult;
31 import com.sun.xml.internal.ws.api.server.SDDocument; 31 import com.sun.xml.internal.ws.api.server.SDDocument;
32 import com.sun.xml.internal.ws.api.server.SDDocumentSource; 32 import com.sun.xml.internal.ws.api.server.SDDocumentSource;
33 import com.sun.xml.internal.ws.wsdl.writer.WSDLResolver;
34 33
35 import javax.xml.namespace.QName; 34 import javax.xml.namespace.QName;
36 import javax.xml.transform.Result; 35 import javax.xml.transform.Result;
37 import javax.xml.ws.Holder; 36 import javax.xml.ws.Holder;
38 import javax.xml.ws.WebServiceException; 37 import javax.xml.ws.WebServiceException;
47 * WSDLGenerator uses WSDLResolver while creating WSDL artifacts. WSDLResolver 46 * WSDLGenerator uses WSDLResolver while creating WSDL artifacts. WSDLResolver
48 * is used to control the file names and which artifact to be generated or not. 47 * is used to control the file names and which artifact to be generated or not.
49 * 48 *
50 * @author Jitendra Kotamraju 49 * @author Jitendra Kotamraju
51 */ 50 */
52 final class WSDLGenResolver implements WSDLResolver { 51 final class WSDLGenResolver implements com.oracle.webservices.internal.api.databinding.WSDLResolver {
53 52
54 private final List<SDDocumentImpl> docs; 53 private final List<SDDocumentImpl> docs;
55 private final List<SDDocumentSource> newDocs = new ArrayList<SDDocumentSource>(); 54 private final List<SDDocumentSource> newDocs = new ArrayList<SDDocumentSource>();
56 private SDDocumentSource concreteWsdlSource; 55 private SDDocumentSource concreteWsdlSource;
57 56

mercurial