org.jrdf.writer.rdfxml
Class ResourceHeader

java.lang.Object
  extended by 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

Constructor Summary
ResourceHeader(SubjectNode subject, BlankNodeRegistry registry)
           
 
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
 

Constructor Detail

ResourceHeader

public ResourceHeader(SubjectNode subject,
                      BlankNodeRegistry registry)
Method Detail

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.