com.hp.hpl.jena.sparql.resultset
Class XMLOutput

java.lang.Object
  extended by com.hp.hpl.jena.sparql.resultset.OutputBase
      extended by com.hp.hpl.jena.sparql.resultset.XMLOutput
All Implemented Interfaces:
OutputFormatter

public class XMLOutput
extends OutputBase


Constructor Summary
XMLOutput()
           
XMLOutput(boolean includeXMLinst)
           
XMLOutput(boolean includeXMLinst, String stylesheetURL)
           
XMLOutput(String stylesheetURL)
           
 
Method Summary
 void format(OutputStream out, boolean booleanResult)
          Format a boolean result - output on the given stream
 void format(OutputStream out, ResultSet resultSet)
          Format a result set - output on the given stream
 boolean getIncludeXMLinst()
           
 String getStylesheetURL()
           
 void setIncludeXMLinst(boolean includeXMLinst)
           
 void setStylesheetURL(String stylesheetURL)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.resultset.OutputBase
asString, asString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLOutput

public XMLOutput()

XMLOutput

public XMLOutput(String stylesheetURL)

XMLOutput

public XMLOutput(boolean includeXMLinst)

XMLOutput

public XMLOutput(boolean includeXMLinst,
                 String stylesheetURL)
Method Detail

format

public void format(OutputStream out,
                   ResultSet resultSet)
Description copied from interface: OutputFormatter
Format a result set - output on the given stream


getIncludeXMLinst

public boolean getIncludeXMLinst()
Returns:
Returns the includeXMLinst.

setIncludeXMLinst

public void setIncludeXMLinst(boolean includeXMLinst)
Parameters:
includeXMLinst - The includeXMLinst to set.

getStylesheetURL

public String getStylesheetURL()
Returns:
Returns the stylesheetURL.

setStylesheetURL

public void setStylesheetURL(String stylesheetURL)
Parameters:
stylesheetURL - The stylesheetURL to set.

format

public void format(OutputStream out,
                   boolean booleanResult)
Description copied from interface: OutputFormatter
Format a boolean result - output on the given stream



Licenced under the Apache License, Version 2.0