public class RDFXMLWriter extends Object
| Modifier and Type | Method and 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 - element nameIOException - if there was a problem writing to the output streampublic void writeParseTypeAttribute()
throws IOException
IOException - if there was a problem writing to the output streampublic void writeParseTypeLiteralAttribute()
throws IOException
IOException - if there was a problem writing to the output streampublic void writeDatatypeAttribute(@Nonnull IRI datatypeIRI) throws IOException
datatypeIRI - datatype IRIIOException - exception writingpublic void writeTextContent(@Nonnull String text) throws IOException
text - textIOException - if there was a problem writing to the output streampublic void writeLangAttribute(@Nonnull String lang) throws IOException
lang - language tagIOException - if there was a problem writing to the output streampublic void writeEndElement()
throws IOException
IOException - if there was a problem writing to the output streampublic void writeAboutAttribute(@Nonnull IRI value) throws IOException
value - valueIOException - if there was a problem writing to the output streampublic void writeNodeIDAttribute(@Nonnull RDFResourceBlankNode node) throws IOException
node - nodeIOException - if there was a problem writing to the output streampublic void writeAttribute(@Nonnull IRI attributeName, @Nonnull IRI value) throws IOException
attributeName - attribute namevalue - valueIOException - if there was a problem writing to the output streampublic void writeOWLObject(OWLObject owlObject)
owlObject - owlObjectpublic void writeResourceAttribute(@Nonnull IRI value) throws IOException
value - valueIOException - if there was a problem writing to the output streampublic void startDocument()
throws IOException
IOException - if there was a problem writing to the output streampublic void endDocument()
throws IOException
IOException - if there was a problem writing to the output streampublic void writeComment(@Nonnull String comment) throws IOException
comment - commentIOException - if there was a problem writing to the output streamCopyright © 2024 The University of Manchester. All rights reserved.