equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
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. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
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 |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
34 import javax.xml.bind.Marshaller; |
34 import javax.xml.bind.Marshaller; |
35 import javax.xml.bind.SchemaOutputResolver; |
35 import javax.xml.bind.SchemaOutputResolver; |
36 import javax.xml.bind.Unmarshaller; |
36 import javax.xml.bind.Unmarshaller; |
37 import javax.xml.bind.annotation.XmlAttachmentRef; |
37 import javax.xml.bind.annotation.XmlAttachmentRef; |
38 import javax.xml.namespace.QName; |
38 import javax.xml.namespace.QName; |
39 import javax.xml.transform.Result; |
|
40 |
39 |
41 import com.sun.istack.internal.NotNull; |
40 import com.sun.istack.internal.NotNull; |
42 import com.sun.istack.internal.Nullable; |
41 import com.sun.istack.internal.Nullable; |
43 //import com.sun.xml.internal.bind.api.BridgeContext; |
|
44 //import com.sun.xml.internal.bind.v2.model.annotation.RuntimeAnnotationReader; |
|
45 //import com.sun.xml.internal.bind.v2.model.runtime.RuntimeTypeInfoSet; |
|
46 |
42 |
47 /** |
43 /** |
48 * {@link JAXBContext} enhanced with JAXB RI specific functionalities. |
44 * {@link JAXBContext} enhanced with JAXB RI specific functionalities. |
49 * |
45 * |
50 * <p> |
46 * <p> |
220 * the access to the manifest informatino. |
216 * the access to the manifest informatino. |
221 */ |
217 */ |
222 public abstract @NotNull String getBuildId(); |
218 public abstract @NotNull String getBuildId(); |
223 |
219 |
224 /** |
220 /** |
225 * Generates the episode file that represents the binding known to this {@link JAXBContext}, |
|
226 * so that XJC can later do separate compilation. |
|
227 * |
|
228 * <p> |
|
229 * Episode file is really just a JAXB customization file, except that currently |
|
230 * we use the RI-specific SCD to refer to schema components. |
|
231 * |
|
232 * @param output |
|
233 * This receives the generated episode file. |
|
234 * |
|
235 * @since 2.1 |
|
236 */ |
|
237 // public abstract void generateEpisode(Result output); |
|
238 |
|
239 /** |
|
240 * Allows you to access the runtime model information of the JAXB XML/Java binding. |
|
241 * |
|
242 * <p> |
|
243 * This is useful for doing a deeper integration with the JAXB RI. |
|
244 * For more information about the model, see https://jaxb2-reflection.dev.java.net/ |
|
245 * |
|
246 * @since 2.1.10 |
|
247 */ |
|
248 // public abstract RuntimeTypeInfoSet getRuntimeTypeInfoSet(); |
|
249 |
|
250 /** |
|
251 * The property that you can specify to {@link JAXBContext#newInstance} |
221 * The property that you can specify to {@link JAXBContext#newInstance} |
252 * to reassign the default namespace URI to something else at the runtime. |
222 * to reassign the default namespace URI to something else at the runtime. |
253 * |
223 * |
254 * <p> |
224 * <p> |
255 * The value of the property is {@link String}, and it is used as the namespace URI |
225 * The value of the property is {@link String}, and it is used as the namespace URI |