You can specify any character string in the schema document that is the input for schema compiler and in the Java class that is the input for schema generator. Table B-2 describes the support range of the characters of java source input into the schema generator handled in JAXB, and Table B-3 describes the support range of characters of the schema document input into the schema compiler.
Table B-2 Support range of characters of java source input into the schema generator
No. | Specification location of any character string | Support range of the character |
---|---|---|
1 | Class name Method name Field name | All of the following conditions must be fulfilled:
|
2 | Enumeration constant | The following condition must be fulfilled:
|
3 | prefix element of @XmlNs | All of the following conditions must be fulfilled:
|
4 | Elements of @XmlEnumValue defaultValue element of @XmlElement or @XmlElementDecl | The following condition must be fulfilled:
|
5 | name element of the JAXB mapping annotation | All of the following conditions must be fulfilled:
|
6 | namespace element of the JAXB mapping annotation | The following condition must be fulfilled:
|
7 | factoryMethod element of @XmlType | All of the following conditions must be fulfilled:
|
8 | value element of @XmlMimeType | The following condition must be fulfilled:
|
Table B-3 Support range of characters of the schema document input into the schema compiler
No. | Specification location of any character string | Support range of character |
---|---|---|
1 | Attributes of the schema element that specifies the xs:anyURI type (such as the targetNamespace attribute of the xs:schema element) | The following condition must be fulfilled:
|
2 | Attributes of the schema element that specifies the xs:NCName type (such as the name attribute of the xs:element element) | All of the following conditions must be fulfilled when the output name is not changed with the custom binding declaration:
|
All of the following conditions must be fulfilled when the output name is changed with the custom binding declaration:
| ||
3 | Attributes of the schema element that specifies the xs:QName type (such as the type attribute of the xs:element element) | All of the following conditions must be fulfilled:
|
4 | Attribute of the schema element that specifies the xs:string type (such as the fixed or default attribute of the xs:element element, or the fixed or default attribute of the xs:attribute element) value attribute of the jaxb:typesafeEnumMember element | The following condition must be fulfilled:
|
5 | value attribute of the xs:enumeration element | All of the following conditions must be fulfilled when the enumeration constant is not changed with the custom binding declaration:
|
All of the following conditions must be fulfilled when the enumeration constant is changed with the custom binding declaration:
| ||
6 | name attribute of the JAXB element suffix attribute of the JAXB element prefix attribute of the JAXB element parseMethod or printMethod attribute of the jaxb:javaType element | All of the following conditions must be fulfilled:
|
7 | name attribute of the jaxb:package element ref attribute of the JAXB element collectionType attribute of the JAXB element implClass attribute of the jaxb:class element | All of the following conditions must be fulfilled:
|
8 | Element contents of the jaxb:javadoc element | All of the following conditions must be satisfied:
|