Annotation Type XmlSchema
-
@Retention(RUNTIME) @Target(PACKAGE) public @interface XmlSchema
This annotation provides package-level Module information.
-
-
Field Summary
Fields Modifier and Type Fields Description static StringNO_LOCATIONThe default value of a schema location, which indicates that no schema will be associated.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringjsonSchemaLocationThe location of the associated JSON schema.StringnamespaceName of the XML namespace.XmlNsFormxmlAttributeFormDefaultGet the default XML attribute form.XmlNsFormxmlElementFormDefaultGet the default XML element form.XmlNs[]xmlnsDefines the XML namespace URI and prefix to use for this model.StringxmlSchemaLocationThe location of the associated XML schema.
-
-
-
Field Detail
-
NO_LOCATION
static final String NO_LOCATION
The default value of a schema location, which indicates that no schema will be associated.The value "##none" was chosen because ## is not a valid sequence in xs:anyURI.
-
-
-
xmlSchemaLocation
String xmlSchemaLocation
The location of the associated XML schema.- Returns:
- a location string in the form of a URI
- Default:
- "##none"
-
-
-
jsonSchemaLocation
String jsonSchemaLocation
The location of the associated JSON schema.- Returns:
- a location string in the form of a URI
- Default:
- "##none"
-
-
-
xmlElementFormDefault
XmlNsForm xmlElementFormDefault
Get the default XML element form.- Returns:
- the XML element form
- Default:
- gov.nist.secauto.metaschema.databind.model.annotations.XmlNsForm.UNSET
-
-
-
xmlAttributeFormDefault
XmlNsForm xmlAttributeFormDefault
Get the default XML attribute form.- Returns:
- the XML attribute form
- Default:
- gov.nist.secauto.metaschema.databind.model.annotations.XmlNsForm.UNSET
-
-