Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
LinuxSuRen
Dragonwell11
提交
378717fc
D
Dragonwell11
项目概览
LinuxSuRen
/
Dragonwell11
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Dragonwell11
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
378717fc
编写于
9月 01, 2017
作者:
J
jjg
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8186947: Fix accessibility and other issues in the java.xml.ws module
Reviewed-by: lancea, mchung, darcy
上级
5912e671
变更
14
显示空白变更内容
内联
并排
Showing
14 changed file
with
208 addition
and
462 deletion
+208
-462
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/JAXBPermission.java
...xml.bind/share/classes/javax/xml/bind/JAXBPermission.java
+11
-6
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/Marshaller.java
...ava.xml.bind/share/classes/javax/xml/bind/Marshaller.java
+11
-11
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/Unmarshaller.java
...a.xml.bind/share/classes/javax/xml/bind/Unmarshaller.java
+45
-48
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/annotation/XmlNsForm.java
...nd/share/classes/javax/xml/bind/annotation/XmlNsForm.java
+14
-11
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/annotation/XmlType.java
...bind/share/classes/javax/xml/bind/annotation/XmlType.java
+21
-19
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/annotation/adapters/package-info.java
...sses/javax/xml/bind/annotation/adapters/package-info.java
+3
-3
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/annotation/adapters/package.html
...e/classes/javax/xml/bind/annotation/adapters/package.html
+0
-57
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/annotation/package.html
...bind/share/classes/javax/xml/bind/annotation/package.html
+83
-161
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/attachment/AttachmentUnmarshaller.java
...ses/javax/xml/bind/attachment/AttachmentUnmarshaller.java
+11
-14
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/helpers/package-info.java
...nd/share/classes/javax/xml/bind/helpers/package-info.java
+4
-4
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/helpers/package.html
...ml.bind/share/classes/javax/xml/bind/helpers/package.html
+0
-64
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/util/package-info.java
....bind/share/classes/javax/xml/bind/util/package-info.java
+3
-3
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/util/package.html
...a.xml.bind/share/classes/javax/xml/bind/util/package.html
+0
-59
jaxws/src/java.xml.ws/share/classes/javax/xml/ws/wsaddressing/W3CEndpointReferenceBuilder.java
...avax/xml/ws/wsaddressing/W3CEndpointReferenceBuilder.java
+2
-2
未找到文件。
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/JAXBPermission.java
浏览文件 @
378717fc
/*
* Copyright (c) 2007, 201
3
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 201
7
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -41,15 +41,19 @@ import java.security.BasicPermission;
* and for each provides a description of what the permission allows
* and a discussion of the risks of granting code the permission.
*
* <table border=1 cellpadding=5 summary="Permission target name, what the permission allows, and associated risks">
* <table class="striped">
* <caption style="display:none">Permission target name, what the permission allows, and associated risks"</caption>
* <thead>
* <tr>
* <th>Permission Target Name</th>
* <th>What the Permission Allows</th>
* <th>Risks of Allowing this Permission</th>
* <th
scope="col"
>Permission Target Name</th>
* <th
scope="col"
>What the Permission Allows</th>
* <th
scope="col"
>Risks of Allowing this Permission</th>
* </tr>
* </thead>
*
* <tbody style="text-align:left">
* <tr>
* <t
d>setDatatypeConverter</td
>
* <t
h scope="row">setDatatypeConverter</th
>
* <td>
* Allows the code to set VM-wide {@link DatatypeConverterInterface}
* via {@link DatatypeConverter#setDatatypeConverter(DatatypeConverterInterface) the setDatatypeConverter method}
...
...
@@ -63,6 +67,7 @@ import java.security.BasicPermission;
* another application running in the same JVM.
* </td>
* </tr>
* </tbody>
* </table>
*
* @see java.security.BasicPermission
...
...
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/Marshaller.java
浏览文件 @
378717fc
/*
* Copyright (c) 2003, 201
5
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 201
7
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -373,7 +373,7 @@ public interface Marshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Marshaller} is unable to marshal {@code jaxbElement} (or any
* object reachable from {@code jaxbElement}). See <a href="#elementMarshalling">
* object reachable from {@code jaxbElement}). See <a href="
{@docRoot}/javax/xml/bind/Marshaller.html
#elementMarshalling">
* Marshalling a JAXB element</a>.
* @throws IllegalArgumentException
* If any of the method parameters are null
...
...
@@ -395,7 +395,7 @@ public interface Marshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Marshaller} is unable to marshal {@code jaxbElement} (or any
* object reachable from {@code jaxbElement}). See <a href="#elementMarshalling">
* object reachable from {@code jaxbElement}). See <a href="
{@docRoot}/javax/xml/bind/Marshaller.html
#elementMarshalling">
* Marshalling a JAXB element</a>.
* @throws IllegalArgumentException
* If any of the method parameters are null
...
...
@@ -417,7 +417,7 @@ public interface Marshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Marshaller} is unable to marshal {@code jaxbElement} (or any
* object reachable from {@code jaxbElement}). See <a href="#elementMarshalling">
* object reachable from {@code jaxbElement}). See <a href="
{@docRoot}/javax/xml/bind/Marshaller.html
#elementMarshalling">
* Marshalling a JAXB element</a>.
* @throws IllegalArgumentException
* If any of the method parameters are null
...
...
@@ -440,7 +440,7 @@ public interface Marshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Marshaller} is unable to marshal {@code jaxbElement} (or any
* object reachable from {@code jaxbElement}). See <a href="#elementMarshalling">
* object reachable from {@code jaxbElement}). See <a href="
{@docRoot}/javax/xml/bind/Marshaller.html
#elementMarshalling">
* Marshalling a JAXB element</a>.
* @throws IllegalArgumentException
* If any of the method parameters are null
...
...
@@ -462,7 +462,7 @@ public interface Marshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Marshaller} is unable to marshal {@code jaxbElement} (or any
* object reachable from {@code jaxbElement}). See <a href="#elementMarshalling">
* object reachable from {@code jaxbElement}). See <a href="
{@docRoot}/javax/xml/bind/Marshaller.html
#elementMarshalling">
* Marshalling a JAXB element</a>.
* @throws IllegalArgumentException
* If any of the method parameters are null
...
...
@@ -488,7 +488,7 @@ public interface Marshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Marshaller} is unable to marshal {@code jaxbElement} (or any
* object reachable from {@code jaxbElement}). See <a href="#elementMarshalling">
* object reachable from {@code jaxbElement}). See <a href="
{@docRoot}/javax/xml/bind/Marshaller.html
#elementMarshalling">
* Marshalling a JAXB element</a>.
* @throws IllegalArgumentException
* If any of the method parameters are null
...
...
@@ -511,7 +511,7 @@ public interface Marshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Marshaller} is unable to marshal {@code jaxbElement} (or any
* object reachable from {@code jaxbElement}). See <a href="#elementMarshalling">
* object reachable from {@code jaxbElement}). See <a href="
{@docRoot}/javax/xml/bind/Marshaller.html
#elementMarshalling">
* Marshalling a JAXB element</a>.
* @throws IllegalArgumentException
* If any of the method parameters are null
...
...
@@ -535,7 +535,7 @@ public interface Marshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Marshaller} is unable to marshal {@code jaxbElement} (or any
* object reachable from {@code jaxbElement}). See <a href="#elementMarshalling">
* object reachable from {@code jaxbElement}). See <a href="
{@docRoot}/javax/xml/bind/Marshaller.html
#elementMarshalling">
* Marshalling a JAXB element</a>.
* @throws IllegalArgumentException
* If any of the method parameters are null
...
...
@@ -575,7 +575,7 @@ public interface Marshaller {
* {@code Marshaller}. This method can only be used to set one of
* the standard JAXB defined properties above or a provider specific
* property. Attempting to set an undefined property will result in
* a PropertyException being thrown. See <a href="#supportedProps">
* a PropertyException being thrown. See <a href="
{@docRoot}/javax/xml/bind/Marshaller.html
#supportedProps">
* Supported Properties</a>.
*
* @param name the name of the property to be set. This value can either
...
...
@@ -596,7 +596,7 @@ public interface Marshaller {
* {@code Marshaller}. This method can only be used to get one of
* the standard JAXB defined properties above or a provider specific
* property. Attempting to get an undefined property will result in
* a PropertyException being thrown. See <a href="#supportedProps">
* a PropertyException being thrown. See <a href="
{@docRoot}/javax/xml/bind/Marshaller.html
#supportedProps">
* Supported Properties</a>.
*
* @param name the name of the property to retrieve
...
...
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/Unmarshaller.java
浏览文件 @
378717fc
...
...
@@ -186,13 +186,13 @@ import java.io.Reader;
* Unmarshalling can deserialize XML data that represents either an entire XML document
* or a subtree of an XML document. Typically, it is sufficient to use the
* unmarshalling methods described by
* <a href="#unmarshalGlobal">Unmarshal root element that is declared globally</a>.
* <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalGlobal">Unmarshal root element that is declared globally</a>.
* These unmarshal methods utilize {@link JAXBContext}'s mapping of global XML element
* declarations and type definitions to JAXB mapped classes to initiate the
* unmarshalling of the root element of XML data. When the {@link JAXBContext}'s
* mappings are not sufficient to unmarshal the root element of XML data,
* the application can assist the unmarshalling process by using the
* <a href="#unmarshalByDeclaredType">unmarshal by declaredType methods</a>.
* <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalByDeclaredType">unmarshal by declaredType methods</a>.
* These methods are useful for unmarshalling XML data where
* the root element corresponds to a local element declaration in the schema.
* </blockquote>
...
...
@@ -245,32 +245,29 @@ import java.io.Reader;
* instance are set.
*
* <a name="unmarshalDeclaredTypeReturn"></a>
* <table summary="" border="2" rules="all" cellpadding="4">
* <table class="striped">
* <caption>Unmarshal By Declared Type returned JAXBElement</caption>
* <thead>
* <tr>
* <th
align="center" colspan="2"
>
*
Unmarshal By Declared Type returned JAXBElement
* <th
scope="col">JAXBElement Property</th
>
*
<th scope="col">Value</th>
* </tr>
* <tr>
* <th>JAXBElement Property</th>
* <th>Value</th>
* </tr>
* <tr>
* <td>name</td>
* <td>{@code xml element name}</td>
* <th scope="col">name</th>
* <th scope="col">{@code xml element name}</th>
* </tr>
* </thead>
* <tbody>
* <tr>
* <t
d>value</td
>
* <t
h scope="row">value</th
>
* <td>{@code instanceof declaredType}</td>
* </tr>
* <tr>
* <t
d>declaredType</td
>
* <t
h scope="row">declaredType</th
>
* <td>unmarshal method {@code declaredType} parameter</td>
* </tr>
* <tr>
* <t
d>scope</td
>
* <t
h scope="row">scope</th
>
* <td>{@code null} <i>(actual scope is unknown)</i></td>
* </tr>
* </tbody>
...
...
@@ -279,7 +276,7 @@ import java.io.Reader;
*
* <p>
* The following is an example of
* <a href="#unmarshalByDeclaredType">unmarshal by declaredType method</a>.
* <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalByDeclaredType">unmarshal by declaredType method</a>.
* <p>
* Unmarshal by declaredType from a {@code org.w3c.dom.Node}:
* <blockquote>
...
...
@@ -414,7 +411,7 @@ public interface Unmarshaller {
* content tree.
*
* <p>
* Implements <a href="#unmarshalGlobal">Unmarshal Global Root Element</a>.
* Implements <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalGlobal">Unmarshal Global Root Element</a>.
*
* @param f the file to unmarshal XML data from
* @return the newly created root object of the java content tree
...
...
@@ -425,7 +422,7 @@ public interface Unmarshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Unmarshaller} is unable to perform the XML to Java
* binding. See <a href="#unmarshalEx">Unmarshalling XML Data</a>
* binding. See <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalEx">Unmarshalling XML Data</a>
* @throws IllegalArgumentException
* If the file parameter is null
*/
...
...
@@ -437,7 +434,7 @@ public interface Unmarshaller {
* be incomplete when using this form of the unmarshal API.
*
* <p>
* Implements <a href="#unmarshalGlobal">Unmarshal Global Root Element</a>.
* Implements <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalGlobal">Unmarshal Global Root Element</a>.
*
* @param is the InputStream to unmarshal XML data from
* @return the newly created root object of the java content tree
...
...
@@ -448,7 +445,7 @@ public interface Unmarshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Unmarshaller} is unable to perform the XML to Java
* binding. See <a href="#unmarshalEx">Unmarshalling XML Data</a>
* binding. See <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalEx">Unmarshalling XML Data</a>
* @throws IllegalArgumentException
* If the InputStream parameter is null
*/
...
...
@@ -461,7 +458,7 @@ public interface Unmarshaller {
* because a Reader does not provide the system ID.
*
* <p>
* Implements <a href="#unmarshalGlobal">Unmarshal Global Root Element</a>.
* Implements <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalGlobal">Unmarshal Global Root Element</a>.
*
* @param reader the Reader to unmarshal XML data from
* @return the newly created root object of the java content tree
...
...
@@ -472,7 +469,7 @@ public interface Unmarshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Unmarshaller} is unable to perform the XML to Java
* binding. See <a href="#unmarshalEx">Unmarshalling XML Data</a>
* binding. See <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalEx">Unmarshalling XML Data</a>
* @throws IllegalArgumentException
* If the InputStream parameter is null
* @since 1.6, JAXB 2.0
...
...
@@ -484,7 +481,7 @@ public interface Unmarshaller {
* content tree.
*
* <p>
* Implements <a href="#unmarshalGlobal">Unmarshal Global Root Element</a>.
* Implements <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalGlobal">Unmarshal Global Root Element</a>.
*
* @param url the url to unmarshal XML data from
* @return the newly created root object of the java content tree
...
...
@@ -495,7 +492,7 @@ public interface Unmarshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Unmarshaller} is unable to perform the XML to Java
* binding. See <a href="#unmarshalEx">Unmarshalling XML Data</a>
* binding. See <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalEx">Unmarshalling XML Data</a>
* @throws IllegalArgumentException
* If the URL parameter is null
*/
...
...
@@ -506,7 +503,7 @@ public interface Unmarshaller {
* resulting content tree.
*
* <p>
* Implements <a href="#unmarshalGlobal">Unmarshal Global Root Element</a>.
* Implements <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalGlobal">Unmarshal Global Root Element</a>.
*
* @param source the input source to unmarshal XML data from
* @return the newly created root object of the java content tree
...
...
@@ -517,7 +514,7 @@ public interface Unmarshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Unmarshaller} is unable to perform the XML to Java
* binding. See <a href="#unmarshalEx">Unmarshalling XML Data</a>
* binding. See <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalEx">Unmarshalling XML Data</a>
* @throws IllegalArgumentException
* If the InputSource parameter is null
*/
...
...
@@ -528,7 +525,7 @@ public interface Unmarshaller {
* content tree.
*
* <p>
* Implements <a href="#unmarshalGlobal">Unmarshal Global Root Element</a>.
* Implements <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalGlobal">Unmarshal Global Root Element</a>.
*
* @param node
* the document/element to unmarshal XML data from.
...
...
@@ -541,7 +538,7 @@ public interface Unmarshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Unmarshaller} is unable to perform the XML to Java
* binding. See <a href="#unmarshalEx">Unmarshalling XML Data</a>
* binding. See <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalEx">Unmarshalling XML Data</a>
* @throws IllegalArgumentException
* If the Node parameter is null
* @see #unmarshal(org.w3c.dom.Node, Class)
...
...
@@ -553,7 +550,7 @@ public interface Unmarshaller {
* and return the resulting content tree.
*
* <p>
* Implements <a href="#unmarshalByDeclaredType">Unmarshal by Declared Type</a>
* Implements <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalByDeclaredType">Unmarshal by Declared Type</a>
*
* @param node
* the document/element to unmarshal XML data from.
...
...
@@ -561,7 +558,7 @@ public interface Unmarshaller {
* @param declaredType
* appropriate JAXB mapped class to hold {@code node}'s XML data.
*
* @return <a href="#unmarshalDeclaredTypeReturn">JAXB Element</a> representation of {@code node}
* @return <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalDeclaredTypeReturn">JAXB Element</a> representation of {@code node}
*
* @throws JAXBException
* If any unexpected errors occur while unmarshalling
...
...
@@ -569,7 +566,7 @@ public interface Unmarshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Unmarshaller} is unable to perform the XML to Java
* binding. See <a href="#unmarshalEx">Unmarshalling XML Data</a>
* binding. See <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalEx">Unmarshalling XML Data</a>
* @throws IllegalArgumentException
* If any parameter is null
* @since 1.6, JAXB 2.0
...
...
@@ -581,7 +578,7 @@ public interface Unmarshaller {
* resulting content tree.
*
* <p>
* Implements <a href="#unmarshalGlobal">Unmarshal Global Root Element</a>.
* Implements <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalGlobal">Unmarshal Global Root Element</a>.
*
* <p>
* <a name="saxParserPlugable"></a>
...
...
@@ -627,7 +624,7 @@ public interface Unmarshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Unmarshaller} is unable to perform the XML to Java
* binding. See <a href="#unmarshalEx">Unmarshalling XML Data</a>
* binding. See <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalEx">Unmarshalling XML Data</a>
* @throws IllegalArgumentException
* If the Source parameter is null
* @see #unmarshal(javax.xml.transform.Source, Class)
...
...
@@ -641,16 +638,16 @@ public interface Unmarshaller {
* resulting content tree.
*
* <p>
* Implements <a href="#unmarshalByDeclaredType">Unmarshal by Declared Type</a>
* Implements <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalByDeclaredType">Unmarshal by Declared Type</a>
*
* <p>
* See <a href="#saxParserPlugable">SAX 2.0 Parser Pluggability</a>
* See <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#saxParserPlugable">SAX 2.0 Parser Pluggability</a>
*
* @param source the XML Source to unmarshal XML data from (providers are
* only required to support SAXSource, DOMSource, and StreamSource)
* @param declaredType
* appropriate JAXB mapped class to hold {@code source}'s xml root element
* @return Java content rooted by <a href="#unmarshalDeclaredTypeReturn">JAXB Element</a>
* @return Java content rooted by <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalDeclaredTypeReturn">JAXB Element</a>
*
* @throws JAXBException
* If any unexpected errors occur while unmarshalling
...
...
@@ -658,7 +655,7 @@ public interface Unmarshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Unmarshaller} is unable to perform the XML to Java
* binding. See <a href="#unmarshalEx">Unmarshalling XML Data</a>
* binding. See <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalEx">Unmarshalling XML Data</a>
* @throws IllegalArgumentException
* If any parameter is null
* @since 1.6, JAXB 2.0
...
...
@@ -671,7 +668,7 @@ public interface Unmarshaller {
* resulting content tree.
*
* <p>
* Implements <a href="#unmarshalGlobal">Unmarshal Global Root Element</a>.
* Implements <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalGlobal">Unmarshal Global Root Element</a>.
*
* <p>
* This method assumes that the parser is on a START_DOCUMENT or
...
...
@@ -691,7 +688,7 @@ public interface Unmarshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Unmarshaller} is unable to perform the XML to Java
* binding. See <a href="#unmarshalEx">Unmarshalling XML Data</a>
* binding. See <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalEx">Unmarshalling XML Data</a>
* @throws IllegalArgumentException
* If the {@code reader} parameter is null
* @throws IllegalStateException
...
...
@@ -708,7 +705,7 @@ public interface Unmarshaller {
* and return the resulting content tree.
*
* <p>
* This method implements <a href="#unmarshalByDeclaredType">unmarshal by declaredType</a>.
* This method implements <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalByDeclaredType">unmarshal by declaredType</a>.
* <p>
* This method assumes that the parser is on a START_DOCUMENT or
* START_ELEMENT event. Unmarshalling will be done from this
...
...
@@ -721,7 +718,7 @@ public interface Unmarshaller {
* @param declaredType
* appropriate JAXB mapped class to hold {@code reader}'s START_ELEMENT XML data.
*
* @return content tree rooted by <a href="#unmarshalDeclaredTypeReturn">JAXB Element representation</a>
* @return content tree rooted by <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalDeclaredTypeReturn">JAXB Element representation</a>
*
* @throws JAXBException
* If any unexpected errors occur while unmarshalling
...
...
@@ -729,7 +726,7 @@ public interface Unmarshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Unmarshaller} is unable to perform the XML to Java
* binding. See <a href="#unmarshalEx">Unmarshalling XML Data</a>
* binding. See <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalEx">Unmarshalling XML Data</a>
* @throws IllegalArgumentException
* If any parameter is null
* @since 1.6, JAXB 2.0
...
...
@@ -741,7 +738,7 @@ public interface Unmarshaller {
* resulting content tree.
*
* <p>
* This method is an <a href="#unmarshalGlobal">Unmarshal Global Root method</a>.
* This method is an <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalGlobal">Unmarshal Global Root method</a>.
*
* <p>
* This method assumes that the parser is on a START_DOCUMENT or
...
...
@@ -761,7 +758,7 @@ public interface Unmarshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Unmarshaller} is unable to perform the XML to Java
* binding. See <a href="#unmarshalEx">Unmarshalling XML Data</a>
* binding. See <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalEx">Unmarshalling XML Data</a>
* @throws IllegalArgumentException
* If the {@code reader} parameter is null
* @throws IllegalStateException
...
...
@@ -778,7 +775,7 @@ public interface Unmarshaller {
* and return the resulting content tree.
*
* <p>
* This method implements <a href="#unmarshalByDeclaredType">unmarshal by declaredType</a>.
* This method implements <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalByDeclaredType">unmarshal by declaredType</a>.
*
* <p>
* This method assumes that the parser is on a START_DOCUMENT or
...
...
@@ -792,7 +789,7 @@ public interface Unmarshaller {
* @param declaredType
* appropriate JAXB mapped class to hold {@code reader}'s START_ELEMENT XML data.
*
* @return content tree rooted by <a href="#unmarshalDeclaredTypeReturn">JAXB Element representation</a>
* @return content tree rooted by <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalDeclaredTypeReturn">JAXB Element representation</a>
*
* @throws JAXBException
* If any unexpected errors occur while unmarshalling
...
...
@@ -800,7 +797,7 @@ public interface Unmarshaller {
* If the {@link ValidationEventHandler ValidationEventHandler}
* returns false from its {@code handleEvent} method or the
* {@code Unmarshaller} is unable to perform the XML to Java
* binding. See <a href="#unmarshalEx">Unmarshalling XML Data</a>
* binding. See <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#unmarshalEx">Unmarshalling XML Data</a>
* @throws IllegalArgumentException
* If any parameter is null
* @since 1.6, JAXB 2.0
...
...
@@ -913,7 +910,7 @@ public interface Unmarshaller {
* {@code Unmarshaller}. This method can only be used to set one of
* the standard JAXB defined properties above or a provider specific
* property. Attempting to set an undefined property will result in
* a PropertyException being thrown. See <a href="#supportedProps">
* a PropertyException being thrown. See <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#supportedProps">
* Supported Properties</a>.
*
* @param name the name of the property to be set. This value can either
...
...
@@ -934,7 +931,7 @@ public interface Unmarshaller {
* {@code Unmarshaller}. This method can only be used to get one of
* the standard JAXB defined properties above or a provider specific
* property. Attempting to get an undefined property will result in
* a PropertyException being thrown. See <a href="#supportedProps">
* a PropertyException being thrown. See <a href="
{@docRoot}/javax/xml/bind/Unmarshaller.html
#supportedProps">
* Supported Properties</a>.
*
* @param name the name of the property to retrieve
...
...
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/annotation/XmlNsForm.java
浏览文件 @
378717fc
/*
* Copyright (c) 2004, 201
5
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 201
7
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -36,23 +36,26 @@ package javax.xml.bind.annotation;
* The namespace qualification values are used in the annotations
* defined in this packge. The enumeration values are mapped as follows:
*
* <table summary="" border="1" cellpadding="4" cellspacing="3">
* <tbody>
* <table class="striped">
* <caption style="display:none">Mapping of enumeration values</caption>
* <thead>
* <tr>
* <t
d><b>Enum Value</b></td
>
* <t
d><b>XML Schema Value</b></td
>
* <t
h scope="col">Enum Value</th
>
* <t
h scope="col">XML Schema Value</th
>
* </tr>
* </thead>
*
* <tr valign="top">
* <td>UNQUALIFIED</td>
* <tbody>
* <tr>
* <th scope="row">UNQUALIFIED</th>
* <td>unqualified</td>
* </tr>
* <tr
valign="top"
>
* <t
d>QUALIFIED</td
>
* <tr>
* <t
h scope="row">QUALIFIED</th
>
* <td>qualified</td>
* </tr>
* <tr
valign="top"
>
* <t
d>UNSET</td
>
* <tr>
* <t
h scope="row">UNSET</th
>
* <td>namespace qualification attribute is absent from the
* XML Schema fragment</td>
* </tr>
...
...
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/annotation/XmlType.java
浏览文件 @
378717fc
/*
* Copyright (c) 2004, 201
5
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 201
7
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -113,58 +113,60 @@ import java.lang.annotation.Target;
* complex type or simple type. The notational symbols used in the table are:
* <ul>
* <li> {@literal ->} : represents a mapping </li>
* <li> [x]+ : one or more occur
a
nces of x </li>
* <li> [x]+ : one or more occur
re
nces of x </li>
* <li> [ {@code @XmlValue} property ]: JavaBean property annotated with
* {@code @XmlValue}</li>
* <li> X : don't care
* </ul>
* <blockquote>
* <table
summary="" border="1" cellpadding="4" cellspacing="3
">
* <t
body
>
* <table
class="striped
">
* <t
head
>
* <tr>
* <t
d><b>Target</b></td
>
* <t
d><b>propOrder</b></td
>
* <t
d><b>ClassBody</b></td
>
* <t
d><b>ComplexType</b></td
>
* <t
d><b>SimpleType</b></td
>
* <t
h scope="col">Target</th
>
* <t
h scope="col">propOrder</th
>
* <t
h scope="col">ClassBody</th
>
* <t
h scope="col">ComplexType</th
>
* <t
h scope="col">SimpleType</th
>
* </tr>
* </thead>
*
* <tr valign="top">
* <tbody>
* <tr>
* <td>Class</td>
* <td>{}</td>
* <t
d>[property]+ {@literal ->} elements</td
>
* <t
h scope="row">[property]+ {@literal ->} elements</th
>
* <td>complexcontent<br>xs:all</td>
* <td> </td>
* </tr>
*
* <tr
valign="top"
>
* <tr>
* <td>Class</td>
* <td>non empty</td>
* <t
d>[property]+ {@literal ->} elements</td
>
* <t
h scope="row">[property]+ {@literal ->} elements</th
>
* <td>complexcontent<br>xs:sequence</td>
* <td> </td>
* </tr>
*
* <tr
valign="top"
>
* <tr>
* <td>Class</td>
* <td>X</td>
* <t
d>no property {@literal ->} element</td
>
* <t
h scope="row">no property {@literal ->} element</th
>
* <td>complexcontent<br>empty sequence</td>
* <td> </td>
* </tr>
*
* <tr
valign="top"
>
* <tr>
* <td>Class</td>
* <td>X</td>
* <t
d>1 [{@code @XmlValue} property] {@literal &&} <br> [property]+ {@literal ->} attributes</td
>
* <t
h scope="row">1 [{@code @XmlValue} property] {@literal &&} <br> [property]+ {@literal ->} attributes</th
>
* <td>simplecontent</td>
* <td> </td>
* </tr>
*
* <tr
valign="top"
>
* <tr>
* <td>Class</td>
* <td>X</td>
* <t
d>1 [{@code @XmlValue} property] {@literal &&} <br> no properties {@literal ->} attribute</td
>
* <t
h scope="row">1 [{@code @XmlValue} property] {@literal &&} <br> no properties {@literal ->} attribute</th
>
* <td> </td>
* <td>simpletype</td>
* </tr>
...
...
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/annotation/adapters/package-info.java
浏览文件 @
378717fc
...
...
@@ -26,13 +26,13 @@
/**
* {@link javax.xml.bind.annotation.adapters.XmlAdapter} and its spec-defined
* sub-classes to allow arbitrary Java classes to be used with JAXB.
*
<p>
*
* <h2>Package Specification</h2>
*
<p>
*
* <ul>
* <li><a href="http://jcp.org/en/jsr/detail?id=222">JAXB Specification</a>
* </ul>
*
<p>
*
* <h2>Related Documentation</h2>
* <p>
* For overviews, tutorials, examples, guides, and tool documentation,
...
...
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/annotation/adapters/package.html
已删除
100644 → 0
浏览文件 @
5912e671
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--
Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation. Oracle designates this
particular file as subject to the "Classpath" exception as provided
by Oracle in the LICENSE file that accompanied this code.
This code 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 General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).
You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
or visit www.oracle.com if you need additional information or have any
questions.
-->
<html>
<head>
</head>
<body>
<p>
{@link javax.xml.bind.annotation.adapters.XmlAdapter} and its spec-defined
sub-classes to allow arbitrary Java classes to be used with JAXB.
<h2>
Package Specification
</h2>
<ul>
<li><a
href=
"http://jcp.org/en/jsr/detail?id=222"
>
JAXB Specification
</a>
</ul>
<h2>
Related Documentation
</h2>
For overviews, tutorials, examples, guides, and tool documentation,
please see:
<ul>
<li>
The
<a
href=
"http://jaxb.java.net"
>
JAXB Website
</a>
</ul>
<!-- Put @see and @since tags down here. -->
</body>
</html>
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/annotation/package.html
浏览文件 @
378717fc
<!DOCTYPE HTML
PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"
>
<!DOCTYPE HTML>
<!--
Copyright (c) 2004, 201
3
, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2004, 201
7
, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
...
...
@@ -30,7 +30,7 @@
</head>
<body
bgcolor=
"white"
>
<body>
<p>
Defines annotations for customizing Java program elements to XML Schema mapping.
...
...
@@ -39,172 +39,92 @@
<p>
The following table shows the JAXB mapping annotations
that can be associated with each program element.
</p>
<table
border=
"1"
cellpadding=
"4"
cellspacing=
"3
"
>
<t
body
>
<table
class=
"striped
"
>
<t
head
>
<tr>
<t
d><b>
Program Element
</b></td
>
<t
d><b>
JAXB annotation
</b></td
>
<t
h
scope=
"col"
>
Program Element
</th
>
<t
h
scope=
"col"
>
JAXB annotation
</th
>
</tr>
<tr
valign=
"top"
>
<td><b>
Package
</b></td>
</thead>
<tbody
style=
"text-align:left"
>
<tr>
<th
scope=
"row"
style=
"vertical-align:top"
>
Package
</th>
<td>
<table>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAccessorOrder.html"
>
XmlAccessorOrder
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAccessorType.html"
>
XmlAccessorType
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlSchema.html"
>
XmlSchema
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlSchemaType.html"
>
XmlSchemaType
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlSchemaTypes.html"
>
XmlSchemaTypes
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.html"
>
XmlJavaTypeAdapter
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/adapters/XmlJavaTypeAdapters.html"
>
XmlJavaTypeAdapters
</a></b></td>
</tr>
</table>
<ul
style=
"list-style-type:none; padding-left:0; margin:0"
>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAccessorOrder.html"
>
XmlAccessorOrder
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAccessorType.html"
>
XmlAccessorType
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlSchema.html"
>
XmlSchema
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlSchemaType.html"
>
XmlSchemaType
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlSchemaTypes.html"
>
XmlSchemaTypes
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.html"
>
XmlJavaTypeAdapter
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/adapters/XmlJavaTypeAdapters.html"
>
XmlJavaTypeAdapters
</a></li>
</ul>
</td>
</tr>
<tr
valign=
"top"
>
<t
d><b>
Class
</b></td
>
<tr>
<t
h
scope=
"row"
style=
"vertical-align:top"
>
Class
</th
>
<td>
<table>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAccessorOrder.html"
>
XmlAccessorOrder
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAccessorType.html"
>
XmlAccessorType
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlInlineBinaryData.html"
>
XmlInlineBinaryData
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlRootElement.html"
>
XmlRootElement
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlType.html"
>
XmlType
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.html"
>
XmlJavaTypeAdapter
</a></b></td>
</tr>
</table>
<ul
style=
"list-style-type:none; padding-left:0; margin:0"
>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAccessorOrder.html"
>
XmlAccessorOrder
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAccessorType.html"
>
XmlAccessorType
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlInlineBinaryData.html"
>
XmlInlineBinaryData
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlRootElement.html"
>
XmlRootElement
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlType.html"
>
XmlType
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.html"
>
XmlJavaTypeAdapter
</a></li>
</ul>
</td>
</tr>
<tr
valign=
"top"
>
<t
d><b>
Enum type
</b></td
>
<tr>
<t
h
scope=
"row"
style=
"vertical-align:top"
>
Enum type
</th
>
<td>
<table>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlEnum.html"
>
XmlEnum
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlEnumValue.html"
>
XmlEnumValue (enum constant only)
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlRootElement.html"
>
XmlRootElement
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlType.html"
>
XmlType
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.html"
>
XmlJavaTypeAdapter
</a></b></td>
</tr>
</table>
<ul
style=
"list-style-type:none; padding-left:0; margin:0"
>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlEnum.html"
>
XmlEnum
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlEnumValue.html"
>
XmlEnumValue (enum constant only)
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlRootElement.html"
>
XmlRootElement
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlType.html"
>
XmlType
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.html"
>
XmlJavaTypeAdapter
</a></li>
</ul>
</td>
</tr>
<tr
valign=
"top"
>
<t
d><b>
JavaBean Property/field
</b></td
>
<tr>
<t
h
scope=
"row"
style=
"vertical-align:top"
>
JavaBean Property/field
</th
>
<td>
<table>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlElement.html"
>
XmlElement
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlElements.html"
>
XmlElements
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlElementRef.html"
>
XmlElementRef
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlElementRefs.html"
>
XmlElementRefs
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlElementWrapper.html"
>
XmlElementWrapper
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAnyElement.html"
>
XmlAnyElement
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAttribute.html"
>
XmlAttribute
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAnyAttribute.html"
>
XmlAnyAttribute
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlTransient.html"
>
XmlTransient
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlValue.html"
>
XmlValue
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlID.html"
>
XmlID
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlIDREF.html"
>
XmlIDREF
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlList.html"
>
XmlList
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlMixed.html"
>
XmlMixed
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlMimeType.html"
>
XmlMimeType
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAttachmentRef.html"
>
XmlAttachmentRef
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlInlineBinaryData.html"
>
XmlInlineBinaryData
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlElementDecl.html"
>
XmlElementDecl (only on method)
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.html"
>
XmlJavaTypeAdapter
</a></b></td>
</tr>
</table>
<ul
style=
"list-style-type:none; padding-left:0; margin:0"
>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlElement.html"
>
XmlElement
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlElements.html"
>
XmlElements
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlElementRef.html"
>
XmlElementRef
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlElementRefs.html"
>
XmlElementRefs
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlElementWrapper.html"
>
XmlElementWrapper
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAnyElement.html"
>
XmlAnyElement
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAttribute.html"
>
XmlAttribute
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAnyAttribute.html"
>
XmlAnyAttribute
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlTransient.html"
>
XmlTransient
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlValue.html"
>
XmlValue
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlID.html"
>
XmlID
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlIDREF.html"
>
XmlIDREF
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlList.html"
>
XmlList
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlMixed.html"
>
XmlMixed
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlMimeType.html"
>
XmlMimeType
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAttachmentRef.html"
>
XmlAttachmentRef
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlInlineBinaryData.html"
>
XmlInlineBinaryData
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlElementDecl.html"
>
XmlElementDecl (only on method)
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.html"
>
XmlJavaTypeAdapter
</a></li>
</ul>
</td>
</tr>
<tr
valign=
"top"
>
<t
d><b>
Parameter
</b></td
>
<tr>
<t
h
scope=
"row"
style=
"vertical-align:top"
>
Parameter
</th
>
<td>
<table>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlList.html"
>
XmlList
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAttachmentRef.html"
>
XmlAttachmentRef
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/XmlMimeType.html"
>
XmlMimeType
</a></b></td>
</tr>
<tr
valign=
"top"
>
<td><b><a
HREF=
"../../../../javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.html"
>
XmlJavaTypeAdapter
</a></b></td>
</tr>
</table>
<ul
style=
"list-style-type:none; padding-left:0; margin:0"
>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlList.html"
>
XmlList
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlAttachmentRef.html"
>
XmlAttachmentRef
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/XmlMimeType.html"
>
XmlMimeType
</a></li>
<li><a
HREF=
"../../../../javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.html"
>
XmlJavaTypeAdapter
</a></li>
</ul>
</td>
</tr>
...
...
@@ -252,26 +172,28 @@
<p>
The following namespace prefixes are used in the XML Schema
fragments in this package.
<table
border=
"1"
cellpadding=
"4"
cellspacing=
"3
"
>
<t
body
>
<table
class=
"striped
"
>
<t
head
>
<tr>
<t
d><b>
Prefix
</b></td
>
<t
d><b>
Namespace
</b></td
>
<t
d><b>
Notes
</b></td
>
<t
h
scope=
"col"
>
Prefix
</th
>
<t
h
scope=
"col"
>
Namespace
</th
>
<t
h
scope=
"col"
>
Notes
</th
>
</tr>
</thead>
<tr
valign=
"top"
>
<td>
xs
</td>
<tbody>
<tr>
<th
scope=
"row"
>
xs
</th>
<td>
http://www.w3.org/2001/XMLSchema
</td>
<td>
Namespace of XML Schema namespace
</td>
</tr>
<tr
valign=
"top"
>
<t
d>
ref
</td
>
<tr>
<t
h
scope=
"row"
>
ref
</th
>
<td>
http://ws-i.org/profiles/basic/1.1/xsd
</td>
<td>
Namespace for swaref schema component
</td>
</tr>
<tr
valign=
"top"
>
<t
d>
xsi
</td
>
<tr>
<t
h
scope=
"row"
>
xsi
</th
>
<td>
http://www.w3.org/2001/XMLSchema-instance
</td>
<td>
XML Schema namespace for instances
</td>
</tr>
...
...
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/attachment/AttachmentUnmarshaller.java
浏览文件 @
378717fc
/*
* Copyright (c) 2005, 201
5
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 201
7
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -72,32 +72,29 @@ public abstract class AttachmentUnmarshaller {
*
* <p>The returned {@code DataHandler} instance must be configured
* to meet the following required mapping constaint.
* <table summary="" border="2" rules="all" cellpadding="4">
* <table class="striped">
* <caption>Required Mappings between MIME and Java Types</caption>
* <thead>
* <tr>
* <th
align="center" colspan="2"
>
*
Required Mappings between MIME and Java Types
* <th
scope="col">MIME Type</th
>
*
<th scope="col">Java Type</th>
* </tr>
* <tr>
* <th>MIME Type</th>
* <th>Java Type</th>
* </tr>
* <tr>
* <th>{@code DataHandler.getContentType()}</th>
* <th>{@code instanceof DataHandler.getContent()}</th>
* <th scope="col">{@code DataHandler.getContentType()}</th>
* <th scope="col">{@code instanceof DataHandler.getContent()}</th>
* </tr>
* </thead>
* <tbody>
* <tbody
style="text-align:left"
>
* <tr>
* <t
d>image/gif</td
>
* <t
h scope="row">image/gif</th
>
* <td>java.awt.Image</td>
* </tr>
* <tr>
* <t
d>image/jpeg</td
>
* <t
h scope="row">image/jpeg</th
>
* <td>java.awt.Image</td>
* </tr>
* <tr>
* <t
d>text/xml or application/xml</td
>
* <t
h scope="row">text/xml or application/xml</th
>
* <td>javax.xml.transform.Source</td>
* </tr>
* </tbody>
...
...
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/helpers/package-info.java
浏览文件 @
378717fc
...
...
@@ -26,17 +26,17 @@
/**
* <B>JAXB Provider Use Only:</b> Provides partial default implementations for
* some of the <code>javax.xml.bind</code> interfaces.
*
<p>
*
* <p>
* JAXB Providers can extend these classes and implement the abstract
* methods.
*
<p>
*
* <h2>Package Specification</h2>
*
<p>
*
* <ul>
* <li><a href="https://jaxb.java.net/">JAXB Specification</a>
* </ul>
*
<p>
*
* <h2>Related Documentation</h2>
* <p>
* For overviews, tutorials, examples, guides, and tool documentation,
...
...
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/helpers/package.html
已删除
100644 → 0
浏览文件 @
5912e671
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--
Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation. Oracle designates this
particular file as subject to the "Classpath" exception as provided
by Oracle in the LICENSE file that accompanied this code.
This code 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 General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).
You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
or visit www.oracle.com if you need additional information or have any
questions.
-->
<html>
<head>
</head>
<body
bgcolor=
"white"
>
<p>
<B>
JAXB Provider Use Only:
</b>
Provides partial default implementations for
some of the
<code>
javax.xml.bind
</code>
interfaces.
<p>
JAXB Providers can extend these classes and implement the abstract
methods.
<h2>
Package Specification
</h2>
<ul>
<li><a
href=
"https://jaxb.java.net/"
>
JAXB
Specification
</a>
</ul>
<h2>
Related Documentation
</h2>
For overviews, tutorials, examples, guides, and tool documentation,
please see:
<ul>
<li>
The
<a
href=
"https://jaxb.java.net/"
>
JAXB
Website
</a>
</ul>
<!-- Put @see and @since tags down here. -->
</body>
</html>
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/util/package-info.java
浏览文件 @
378717fc
...
...
@@ -25,13 +25,13 @@
/**
* Useful client utility classes.
*
<p>
*
* <h2>Package Specification</h2>
*
<p>
*
* <ul>
* <li><a href="https://jaxb.java.net/">JAXB Specification</a>
* </ul>
*
<p>
*
* <h2>Related Documentation</h2>
* <p>
* For overviews, tutorials, examples, guides, and tool documentation,
...
...
jaxws/src/java.xml.bind/share/classes/javax/xml/bind/util/package.html
已删除
100644 → 0
浏览文件 @
5912e671
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--
Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation. Oracle designates this
particular file as subject to the "Classpath" exception as provided
by Oracle in the LICENSE file that accompanied this code.
This code 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 General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).
You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
or visit www.oracle.com if you need additional information or have any
questions.
-->
<html>
<head>
</head>
<body
bgcolor=
"white"
>
<p>
Useful client utility classes.
<h2>
Package Specification
</h2>
<ul>
<li><a
href=
"https://jaxb.java.net/"
>
JAXB
Specification
</a>
</ul>
<h2>
Related Documentation
</h2>
For overviews, tutorials, examples, guides, and tool documentation,
please see:
<ul>
<li>
The
<a
href=
"https://jaxb.java.net/"
>
JAXB
Website
</a>
</ul>
<!-- Put @see and @since tags down here. -->
</body>
</html>
jaxws/src/java.xml.ws/share/classes/javax/xml/ws/wsaddressing/W3CEndpointReferenceBuilder.java
浏览文件 @
378717fc
/*
* Copyright (c) 2005, 201
5
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 201
7
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -145,7 +145,7 @@ public final class W3CEndpointReferenceBuilder {
* Sets the {@code endpointName} as
* {@code wsam:ServiceName/@EndpointName} in the
* {@code wsa:Metadata} element. This method can only be called
* after the {@link #serviceName} method has been called.
* after the {@link #serviceName
(QName)
} method has been called.
* <p>
* See <a href="http://www.w3.org/TR/2007/REC-ws-addr-metadata-20070904/#refmetadatfromepr">
* 2.1 Referencing WSDL Metadata from an EPR</a> for more details.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录