de.fuberlin.wiwiss.ng4j.trix
Class TriXWriter
java.lang.Object
de.fuberlin.wiwiss.ng4j.trix.TriXWriter
- All Implemented Interfaces:
- NamedGraphSetWriter
public class TriXWriter
- extends Object
- implements NamedGraphSetWriter
Serializes a NamedGraphSet
as a TriX file (see
TriX
specification).
- Author:
- Richard Cyganiak (richard@cyganiak.de)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TriXWriter
public TriXWriter()
write
public void write(NamedGraphSet set,
Writer out,
String baseURI)
- Description copied from interface:
NamedGraphSetWriter
- Serializes a NamedGraphSet into a Writer.
- Specified by:
write
in interface NamedGraphSetWriter
- Parameters:
set
- The NamedGraphSet to be serializedout
- The destinationbaseURI
- A base URI, or null if none is known or needed
write
public void write(NamedGraphSet set,
OutputStream out,
String baseURI)
- Description copied from interface:
NamedGraphSetWriter
- Serializes a NamedGraphSet into an OutputStream.
- Specified by:
write
in interface NamedGraphSetWriter
- Parameters:
set
- The NamedGraphSet to be serializedout
- The destinationbaseURI
- A base URI, or null if none is known or needed