Package com.stardog.stark.query.io.xml
Class SPARQLXMLSelectResultWriter.SPARQLXMLSelectResultWriterFactory
- java.lang.Object
-
- com.stardog.stark.query.io.xml.SPARQLXMLSelectResultWriter.SPARQLXMLSelectResultWriterFactory
-
- All Implemented Interfaces:
QueryResultWriterFactory
- Enclosing class:
- SPARQLXMLSelectResultWriter
public static final class SPARQLXMLSelectResultWriter.SPARQLXMLSelectResultWriterFactory extends java.lang.Object implements QueryResultWriterFactory
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
-
Constructor Summary
Constructors Constructor Description SPARQLXMLSelectResultWriterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryResultWriter
create(java.io.OutputStream theOutputStream, Options theOptions)
Create thewriter
QueryResultFormat
format()
Theformat
supported by writers created by this factory
-
-
-
Method Detail
-
format
@Nonnull public QueryResultFormat format()
Theformat
supported by writers created by this factory- Specified by:
format
in interfaceQueryResultWriterFactory
- Returns:
- the supported format
-
create
@Nonnull public QueryResultWriter create(@Nonnull java.io.OutputStream theOutputStream, @Nonnull Options theOptions)
Create thewriter
- Specified by:
create
in interfaceQueryResultWriterFactory
- Parameters:
theOutputStream
- the output to write totheOptions
- the options to use when writing- Returns:
- the writer
- See Also:
QueryResultWriterOptions
-
-