@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" />
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
alias |
java.lang.String |
namespace |
java.lang.String[] |
schema |
XmlInclude.Type |
type |
public abstract XmlInclude.Type type
Copyright © 1998-2020 Red Hat. All Rights Reserved.