jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/api/JAXBRIContext.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2015, 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 |
268 * <p> |
268 * <p> |
269 * The caller can use the additionalElementDecls parameter to |
269 * The caller can use the additionalElementDecls parameter to |
270 * add element declarations to the generate schema. |
270 * add element declarations to the generate schema. |
271 * For example, if the JAX-RPC passes in the following entry: |
271 * For example, if the JAX-RPC passes in the following entry: |
272 * |
272 * |
273 * {foo}bar -> DeclaredType for java.lang.String |
273 * {@code {foo}bar -> DeclaredType for java.lang.String} |
274 * |
274 * |
275 * then JAXB generates the following element declaration (in the schema |
275 * then JAXB generates the following element declaration (in the schema |
276 * document for the namespace "foo")" |
276 * document for the namespace "foo")" |
277 * |
277 * |
278 * <xs:element name="bar" type="xs:string" /> |
278 * {@code <xs:element name="bar" type="xs:string" />} |
279 * |
279 * |
280 * This can be used for generating schema components necessary for WSDL. |
280 * This can be used for generating schema components necessary for WSDL. |
281 * |
281 * |
282 * @param outputResolver |
282 * @param outputResolver |
283 * this object controls the output to which schemas |
283 * this object controls the output to which schemas |
434 /** |
434 /** |
435 * The property that you can specify to {@link JAXBContext#newInstance} |
435 * The property that you can specify to {@link JAXBContext#newInstance} |
436 * to put additional JAXB type references into the {@link JAXBContext}. |
436 * to put additional JAXB type references into the {@link JAXBContext}. |
437 * |
437 * |
438 * <p> |
438 * <p> |
439 * The value of the property is {@link Collection}<{@link TypeReference}>. |
439 * The value of the property is {@link Collection}{@code <}{@link TypeReference}{@code >}. |
440 * Those {@link TypeReference}s can then be used to create {@link Bridge}s. |
440 * Those {@link TypeReference}s can then be used to create {@link Bridge}s. |
441 * |
441 * |
442 * <p> |
442 * <p> |
443 * This mechanism allows additional element declarations that were not a part of |
443 * This mechanism allows additional element declarations that were not a part of |
444 * the schema into the created {@link JAXBContext}. |
444 * the schema into the created {@link JAXBContext}. |
451 * The property that you can specify to {@link JAXBContext#newInstance} |
451 * The property that you can specify to {@link JAXBContext#newInstance} |
452 * and {@link Marshaller#setProperty(String, Object)} |
452 * and {@link Marshaller#setProperty(String, Object)} |
453 * to enable the c14n marshalling support in the {@link JAXBContext}. |
453 * to enable the c14n marshalling support in the {@link JAXBContext}. |
454 * |
454 * |
455 * Boolean |
455 * Boolean |
456 * @see C14nSupport_ArchitectureDocument |
|
457 * @since 2.0 EA2 |
456 * @since 2.0 EA2 |
458 */ |
457 */ |
459 public static final String CANONICALIZATION_SUPPORT = "com.sun.xml.internal.bind.c14n"; |
458 public static final String CANONICALIZATION_SUPPORT = "com.sun.xml.internal.bind.c14n"; |
460 |
459 |
461 /** |
460 /** |