Package org.apache.jena.sparql.resultset
Class XMLOutput
- java.lang.Object
-
- org.apache.jena.sparql.resultset.OutputBase
-
- org.apache.jena.sparql.resultset.XMLOutput
-
- All Implemented Interfaces:
OutputFormatter
@Deprecated public class XMLOutput extends OutputBase
Deprecated.This will become an internal class. UseResultSetFormatter.outputAsTSV(boolean)
orResultsWriter.create().lang(ResultSetLang.RS_TSV).write(...)
-
-
Constructor Summary
Constructors Constructor Description XMLOutput()
Deprecated.Do not call directly.XMLOutput(boolean includeXMLinst)
Deprecated.Do not call directly.XMLOutput(boolean includeXMLinst, java.lang.String stylesheetURL)
Deprecated.Do not call directly.XMLOutput(java.lang.String stylesheetURL)
Deprecated.Do not call directly.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
format(java.io.OutputStream out, boolean booleanResult)
Deprecated.Format a boolean result - output on the given streamvoid
format(java.io.OutputStream out, ResultSet resultSet)
Deprecated.Format a result set - output on the given streamboolean
getIncludeXMLinst()
Deprecated.java.lang.String
getStylesheetURL()
Deprecated.void
setIncludeXMLinst(boolean includeXMLinst)
Deprecated.void
setStylesheetURL(java.lang.String stylesheetURL)
Deprecated.static void
setStylesheetURL(Context cxt, java.lang.String stylesheetURL)
Deprecated.Set the XML style sheet processing instruction<?xml-stylesheet...>
.static void
setXMLinstruction(Context cxt, java.lang.Boolean value)
Deprecated.Set whether to include<?xml ...>
.-
Methods inherited from class org.apache.jena.sparql.resultset.OutputBase
asString, asString
-
-
-
-
Constructor Detail
-
XMLOutput
@Deprecated public XMLOutput()
Deprecated.Do not call directly. UseResultsWriter.create().lang(ResultSetLang.RS_XML).write(...)
-
XMLOutput
@Deprecated public XMLOutput(java.lang.String stylesheetURL)
Deprecated.Do not call directly. UseResultsWriter.create().lang(ResultSetLang.RS_XML).write(...)
-
XMLOutput
@Deprecated public XMLOutput(boolean includeXMLinst)
Deprecated.Do not call directly. UseResultsWriter.create().lang(ResultSetLang.RS_XML).write(...)
-
XMLOutput
@Deprecated public XMLOutput(boolean includeXMLinst, java.lang.String stylesheetURL)
Deprecated.Do not call directly. UseResultsWriter.create().lang(ResultSetLang.RS_XML).write(...)
-
-
Method Detail
-
setStylesheetURL
public static void setStylesheetURL(Context cxt, java.lang.String stylesheetURL)
Deprecated.Set the XML style sheet processing instruction<?xml-stylesheet...>
. Set to null to not use a stylesheet.
-
setXMLinstruction
public static void setXMLinstruction(Context cxt, java.lang.Boolean value)
Deprecated.Set whether to include<?xml ...>
. Set to null for "default" behaviour.
-
format
public void format(java.io.OutputStream out, ResultSet resultSet)
Deprecated.Description copied from interface:OutputFormatter
Format a result set - output on the given stream
-
getIncludeXMLinst
public boolean getIncludeXMLinst()
Deprecated.- Returns:
- Returns the includeXMLinst.
-
setIncludeXMLinst
public void setIncludeXMLinst(boolean includeXMLinst)
Deprecated.- Parameters:
includeXMLinst
- The includeXMLinst to set.
-
getStylesheetURL
public java.lang.String getStylesheetURL()
Deprecated.- Returns:
- Returns the stylesheetURL.
-
setStylesheetURL
public void setStylesheetURL(java.lang.String stylesheetURL)
Deprecated.- Parameters:
stylesheetURL
- The stylesheetURL to set.
-
format
public void format(java.io.OutputStream out, boolean booleanResult)
Deprecated.Description copied from interface:OutputFormatter
Format a boolean result - output on the given stream
-
-