org.jrdf.writer.rdfxml
Class RdfXmlDocumentImpl
java.lang.Object
org.jrdf.writer.rdfxml.RdfXmlDocumentImpl
- All Implemented Interfaces:
- RdfXmlDocument
public class RdfXmlDocumentImpl
- extends Object
- implements RdfXmlDocument
Represents an RDF/XML header that includes an XML header and opening RDF
element.
- Author:
- TurnerRX
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RdfXmlDocumentImpl
public RdfXmlDocumentImpl(String encoding,
RdfNamespaceMap names,
javax.xml.stream.XMLStreamWriter xmlStreamWriter)
- Constructor. Specifies the character encoding to be used.
- Parameters:
encoding - charsetnames - the namespace maps (from prefix to full name and back).xmlStreamWriter - the writer to add new elements to.
writeHeader
public void writeHeader()
throws WriteException
- Specified by:
writeHeader in interface RdfXmlDocument
- Throws:
WriteException
writeFooter
public void writeFooter()
throws WriteException
- Specified by:
writeFooter in interface RdfXmlDocument
- Throws:
WriteException