Apache CXF API

org.apache.cxf.jaxrs.ext.xml
Annotation Type XSISchemaLocation


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface XSISchemaLocation

This annotation can be used to simplify adding xsi:schemaLocation attributes


Required Element Summary
 String value
          Schema location By default it is assumed to be relative to a base URI of the web application
 
Optional Element Summary
 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

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

resolve

public abstract 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

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

Default:
false

Apache CXF API

Apache CXF