Exemple #1
0
 public SimpleModel(ParserFactory parserFactory)
 {
     itsParserFactory = parserFactory;
     itsStatements    = new ArrayList();
     itsTripleStore   = new MemoryTripleStore();
     itsDereferencer  = new SimpleDereferencer();
 }
Exemple #2
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;
 }
Exemple #3
0
 public DriveParserFactory()
 {
     itsDereferencer = new SimpleDereferencer();
 }
Exemple #4
0
 public override void SetDereferencer(Dereferencer dereferencer)
 {
     // NOOP
 }
Exemple #5
0
 public DriveParser(ResourceFactory resourceFactory, StatementFactory statementFactory)
 {
     itsResourceFactory  = resourceFactory;
     itsStatementFactory = statementFactory;
     itsDereferencer     = new SimpleDereferencer();
 }
 public bool WasSetDereferencerCalledWith(Dereferencer dereferencer)
 {
     return(itsMethodCalls.WasMethodCalledWith("SetDereferencer", dereferencer));
 }
 public void SetDereferencer(Dereferencer dereferencer)
 {
     itsMethodCalls.RecordMethodCall("SetDereferencer", dereferencer);
 }
 public XsltParserFactory(string xsltStylesheetName, string validatorXsltStylesheetName, Dereferencer dereferencer)
 {
     itsXsltTransformer          = new XsltTransformer(xsltStylesheetName);
     itsValidatorXsltTransformer = new XsltTransformer(validatorXsltStylesheetName);
     itsDereferencer             = dereferencer;
 }