Package org.fcrepo.server.resourceIndex

Examples of org.fcrepo.server.resourceIndex.ModelBasedTripleGenerator


                _ri.close();
            } catch (Exception e) {
            }
        }
        TriplestoreConnector connector = getConnector();
        TripleGenerator generator = new ModelBasedTripleGenerator();

        _ri = new ResourceIndexImpl(connector, generator, indexLevel, false);
    }
View Full Code Here


        for (DigitalObject obj : objects) {
            repo.putObject(obj);
        }

        // prepare appropriate MethodInfoStore and TripleGenerator
        TripleGenerator generator = new ModelBasedTripleGenerator();

        Set<Triple> expected = new HashSet<Triple>();

        for (DigitalObject obj : objects) {
            expected.addAll(generator.getTriplesForObject(getDOReader(obj)));
        }

        return expected;

    }
View Full Code Here

TOP

Related Classes of org.fcrepo.server.resourceIndex.ModelBasedTripleGenerator

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.