|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface defining methods for writing RDF documents.
| Method Summary | |
void |
endDocument()
Ends the document writing. |
void |
setNamespace(String prefix,
String name)
Sets a mapping from a namespace prefix to a namespace name. |
void |
startDocument()
Starts the document writing. |
void |
writeComment(String comment)
Writes a comment to the document. |
void |
writeStatement(Resource subject,
URI predicate,
Value object)
Writes a statement to the document. |
| Method Detail |
public void setNamespace(String prefix,
String name)
throws IOException
IOException
public void startDocument()
throws IOException
IOException
public void endDocument()
throws IOException
IOException
public void writeStatement(Resource subject,
URI predicate,
Value object)
throws IOException
IOException
public void writeComment(String comment)
throws IOException
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||