public class RDFXMLWriter extends Object
Modifier and Type | Method | Description |
---|---|---|
void |
endDocument() |
|
void |
startDocument() |
|
void |
writeAboutAttribute(IRI value) |
|
void |
writeAttribute(IRI attributeName,
IRI value) |
|
void |
writeComment(String comment) |
|
void |
writeDatatypeAttribute(IRI datatypeIRI) |
|
void |
writeEndElement() |
|
void |
writeLangAttribute(String lang) |
|
void |
writeNodeIDAttribute(RDFResourceBlankNode node) |
|
void |
writeOWLObject(OWLObject owlObject) |
|
void |
writeParseTypeAttribute() |
|
void |
writeParseTypeLiteralAttribute() |
Parse type attribute for literals.
|
void |
writeResourceAttribute(IRI value) |
|
void |
writeStartElement(IRI elementName) |
|
void |
writeTextContent(String text) |
public void writeStartElement(@Nonnull IRI elementName) throws IOException
elementName
- elementNameIOException
- io exceptionpublic void writeParseTypeAttribute() throws IOException
IOException
- io exceptionpublic void writeParseTypeLiteralAttribute() throws IOException
IOException
- io exceptionpublic void writeDatatypeAttribute(@Nonnull IRI datatypeIRI) throws IOException
datatypeIRI
- datatypeIRIIOException
- io exceptionpublic void writeTextContent(@Nonnull String text) throws IOException
text
- textIOException
- io exceptionpublic void writeLangAttribute(@Nonnull String lang) throws IOException
lang
- langIOException
- io exceptionpublic void writeEndElement() throws IOException
IOException
- io exceptionpublic void writeAboutAttribute(@Nonnull IRI value) throws IOException
value
- valueIOException
- io exceptionpublic void writeNodeIDAttribute(@Nonnull RDFResourceBlankNode node) throws IOException
node
- nodeIOException
- io exceptionpublic void writeAttribute(@Nonnull IRI attributeName, @Nonnull IRI value) throws IOException
attributeName
- attribute namevalue
- valueIOException
- io exceptionpublic void writeOWLObject(OWLObject owlObject)
owlObject
- owlObjectpublic void writeResourceAttribute(@Nonnull IRI value) throws IOException
value
- valueIOException
- io exceptionpublic void startDocument() throws IOException
IOException
- io exceptionpublic void endDocument() throws IOException
IOException
- io exceptionpublic void writeComment(@Nonnull String comment) throws IOException
comment
- commentIOException
- io exceptionCopyright © 2018 The University of Manchester. All rights reserved.