Skip to content

Commit

Permalink
#134: Remove dependency on java.desktop from the specification (#192)
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
  • Loading branch information
lukasj authored Jun 16, 2021
1 parent 43d1d2d commit a420681
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
1 change: 1 addition & 0 deletions spec/src/main/asciidoc/appI-changelog.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

* fixed cross-references in the specification document
* removed deprecated jakarta.xml.bind.Validator
* removed constraints on using `java.beans.Introspector`

=== Changes in Version 3

Expand Down
17 changes: 6 additions & 11 deletions spec/src/main/asciidoc/ch08-java_types.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1380,8 +1380,7 @@ The value is always absent since there is no mapping to a substitution group.

The following must be mapped (subject to the mapping constraints listed below):

* read/write property as identified by
`java.beans.Introspector.getBeanInfo` with its nearest XML-bound
* read/write property with its nearest XML-bound
superclass as the stopClass.
* non static, non transient field of all the
ancestors up to the stopClass (but excluding the stopClass itself); if
Expand Down Expand Up @@ -2843,15 +2842,12 @@ element even in their absence.
The following is the default mapping for different identifiers:

* _class name_: a class name is mapped to an XML
name by de capitalization using
`java.beans.Introspector.decapitalize(_class name_)`.
name by de capitalization of the unqualified class name.
* _enumtype name_: enumtype name is mapped to an
XML name by de capitalization using
`java.beans.Introspector.decapitalize(_enumtype name_)`.
XML name by de capitalization of the unqualified enumtype name.
* A property name (e.g. address) is derived
from JavaBean access method (e.g. getAddress) by JavaBean de
capitalization of the JavaBean property name
`java.beans.Introspector.decapitalize(_JavaBeanAccessMethod_)`
from access method (e.g. getAddress) by de
capitalization of the property name.

==== Package

Expand Down Expand Up @@ -2930,8 +2926,7 @@ inheritance rules for this annotation.

A property name (e.g. address) must be derived
from JavaBean access method (e.g. getAddress) by JavaBean
decapitalization of the JavaBean property name
`java.beans.Introspector.decapitalize(_JavaBeanAccessMethod_)`
decapitalization of the JavaBean property name.

A single valued property or field must be
mapped with the following default mapping annotation:
Expand Down

0 comments on commit a420681

Please sign in to comment.