Apache CXF API

org.apache.cxf.annotations
Annotation Type SchemaValidation


@Documented
@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD})
public @interface SchemaValidation

Enables schema validation


Optional Element Summary
 String[] schemas
          Optional list of schema locations
 SchemaValidation.SchemaValidationType type
          Schema Validation Type
 

type

public abstract SchemaValidation.SchemaValidationType type
Schema Validation Type

Returns:
validation type
Default:
org.apache.cxf.annotations.SchemaValidation.SchemaValidationType.BOTH

schemas

public abstract String[] schemas
Optional list of schema locations

Returns:
schema locations
Default:
{}

Apache CXF API

Apache CXF