Package com.stardog.stark.query.io
Class QueryResultWriterOptions
- java.lang.Object
-
- com.stardog.stark.query.io.QueryResultWriterOptions
-
public final class QueryResultWriterOptions extends java.lang.ObjectOptions for controlling the
writingofquery results- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
-
Field Summary
Fields Modifier and Type Field Description static Option<java.lang.Boolean>INCLUDE_XML_PIBoolean setting for XML Writer to determine whether the XML PI (Processing Instruction) should be printed.static Option<java.lang.Iterable<Namespace>>NAMESPACESOption to specify thenamespacesthat can be used when writing query resultsstatic Option<java.lang.Boolean>PRETTY_PRINTOption to specify whether or not SPARQL/XML results should be pretty printed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optionsdefaults()Return the default parsing options
-
-
-
Field Detail
-
NAMESPACES
public static final Option<java.lang.Iterable<Namespace>> NAMESPACES
Option to specify thenamespacesthat can be used when writing query results
-
PRETTY_PRINT
public static final Option<java.lang.Boolean> PRETTY_PRINT
Option to specify whether or not SPARQL/XML results should be pretty printed. Defaults to `false`
-
INCLUDE_XML_PI
public static final Option<java.lang.Boolean> 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:
- RDF/XML specification
-
-
Method Detail
-
defaults
public static Options defaults()
Return the default parsing options- Returns:
- the default options
-
-