Пример #1
0
 public XsltParser(SemPlan.Spiral.Core.ResourceFactory resourceFactory, SemPlan.Spiral.Core.StatementFactory statementFactory, XsltTransformer xsltTransformer, XsltTransformer validatorXsltTransformer, Dereferencer dereferencer)
 {
     itsTriplesParser            = new NTriplesParser(resourceFactory, statementFactory);
     itsXsltTransformer          = xsltTransformer;
     itsValidatorXsltTransformer = validatorXsltTransformer;
     itsDereferencer             = dereferencer;
 }
Пример #2
0
 public XsltParserFactory(string xsltStylesheetName, string validatorXsltStylesheetName, Dereferencer dereferencer)
 {
     itsXsltTransformer          = new XsltTransformer(xsltStylesheetName);
     itsValidatorXsltTransformer = new XsltTransformer(validatorXsltStylesheetName);
     itsDereferencer             = dereferencer;
 }