Class 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 Detail

      • SchematronProcessor

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

      • 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: