Annotation Type XSISchemaLocation


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface XSISchemaLocation
    This annotation can be used to simplify adding xsi:schemaLocation attributes
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      Schema location By default it is assumed to be relative to a base URI of the web application
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean noNamespace
      Can be used to get xsi:noNamespaceSchemaLocation produced.
      boolean resolve
      If the location is relative and this property is set to true then the location will be resolved against the base URI of the web application
    • Element Detail

      • value

        String value
        Schema location By default it is assumed to be relative to a base URI of the web application
      • resolve

        boolean resolve
        If the location is relative and this property is set to true then the location will be resolved against the base URI of the web application
        Default:
        true
      • noNamespace

        boolean noNamespace
        Can be used to get xsi:noNamespaceSchemaLocation produced. By default, xsi:schemaLocation will be set.
        Default:
        false