Package org.jrdf.writer.rdfxml

Examples of org.jrdf.writer.rdfxml.MemRdfXmlWriter


        return readWriteGraph.findUnsorted(subject, predicate, object);
    }

    @Override
    public String toString() {
        RdfWriter writer = new MemRdfXmlWriter();
        StringWriter sw = new StringWriter();
        try {
            writer.write(this, sw);
        } catch (Exception e) {
            throw new RuntimeException("Unable to get String representation of graph", e);
        }
        return sw.toString();
    }
View Full Code Here

TOP

Related Classes of org.jrdf.writer.rdfxml.MemRdfXmlWriter

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.