|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.query.resultio.sparqlxml.SPARQLBooleanXMLWriter
public class SPARQLBooleanXMLWriter
A BooleanQueryResultWriter that writes boolean query results in the
SPARQL Query Results XML
Format.
| Constructor Summary | |
|---|---|
SPARQLBooleanXMLWriter(OutputStream out)
|
|
SPARQLBooleanXMLWriter(XMLWriter xmlWriter)
|
|
| Method Summary | |
|---|---|
BooleanQueryResultFormat |
getBooleanQueryResultFormat()
Gets the query result format that this writer uses. |
void |
setPrettyPrint(boolean prettyPrint)
Enables/disables addition of indentation characters and newlines in the XML document. |
void |
write(boolean value)
Writes the specified boolean value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SPARQLBooleanXMLWriter(OutputStream out)
public SPARQLBooleanXMLWriter(XMLWriter xmlWriter)
| Method Detail |
|---|
public void setPrettyPrint(boolean prettyPrint)
write(boolean) is called).
public final BooleanQueryResultFormat getBooleanQueryResultFormat()
BooleanQueryResultWriter
getBooleanQueryResultFormat in interface BooleanQueryResultWriter
public void write(boolean value)
throws IOException
BooleanQueryResultWriter
write in interface BooleanQueryResultWriterIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||