1 /* 2 * Copyright (c) 2014, 2015, 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 */ 25 26 /** 27 * Defines tools for JAXB including the <em>{@index schemagen schemagen}</em> 28 * and <em>{@index xjc xjc}</em> tools. 29 * 30 * <dl style="font-family:'DejaVu Sans', Arial, Helvetica, sans serif"> 31 * <dt class="simpleTagLabel">Tool Guides: 32 * <dd>{@extLink schemagen_tool_reference schemagen}, 33 * {@extLink xjc_tool_reference xjc} 34 * </dl> 35 * 36 * @moduleGraph 37 * @since 9 38 */ 39 module jdk.xml.bind { 40 requires java.activation; 41 requires java.compiler; 42 requires java.desktop; 43 requires java.logging; 44 requires java.xml; 45 requires java.xml.bind; 46 requires jdk.compiler; 47 48 exports com.sun.codemodel.internal to 49 jdk.xml.ws; 50 exports com.sun.codemodel.internal.writer to 51 jdk.xml.ws; 52 exports com.sun.istack.internal.tools to 53 jdk.xml.ws; 54 exports com.sun.tools.internal.jxc.ap to 55 jdk.xml.ws; 56 exports com.sun.tools.internal.jxc.model.nav to 57 jdk.xml.ws; 58 exports com.sun.tools.internal.xjc to 59 jdk.xml.ws; 60 exports com.sun.tools.internal.xjc.api to 61 jdk.xml.ws; 62 exports com.sun.tools.internal.xjc.reader to 63 jdk.xml.ws; 64 exports com.sun.tools.internal.xjc.reader.internalizer to 65 jdk.xml.ws; 66 exports com.sun.tools.internal.xjc.util to 67 jdk.xml.ws; 68 exports com.sun.xml.internal.xsom.parser to 69 jdk.xml.ws; 70 71 // XML document content needs to be exported 72 opens com.sun.tools.internal.xjc.reader.xmlschema.bindinfo to 73 java.xml.bind; 74 75 // com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BindInfo uses JAXBContext 76 exports com.sun.tools.internal.xjc.generator.bean to java.xml.bind; 77 78 uses com.sun.tools.internal.xjc.Plugin; 79 provides com.sun.tools.internal.xjc.Plugin with 80 com.sun.tools.internal.xjc.addon.accessors.PluginImpl, 81 com.sun.tools.internal.xjc.addon.at_generated.PluginImpl, 82 com.sun.tools.internal.xjc.addon.code_injector.PluginImpl, 83 com.sun.tools.internal.xjc.addon.episode.PluginImpl, 84 com.sun.tools.internal.xjc.addon.locator.SourceLocationAddOn, 85 com.sun.tools.internal.xjc.addon.sync.SynchronizedMethodAddOn; 86 } 87