Class SchemaReader

java.lang.Object
org.apache.camel.support.processor.validation.SchemaReader

public class SchemaReader extends Object
Reads the schema used in the processor ValidatingProcessor. A schema re-reading could be forced using org.apache.camel.component.validator.ValidatorEndpoint#clearCachedSchema().
  • Field Details

    • ACCESS_EXTERNAL_DTD

      public static final String ACCESS_EXTERNAL_DTD
      Key of the global option to switch either off or on the access to external DTDs in the XML Validator for StreamSources. Only effective, if not a custom schema factory is used.
      See Also:
  • Constructor Details

    • SchemaReader

      public SchemaReader()
    • SchemaReader

      public SchemaReader(org.apache.camel.CamelContext camelContext, String schemaResourceUri)
      Specify a camel context and a schema resource URI in order to read the schema via the class resolver specified in the Camel context.
  • Method Details