1.1 --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/WSDLResolver.java Thu Apr 04 19:05:24 2013 -0700 1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/WSDLResolver.java Tue Apr 09 14:51:13 2013 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -25,52 +25,10 @@ 1.11 1.12 package com.sun.xml.internal.ws.wsdl.writer; 1.13 1.14 -import com.sun.istack.internal.NotNull; 1.15 -import com.sun.istack.internal.Nullable; 1.16 -import javax.xml.transform.Result; 1.17 -import javax.xml.ws.Holder; 1.18 - 1.19 - 1.20 /** 1.21 - * WSDLResolver is used by WSDLGenerator while generating WSDL and its associated 1.22 - * documents. It is used to control what documents need to be generated and what 1.23 - * documents need to be picked from metadata. If endpont's document metadata 1.24 - * already contains some documents, their systemids may be used for wsdl:import, 1.25 - * and schema:import. The suggested filenames are relative urls(for e.g: EchoSchema1.xsd) 1.26 - * The Result object systemids are also relative urls(for e.g: AbsWsdl.wsdl). 1.27 + * @deprecated Use com.oracle.webservices.internal.api.databinding.WSDLResolver directly 1.28 * 1.29 - * @author Jitendra Kotamraju 1.30 */ 1.31 -public interface WSDLResolver { 1.32 - /** 1.33 - * Create a Result object into which concrete WSDL is to be generated. 1.34 - * 1.35 - * @return Result for the concrete WSDL 1.36 - */ 1.37 - public @NotNull Result getWSDL(@NotNull String suggestedFilename); 1.38 - 1.39 - /** 1.40 - * Create a Result object into which abstract WSDL is to be generated. If the the 1.41 - * abstract WSDL is already in metadata, it is not generated. 1.42 - * 1.43 - * Update filename if the suggested filename need to be changed in wsdl:import. 1.44 - * This needs to be done if the metadata contains abstract WSDL, and that systemid 1.45 - * needs to be reflected in concrete WSDL's wsdl:import 1.46 - * 1.47 - * @return null if abstract WSDL need not be generated 1.48 - */ 1.49 - public @Nullable Result getAbstractWSDL(@NotNull Holder<String> filename); 1.50 - 1.51 - /** 1.52 - * Create a Result object into which schema doc is to be generated. Typically if 1.53 - * there is a schema doc for namespace in metadata, then it is not generated. 1.54 - * 1.55 - * Update filename if the suggested filename need to be changed in xsd:import. This 1.56 - * needs to be done if the metadata contains the document, and that systemid 1.57 - * needs to be reflected in some other document's xsd:import 1.58 - * 1.59 - * @return null if schema need not be generated 1.60 - */ 1.61 - public @Nullable Result getSchemaOutput(@NotNull String namespace, @NotNull Holder<String> filename); 1.62 +public interface WSDLResolver extends com.oracle.webservices.internal.api.databinding.WSDLResolver { 1.63 1.64 }