@ComponentProfile(summary="Validate an XML document against a schema", recommended=CacheConnection.class, since="3.10.2", tag="xml,schema") public class BasicXmlSchemaValidator extends XmlSchemaValidatorImpl
XmlValidationService
to validate an XML message against a schema.
This validates an input XML document against a schema and fails with an exception logging all the exceptions found.
In the adapter configuration file this class is aliased as basic-xml-schema-validator which is the preferred alternative to the fully qualified classname when building your configuration.
log
Constructor and Description |
---|
BasicXmlSchemaValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(AdaptrisMessage msg) |
protected SchemaViolationHandler |
violationHandler() |
close, getSchema, getSchemaCache, init, prepare, resolveFromCache, resolveSchema, setSchema, setSchemaCache, start, stop, withSchema, withSchemaCache
public void validate(AdaptrisMessage msg) throws CoreException
CoreException
protected SchemaViolationHandler violationHandler()