Here you can find the source of getCustomContext()
public static JAXBContext getCustomContext()
//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; } }