Thu, 31 Aug 2017 15:18:52 +0800
merge
1 /*
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
26 package com.sun.xml.internal.ws.spi.db;
28 import java.net.URL;
29 import java.util.Collection;
30 import java.util.Map;
32 import com.sun.xml.internal.ws.api.model.SEIModel;
34 /**
35 * BindingInfo
36 *
37 * @author shih-chang.chen@oracle.com
38 */
39 public class BindingInfo {
41 private String databindingMode;
42 private String defaultNamespace;
44 private Collection<Class> contentClasses = new java.util.ArrayList<Class>();
45 private Collection<TypeInfo> typeInfos = new java.util.ArrayList<TypeInfo>();
46 private Map<Class,Class> subclassReplacements = new java.util.HashMap<Class, Class>();
47 private Map<String, Object> properties = new java.util.HashMap<String, Object>();
48 protected ClassLoader classLoader;
50 private SEIModel seiModel;
51 private URL wsdlURL;
53 public String getDatabindingMode() {
54 return databindingMode;
55 }
56 public void setDatabindingMode(String databindingMode) {
57 this.databindingMode = databindingMode;
58 }
60 public String getDefaultNamespace() {
61 return defaultNamespace;
62 }
63 public void setDefaultNamespace(String defaultNamespace) {
64 this.defaultNamespace = defaultNamespace;
65 }
67 public Collection<Class> contentClasses() {
68 return contentClasses;
69 }
70 public Collection<TypeInfo> typeInfos() {
71 return typeInfos;
72 }
73 public Map<Class, Class> subclassReplacements() {
74 return subclassReplacements;
75 }
76 public Map<String, Object> properties() {
77 return properties;
78 }
80 public SEIModel getSEIModel() {
81 return seiModel;
82 }
83 public void setSEIModel(SEIModel seiModel) {
84 this.seiModel = seiModel;
85 }
86 public ClassLoader getClassLoader() {
87 return classLoader;
88 }
89 public void setClassLoader(ClassLoader classLoader) {
90 this.classLoader = classLoader;
91 }
92 public URL getWsdlURL() {
93 return wsdlURL;
94 }
95 public void setWsdlURL(URL wsdlURL) {
96 this.wsdlURL = wsdlURL;
97 }
98 }