Class ViolationsAsMetadata

  • All Implemented Interfaces:
    SchemaViolationHandler

    @ComponentProfile(summary="Render an XML representation of the schema violations as standard metadata",
                      since="3.10.2")
    public class ViolationsAsMetadata
    extends ViolationHandlerImpl
    Uses SchemaViolations and adds it as standard metadata.

    This renders any schema violations as XML and stores it as standard metadata against the specified key.

    In the adapter configuration file this class is aliased as schema-violations-as-metadata which is the preferred alternative to the fully qualified classname when building your configuration.