Class SchematronProcessor

java.lang.Object
org.apache.camel.component.schematron.processor.SchematronProcessor

public class SchematronProcessor extends Object
The schematoron Engine. Validates an XML for given scheamtron rules using an XSLT implementation of the Schematron Engine.

  • Constructor Details

    • SchematronProcessor

      public SchematronProcessor(XMLReader reader, Templates templates)
      Constructor setting the XSLT schematron templates.
      Parameters:
      reader -
      templates -
  • Method Details

    • validate

      public String validate(String xml)
      Validates the given XML for given Rules.
      Parameters:
      xml -
      Returns:
    • validate

      public String validate(Source source)
      Validates the given XML for given Rules.
      Parameters:
      source -
      Returns: