Package org.librdf.redland

Examples of org.librdf.redland.Node


    return new Iterator(this.world, core.librdf_model_get_targets(this.object, source.__get_object(), arc.__get_object()), this, source, arc);
  }

  public Node getSource(Node arc, Node target)
  {
    return new Node(this.world, core.librdf_model_get_source(this.object, arc.__get_object(), target.__get_object()), true);
  }
View Full Code Here


    return new Node(this.world, core.librdf_model_get_source(this.object, arc.__get_object(), target.__get_object()), true);
  }

  public Node getArc(Node source, Node target)
  {
    return new Node(this.world, core.librdf_model_get_arc(this.object, source.__get_object(), target.__get_object()), true);
  }
View Full Code Here

      return (is_end_int == 0);
    }


  public Object next() {
    Object n=new Node(this.current());
    this.move_to_next();
    return n;
  }
View Full Code Here

    long node_object=core.librdf_iterator_get_object(this.object);
   
    if(node_object == 0)
      throw new java.util.NoSuchElementException();

    return new Node(this.world, node_object);
  }
View Full Code Here

    long node_object=core.librdf_iterator_get_context(this.object);
   
    if(node_object == 0)
      throw new java.util.NoSuchElementException();

    return new Node(this.world, node_object);
  }
View Full Code Here

    return new Node(this.world, core.librdf_model_get_arc(this.object, source.__get_object(), target.__get_object()), true);
  }

  public Node getTarget(Node source, Node arc)
  {
    return new Node(this.world, core.librdf_model_get_target(this.object, source.__get_object(), arc.__get_object()), true);
  }
View Full Code Here

    return new Node(this.world, core.librdf_model_get_target(this.object, source.__get_object(), arc.__get_object()), true);
  }

  public Node getFeature(URI feature)
    {
      return new Node(this.world, core.librdf_parser_get_feature(this.object, feature.__get_object()), true);
    }
View Full Code Here

TOP

Related Classes of org.librdf.redland.Node

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.