Package com.hp.hpl.jena.rdf.model

Examples of com.hp.hpl.jena.rdf.model.RSIterator


    {
      holder.getBaseItem().removeAllReifications(s);
    }
    else
    {
      final RSIterator iter = holder.getBaseItem().listReifiedStatements(
          s);
      try
      {
        while (iter.hasNext())
        {
          final ReifiedStatement rs = iter.next();
          checkDelete(new Triple(rs.asNode(), RDF.subject.asNode(),
              wildCardNode(s.getSubject())));
          checkDelete(new Triple(rs.asNode(), RDF.predicate.asNode(),
              wildCardNode(s.getPredicate())));
          checkDelete(new Triple(rs.asNode(), RDF.object.asNode(),
              wildCardNode(s.getObject())));
        }
        holder.getBaseItem().removeAllReifications(s);
      }
      finally
      {
        iter.close();
      }

    }
  }
View Full Code Here

TOP

Related Classes of com.hp.hpl.jena.rdf.model.RSIterator

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.