src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/BindingInfo.java

changeset 286
f50545b5e2f1
child 368
0989ad8c0860
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/BindingInfo.java	Tue Mar 06 16:09:35 2012 -0800
     1.3 @@ -0,0 +1,91 @@
     1.4 +/*
     1.5 + * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.7 + *
     1.8 + * This code is free software; you can redistribute it and/or modify it
     1.9 + * under the terms of the GNU General Public License version 2 only, as
    1.10 + * published by the Free Software Foundation.  Oracle designates this
    1.11 + * particular file as subject to the "Classpath" exception as provided
    1.12 + * by Oracle in the LICENSE file that accompanied this code.
    1.13 + *
    1.14 + * This code is distributed in the hope that it will be useful, but WITHOUT
    1.15 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.16 + * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    1.17 + * version 2 for more details (a copy is included in the LICENSE file that
    1.18 + * accompanied this code).
    1.19 + *
    1.20 + * You should have received a copy of the GNU General Public License version
    1.21 + * 2 along with this work; if not, write to the Free Software Foundation,
    1.22 + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1.23 + *
    1.24 + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    1.25 + * or visit www.oracle.com if you need additional information or have any
    1.26 + * questions.
    1.27 + */
    1.28 +
    1.29 +package com.sun.xml.internal.ws.spi.db;
    1.30 +
    1.31 +import java.util.Collection;
    1.32 +import java.util.Map;
    1.33 +
    1.34 +import com.sun.xml.internal.ws.api.model.SEIModel;
    1.35 +
    1.36 +/**
    1.37 + * BindingInfo
    1.38 + *
    1.39 + * @author shih-chang.chen@oracle.com
    1.40 + */
    1.41 +public class BindingInfo {
    1.42 +
    1.43 +        private String databindingMode;
    1.44 +        private String defaultNamespace;
    1.45 +
    1.46 +        private Collection<Class> contentClasses = new java.util.ArrayList<Class>();
    1.47 +    private Collection<TypeInfo> typeInfos = new java.util.ArrayList<TypeInfo>();
    1.48 +    private Map<Class,Class> subclassReplacements = new java.util.HashMap<Class, Class>();
    1.49 +    private Map<String, Object> properties = new java.util.HashMap<String, Object>();
    1.50 +        protected ClassLoader classLoader;
    1.51 +
    1.52 +    private SEIModel seiModel;
    1.53 +
    1.54 +    public String getDatabindingMode() {
    1.55 +                return databindingMode;
    1.56 +        }
    1.57 +        public void setDatabindingMode(String databindingMode) {
    1.58 +                this.databindingMode = databindingMode;
    1.59 +        }
    1.60 +
    1.61 +        public String getDefaultNamespace() {
    1.62 +                return defaultNamespace;
    1.63 +        }
    1.64 +        public void setDefaultNamespace(String defaultNamespace) {
    1.65 +                this.defaultNamespace = defaultNamespace;
    1.66 +        }
    1.67 +
    1.68 +        public Collection<Class> contentClasses() {
    1.69 +                return contentClasses;
    1.70 +        }
    1.71 +        public Collection<TypeInfo> typeInfos() {
    1.72 +                return typeInfos;
    1.73 +        }
    1.74 +        public Map<Class, Class> subclassReplacements() {
    1.75 +                return subclassReplacements;
    1.76 +        }
    1.77 +        public Map<String, Object> properties() {
    1.78 +                return properties;
    1.79 +        }
    1.80 +
    1.81 +        public SEIModel getSEIModel() {
    1.82 +                return seiModel;
    1.83 +        }
    1.84 +        public void setSEIModel(SEIModel seiModel) {
    1.85 +                this.seiModel = seiModel;
    1.86 +        }
    1.87 +        public ClassLoader getClassLoader() {
    1.88 +                return classLoader;
    1.89 +        }
    1.90 +        public void setClassLoader(ClassLoader classLoader) {
    1.91 +                this.classLoader = classLoader;
    1.92 +        }
    1.93 +
    1.94 +}

mercurial