Package com.stardog.stark.query.io
Class QueryResultWriterOptions
java.lang.Object
com.stardog.stark.query.io.QueryResultWriterOptions
Options for controlling the writing of query results
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
Field Summary
FieldsModifier and TypeFieldDescriptionBoolean setting for XML Writer to determine whether the XML PI (Processing Instruction) should be printed.Option to specify thenamespacesthat can be used when writing query resultsOption to specify whether or not SPARQL/XML results should be pretty printed. -
Method Summary
-
Field Details
-
NAMESPACES
Option to specify thenamespacesthat can be used when writing query results -
PRETTY_PRINT
Option to specify whether or not SPARQL/XML results should be pretty printed. Defaults to `false` -
INCLUDE_XML_PI
Boolean setting for XML Writer to determine whether the XML PI (Processing Instruction) should be printed. If this setting is disabled the user must have previously printed the XML PI before callingQueryResultWriter.start()for the document to be valid XML.Defaults to true.
- See Also:
-
-
Method Details
-
defaults
Return the default parsing options- Returns:
- the default options
-