Package com.google.refine.rdf.expr.functions.strings

Examples of com.google.refine.rdf.expr.functions.strings.Urlify


    ApplicationContext ctxt = new ApplicationContext();
    schema = getRdfSchema();
    project = buildTheSampleProject(schema);
    engine = new Engine(project);
    exporter = new RdfExporter(ctxt,RDFFormat.RDFXML);
    ControlFunctionRegistry.registerFunction("urlify", new Urlify());
    ExpressionUtils.registerBinder(new RdfBinder(ctxt));
         
    model = exporter.buildModel(project, engine, schema);
   
    assertEquals(project.rows.size(),3);
View Full Code Here


    ApplicationContext ctxt = new ApplicationContext();
    schema = getRdfSchema();
    project = RdfExporterFacultyDataTest.buildTheSampleProject(schema);
    engine = new Engine(project);
    exporter = new RdfExporter(ctxt,RDFFormat.RDFXML);
    ControlFunctionRegistry.registerFunction("urlify", new Urlify());
    ExpressionUtils.registerBinder(new RdfBinder(ctxt));
         
    model = exporter.buildModel(project, engine, schema);
   
    assertEquals(project.rows.size(),3);
View Full Code Here

  @BeforeClass
  public void init()throws Exception{
    InputStream in = this.getClass().getResourceAsStream("/rdfschema-payment.csv");
    ApplicationContext ctxt = new ApplicationContext();
   
    ControlFunctionRegistry.registerFunction("urlify", new Urlify());
    ExpressionUtils.registerBinder(new RdfBinder(ctxt));
   
    project = new Project();
    ProjectMetadata meta = new ProjectMetadata();
   
View Full Code Here

    ApplicationContext ctxt = new ApplicationContext();
   
    buildTheSampleProject();
    engine = new Engine(project);
    exporter = new RdfExporter(ctxt,RDFFormat.RDFXML);
    ControlFunctionRegistry.registerFunction("urlify", new Urlify());
    ExpressionUtils.registerBinder(new RdfBinder(ctxt));
 
   
    model = exporter.buildModel(project, engine,schema);
   
View Full Code Here

TOP

Related Classes of com.google.refine.rdf.expr.functions.strings.Urlify

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.