Annotation Interface XmlAttribute
Annotation to add attributes to the schema created by
XMLSchemaGenerator. Example:
@XmlAttribute(attrs={"auth_value", "demo_token})
This results in the following schema fragment:
<xs:attribute name="auth_value" type="xs:string"/>
<xs:attribute name="demo_token" type="xs:string"/>
- Since:
- 3.5
- Author:
- Bela Ban
-
Optional Element Summary
Optional Elements
-
Element Details
-
attrs
String[] attrs- Default:
{}
-