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

java.lang.Object
  extended by com.hp.hpl.jena.sparql.util.Symbol
      extended by com.hp.hpl.jena.sparql.resultset.ResultSetFormat

public class ResultSetFormat
extends Symbol


Field Summary
static ResultSetFormat syntaxCSV
           
static ResultSetFormat syntaxJSON
           
static ResultSetFormat syntaxRDF_N3
           
static ResultSetFormat syntaxRDF_NT
           
static ResultSetFormat syntaxRDF_TURTLE
           
static ResultSetFormat syntaxRDF_XML
           
static ResultSetFormat syntaxSSE
           
static ResultSetFormat syntaxText
           
static ResultSetFormat syntaxTSV
           
static ResultSetFormat syntaxXML
           
 
Method Summary
static ResultSetFormat guessSyntax(java.lang.String url)
           
static ResultSetFormat guessSyntax(java.lang.String url, ResultSetFormat defaultFormat)
           
 boolean isRDFGraphSyntax()
           
static boolean isRDFGraphSyntax(ResultSetFormat fmt)
           
static ResultSetFormat lookup(java.lang.String s)
          Look up a short name for a result set syntax
 
Methods inherited from class com.hp.hpl.jena.sparql.util.Symbol
create, create, equals, getSymbol, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

syntaxXML

public static final ResultSetFormat syntaxXML

syntaxRDF_XML

public static final ResultSetFormat syntaxRDF_XML

syntaxRDF_N3

public static final ResultSetFormat syntaxRDF_N3

syntaxRDF_TURTLE

public static final ResultSetFormat syntaxRDF_TURTLE

syntaxRDF_NT

public static final ResultSetFormat syntaxRDF_NT

syntaxText

public static final ResultSetFormat syntaxText

syntaxJSON

public static final ResultSetFormat syntaxJSON

syntaxSSE

public static final ResultSetFormat syntaxSSE

syntaxCSV

public static final ResultSetFormat syntaxCSV

syntaxTSV

public static final ResultSetFormat syntaxTSV
Method Detail

guessSyntax

public static ResultSetFormat guessSyntax(java.lang.String url)

isRDFGraphSyntax

public boolean isRDFGraphSyntax()

isRDFGraphSyntax

public static boolean isRDFGraphSyntax(ResultSetFormat fmt)

guessSyntax

public static ResultSetFormat guessSyntax(java.lang.String url,
                                          ResultSetFormat defaultFormat)

lookup

public static ResultSetFormat lookup(java.lang.String s)
Look up a short name for a result set syntax

Parameters:
s - Short name
Returns:
ResultSetFormat


Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.