@Retention(value=RUNTIME) @Target(value=TYPE) public @interface XmlInclude
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" />
public abstract XmlInclude.Type type
public abstract String[] schema
public abstract String namespace
public abstract String alias
Copyright © 2023 JBoss, a division of Red Hat. All rights reserved.