Java XML JAXB Context getCustomContext()

Here you can find the source of getCustomContext()

Description

get Custom Context

License

Open Source License

Declaration

public static JAXBContext getCustomContext() 

Method Source Code

//package com.java2s;
/*/*from w  ww.ja  v a2 s  . co  m*/
 * Copyright (c) 2014 Mastek Ltd. All rights reserved.
 * 
 * This file is part of JBEAM. JBEAM is free software: you can
 * redistribute it and/or modify it under the terms of the GNU Lesser
 * General Public License as published by the Free Software Foundation.
 *
 * JBEAM is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
 * Public License for the specific language governing permissions and 
 * limitations.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with JBEAM. If not, see <http://www.gnu.org/licenses/>.
 */

import javax.xml.bind.JAXBContext;

public class Main {
    private static JAXBContext jaxbContext;

    public static JAXBContext getCustomContext() {
        return jaxbContext;
    }
}

Related

  1. getContext(final Class theClass)
  2. getContext(String uddiVersion)
  3. getContextFor(final Class clazz)
  4. getContextForNamespace(String namespace)
  5. getContextPath(Class... classes)
  6. getCustomIdentityJAXBContext()
  7. getJaxbContext(Class... classes)
  8. getJaxbContext(Class... classTypes)
  9. getJAXBContext(Class clazz)