Exemple #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;
 }
Exemple #2
0
 /// <summary>
 /// Assign the factory the parser must use to create statements from resources
 /// </summary>
 public void setStatementFactory(SemPlan.Spiral.Core.StatementFactory factory)
 {
     this.statementFactory = factory;
 }
Exemple #3
0
 public NTriplesParser(SemPlan.Spiral.Core.ResourceFactory resourceFactory, SemPlan.Spiral.Core.StatementFactory statementFactory)
 {
     this.resourceFactory  = resourceFactory;
     this.statementFactory = statementFactory;
 }
Exemple #4
0
 public Parser MakeParser(SemPlan.Spiral.Core.ResourceFactory resourceFactory, SemPlan.Spiral.Core.StatementFactory statementFactory)
 {
     return(new ICalParser((XsltParser)itsXsltParserFactory.MakeParser(resourceFactory, statementFactory), itsDereferencer));
 }
Exemple #5
0
 /// <summary>
 /// Assign the factory the parser must use to create statements from resources
 /// </summary>
 public void SetStatementFactory(SemPlan.Spiral.Core.StatementFactory factory)
 {
     itsXsltParser.triplesParser.setStatementFactory(factory);
 }
Exemple #6
0
 /// <summary>
 /// Assign the factory the parser must use to create statements from resources
 /// </summary>
 public void SetStatementFactory(StatementFactory factory)
 {
 }
Exemple #7
0
 public void SetStatementFactory(SemPlan.Spiral.Core.StatementFactory factory)
 {
 }
 public Parser MakeParser(SemPlan.Spiral.Core.ResourceFactory resourceFactory, SemPlan.Spiral.Core.StatementFactory statementFactory)
 {
     return(new XsltParser(resourceFactory, statementFactory, itsXsltTransformer, itsValidatorXsltTransformer, itsDereferencer));
 }