Package sherpa.protocol

Examples of sherpa.protocol.IRI


  public DummyQueryResponder(int rows) {
    this.rows = rows;
    this.width = DEFAULT_WIDTH;
    this.data = new ArrayList<List<Object>>(rows);
    for (int row = 1; row <= rows; row++) {
      IRI iri = new IRI();
      iri.iri = "http://foobar.baz/this/uri/" + row;
      data.add(Arrays.<Object>asList(iri, row));
    }
  }
View Full Code Here


    bn.label = n.getLabel();
    return bn;
  }
 
  public static IRI iri(NamedNode n) {
    IRI i = new IRI();
    i.iri = n.getURI().toString();
    return i;
  }
View Full Code Here

TOP

Related Classes of sherpa.protocol.IRI

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.