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 Summary
Constructors Constructor Description SchematronProcessor(XMLReader reader, Templates templates)
Constructor setting the XSLT schematron templates.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
validate(String xml)
Validates the given XML for given Rules.String
validate(Source source)
Validates the given XML for given Rules.
-