Skip to end of metadata
Go to start of metadata

A table of 'attributes' that are set using JAXB annotations. This table is oriented on Castor descriptors then on annotations as the goal is to learn which attributes aren't covered by today Castor descriptors.

Package attributes

Package attributes have currently no home in Castor, but lets see where we might can put them...

Attribute

From annotations

Description

namespace

XmlSchema

the namespace to map the package to

accessor order

XmlAccessorOrder

defines in which order (undefined or alphabetical) the elements will be put into the type; on package level it represents the default for all classes

accessor type

XmlAccessorType

defines the fields should be accessed in the class: field, none, property or public members; on package level it represents the default for all classes

Class attributes

Will be put into XMLClassDescriptor (of course).

Attribute

From annotations

Description

accessor order

XmlAccessorOrder

defines in which order (undefined or alphabetical) the elements will be put into the type

accessor type

XmlAccessorType

defines the fields should be accessed in the class: field, none, property or public members

Field attributes

Will be put into XMLFieldDescriptor. Field annotations are all at field or method (wink) - at least for this table.

Attribute

From annotations

Description

any attribute

XmlAnyAttribute

only once per class; needs to be a Map<QName,Object>; relates to xs:anyAttribute

 

XmlAttachmentRef

binary attachments according 'WS-I Attachments Profile'

attribute name & required & namespace

XmlAttribute

attribute definition

element name & nillable & required & namespace & defaultValue

XmlElement

element definition

element declaration scope, namespace, name, substitution head namespace, s. h. name, default value

XmlElementDecl

??

  • No labels