com.stc.connector.hl7.schematron.SchematronValidator validator = factory.getDefaultValidator( domSource );
domSource is the DOMSource object of the schematron XML.