Annotation Interface XmlInclude


@Retention(RUNTIME) @Target(TYPE) public @interface XmlInclude
Used to include other schemas by XMLSchemaGenerator. Example:
    @XmlInclude(schema="relay.xsd",type=Type.IMPORT,namespace="urn:jgroups:relay:1.0",alias="relay")
results in the following include in the schema element:
    <xs:schema... xmlns:relay="urn:jgroups:relay:1.0" />
    ...
    <xs:import schemaLocation="fork-stacks.xsd" namespace="urn:jgroups:relay:1.0" />
Since:
3.5
Author:
Bela Ban
  • Element Details