org.jrdf.writer.rdfxml
Class ResourceHeader
java.lang.Object
org.jrdf.writer.rdfxml.ResourceHeader
- All Implemented Interfaces:
- RdfXmlWritable
public class ResourceHeader
- extends Object
- implements RdfXmlWritable
Represents an RDF/XML header for a given resource.
- Author:
- TurnerRX
Method Summary |
void |
write(PrintWriter writer)
Writes contents to the writer in RDF/XML format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceHeader
public ResourceHeader(SubjectNode subject,
BlankNodeRegistry registry)
write
public void write(PrintWriter writer)
throws IOException,
WriteException
- Description copied from interface:
RdfXmlWritable
- Writes contents to the writer in RDF/XML format.
- Specified by:
write
in interface RdfXmlWritable
- Parameters:
writer
- Writer output
- Throws:
IOException
- If an exception occurs while writing output.
WriteException
- If contents could not be written.