public boolean canValidate ( Document doc ) { XsdSchema schema = schemaMappingStrategy . getSchema ( schemas , doc ) ; return schema != null ; }
Find the matching schema for document using given schema mapping strategy .