Package org.ontoware.rdf2go.model.node.impl

Examples of org.ontoware.rdf2go.model.node.impl.URIImpl


   * The OWL Namespace
   */
    public static final String OWL_NS="http://www.w3.org/2002/07/owl#";

    protected static final URI toURI( String local ) {
      return new URIImpl( OWL_NS + local, false );
    }
View Full Code Here


   * The RDF Schema Namespace
   */
  public static final String RDFS_NS = "http://www.w3.org/2000/01/rdf-schema#";
 
  protected static final URI toURI(String local) {
    return new URIImpl(RDFS_NS + local, false);
  }
View Full Code Here

   * The XML Schema Namespace
   */
  public static final String XSD_NS = "http://www.w3.org/2001/XMLSchema#";
 
  protected static final URI toURI(String local) {
    return new URIImpl(XSD_NS + local, false);
  }
View Full Code Here

   * The RDF Namespace
   */
  public static final String RDF_NS = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";

  protected static final URI toURI(String local) {
    return new URIImpl(RDF_NS + local,false);
  }
View Full Code Here

   * @throws ModelRuntimeException if URI syntax is wrong
   *
   * [Generated from RDFReactor template rule #c7]
   */
  public Restriction ( Model model, String uriString, boolean write) throws ModelRuntimeException {
    super(model, RDFS_CLASS, new URIImpl(uriString,false), write);
  }
View Full Code Here

   * @throws ModelRuntimeException if URI syntax is wrong
   *
   * [Generated from RDFReactor template rule #c7]
   */
  public Nothing ( Model model, String uriString, boolean write) throws ModelRuntimeException {
    super(model, RDFS_CLASS, new URIImpl(uriString,false), write);
  }
View Full Code Here

   * @throws ModelRuntimeException if URI syntax is wrong
   *
   * [Generated from RDFReactor template rule #c7]
   */
  public Property ( Model model, String uriString, boolean write) throws ModelRuntimeException {
    super(model, RDFS_CLASS, new URIImpl(uriString,false), write);
  }
View Full Code Here

   * @throws ModelRuntimeException if URI syntax is wrong
   *
   * [Generated from RDFReactor template rule #c7]
   */
  public Seq ( Model model, String uriString, boolean write) throws ModelRuntimeException {
    super(model, RDFS_CLASS, new URIImpl(uriString,false), write);
  }
View Full Code Here

   *
   * @throws ModelRuntimeException ...
   */
  @Test
  public void testFindStatements2() throws ModelRuntimeException {
    URI a = new URIImpl("urn:test:a");
    URI b = new URIImpl("urn:test:b");
    URI c = new URIImpl("urn:test:c");
    URI d = new URIImpl("urn:test:d");
    this.modelset.addStatement(a, b, c, d);
   
    ClosableIterator<? extends Statement> it = this.modelset.findStatements(Variable.ANY, b, c,
            d);
    Statement stmt = it.next();
View Full Code Here

  public void testOpenClose() {
    assertTrue(this.modelset.isOpen());
    Model defaultModel = this.modelset.getDefaultModel();
    assertTrue(defaultModel.isOpen());
    defaultModel.close();
    Model model = this.modelset.getModel(new URIImpl("urn:test:model1"));
    assertTrue("ModelSet returns open models", model.isOpen());
    model.close();
  }
View Full Code Here

TOP

Related Classes of org.ontoware.rdf2go.model.node.impl.URIImpl

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.