Uses of Interface
org.openrdf.model.Literal

Packages that use Literal
org.openrdf.model RDF model interfaces. 
org.openrdf.model.impl Default implementations of the RDF model interfaces. 
org.openrdf.model.util   
org.openrdf.query.algebra.evaluation.function   
org.openrdf.query.algebra.evaluation.util   
org.openrdf.query.dawg Functionality to convert tuple query results to and from the Data Access Working Group Test Result Set RDF Vocabulary 
org.openrdf.rio.helpers Provides helpers classes for Rio. 
org.openrdf.rio.ntriples Parser and writer for RDF in N-Triples format. 
org.openrdf.rio.turtle Parser and writer for RDF in Turtle format. 
org.openrdf.sail.memory.model Classes implementing the storage model of the MemoryStore. 
org.openrdf.sail.nativerdf Native RDF storage backend. 
org.openrdf.sail.nativerdf.model   
 

Uses of Literal in org.openrdf.model
 

Methods in org.openrdf.model that return Literal
 Literal ValueFactory.createLiteral(boolean value)
          Creates a new xsd:boolean-typed literal representing the specified value.
 Literal ValueFactory.createLiteral(byte value)
          Creates a new xsd:byte-typed literal representing the specified value.
 Literal ValueFactory.createLiteral(double value)
          Creates a new xsd:double-typed literal representing the specified value.
 Literal ValueFactory.createLiteral(float value)
          Creates a new xsd:float-typed literal representing the specified value.
 Literal ValueFactory.createLiteral(int value)
          Creates a new xsd:int-typed literal representing the specified value.
 Literal ValueFactory.createLiteral(long value)
          Creates a new xsd:long-typed literal representing the specified value.
 Literal ValueFactory.createLiteral(short value)
          Creates a new xsd:short-typed literal representing the specified value.
 Literal ValueFactory.createLiteral(String label)
          Creates a new literal with the supplied label.
 Literal ValueFactory.createLiteral(String label, String language)
          Creates a new literal with the supplied label and language attribute.
 Literal ValueFactory.createLiteral(String label, URI datatype)
          Creates a new literal with the supplied label and datatype.
 Literal ValueFactory.createLiteral(XMLGregorianCalendar calendar)
          Creates a new literal representing the specified calendar that is typed using the appropriate XML Schema date/time datatype.
 

Uses of Literal in org.openrdf.model.impl
 

Classes in org.openrdf.model.impl that implement Literal
 class BooleanLiteralImpl
          An extension of LiteralImpl that stores a boolean value to avoid parsing.
 class CalendarLiteralImpl
          An extension of LiteralImpl that stores a calendar value to avoid parsing.
 class DecimalLiteralImpl
          An extension of LiteralImpl that stores an integer value using a BigDecimal object.
 class IntegerLiteralImpl
          An extension of LiteralImpl that stores an integer value using a BigInteger object.
 class LiteralImpl
          An implementation of the Literal interface.
 class NumericLiteralImpl
          An extension of LiteralImpl that stores a numeric value to avoid parsing.
 

Methods in org.openrdf.model.impl that return Literal
protected  Literal ValueFactoryBase.createFPLiteral(Number value, URI datatype)
          Calls ValueFactoryBase.createNumericLiteral(Number, URI) with the supplied value and datatype as parameters.
protected  Literal ValueFactoryBase.createIntegerLiteral(Number value, URI datatype)
          Calls ValueFactoryBase.createNumericLiteral(Number, URI) with the supplied value and datatype as parameters.
 Literal ValueFactoryBase.createLiteral(boolean b)
          Calls ValueFactory.createLiteral(String, URI) with the String-value of the supplied value and XMLSchema.BOOLEAN as parameters.
 Literal ValueFactoryBase.createLiteral(byte value)
          Calls #createIntegerLiteral(long, URI) with the supplied value and XMLSchema.BYTE as parameters.
 Literal ValueFactoryBase.createLiteral(double value)
          Calls ValueFactoryBase.createFPLiteral(Number, URI) with the supplied value and XMLSchema.DOUBLE as parameters.
 Literal ValueFactoryBase.createLiteral(float value)
          Calls ValueFactoryBase.createFPLiteral(Number, URI) with the supplied value and XMLSchema.FLOAT as parameters.
 Literal ValueFactoryBase.createLiteral(int value)
          Calls #createIntegerLiteral(long, URI) with the supplied value and XMLSchema.INT as parameters.
 Literal ValueFactoryBase.createLiteral(long value)
          Calls #createIntegerLiteral(long, URI) with the supplied value and XMLSchema.LONG as parameters.
 Literal ValueFactoryBase.createLiteral(short value)
          Calls #createIntegerLiteral(long, URI) with the supplied value and XMLSchema.SHORT as parameters.
 Literal ValueFactoryImpl.createLiteral(String value)
           
 Literal ValueFactoryImpl.createLiteral(String value, String language)
           
 Literal ValueFactoryImpl.createLiteral(String value, URI datatype)
           
 Literal ValueFactoryBase.createLiteral(XMLGregorianCalendar calendar)
          Calls ValueFactory.createLiteral(String, URI) with the String-value of the supplied calendar and the appropriate datatype as parameters.
protected  Literal ValueFactoryBase.createNumericLiteral(Number number, URI datatype)
          Calls ValueFactory.createLiteral(String, URI) with the String-value of the supplied number and the supplied datatype as parameters.
 

Uses of Literal in org.openrdf.model.util
 

Methods in org.openrdf.model.util that return Literal
static Literal GraphUtil.getOptionalObjectLiteral(Graph graph, Resource subj, URI pred)
          Utility method that casts the return value of GraphUtil.getOptionalObject(Graph, Resource, URI, Resource[]) to a Literal, or throws a GraphUtilException if that value is not a Literal.
static Literal GraphUtil.getUniqueObjectLiteral(Graph graph, Resource subj, URI pred)
          Utility method that casts the return value of GraphUtil.getUniqueObject(Graph, Resource, URI, Resource[]) to a Literal, or throws a GraphUtilException if that value is not a Literal.
 

Uses of Literal in org.openrdf.query.algebra.evaluation.function
 

Methods in org.openrdf.query.algebra.evaluation.function that return Literal
 Literal StringCast.evaluate(ValueFactory valueFactory, Value... args)
           
 Literal IntegerCast.evaluate(ValueFactory valueFactory, Value... args)
           
 Literal FloatCast.evaluate(ValueFactory valueFactory, Value... args)
           
 Literal DoubleCast.evaluate(ValueFactory valueFactory, Value... args)
           
 Literal DecimalCast.evaluate(ValueFactory valueFactory, Value... args)
           
 Literal DateTimeCast.evaluate(ValueFactory valueFactory, Value... args)
           
 Literal BooleanCast.evaluate(ValueFactory valueFactory, Value... args)
           
 

Uses of Literal in org.openrdf.query.algebra.evaluation.util
 

Methods in org.openrdf.query.algebra.evaluation.util with parameters of type Literal
static boolean QueryEvaluationUtil.compareLiterals(Literal leftLit, Literal rightLit, Compare.CompareOp operator)
           
static boolean QueryEvaluationUtil.isSimpleLiteral(Literal l)
          Checks whether the supplied literal is a "simple literal" as defined in the SPARQL spec.
static boolean QueryEvaluationUtil.isStringLiteral(Literal l)
          Checks whether the supplied literal is a "string literal".
 

Uses of Literal in org.openrdf.query.dawg
 

Fields in org.openrdf.query.dawg declared as Literal
static Literal DAWGTestResultSetSchema.FALSE
           
static Literal DAWGTestResultSetSchema.TRUE
           
 

Uses of Literal in org.openrdf.rio.helpers
 

Methods in org.openrdf.rio.helpers that return Literal
protected  Literal RDFParserBase.createLiteral(String label, String lang, URI datatype)
          Creates a Literal object with the supplied parameters.
 

Uses of Literal in org.openrdf.rio.ntriples
 

Methods in org.openrdf.rio.ntriples that return Literal
protected  Literal NTriplesParser.createLiteral(String label, String lang, String datatype)
           
static Literal NTriplesUtil.parseLiteral(String nTriplesLiteral, ValueFactory valueFactory)
          Parses an N-Triples literal, creates an object for it using the supplied ValueFactory and returns this object.
 

Methods in org.openrdf.rio.ntriples with parameters of type Literal
static String NTriplesUtil.toNTriplesString(Literal lit)
          Creates an N-Triples string for the supplied literal.
 

Uses of Literal in org.openrdf.rio.turtle
 

Methods in org.openrdf.rio.turtle that return Literal
protected  Literal TurtleParser.parseNumber()
           
protected  Literal TurtleParser.parseQuotedLiteral()
          Parses a quoted string, optionally followed by a language tag or datatype.
 

Methods in org.openrdf.rio.turtle with parameters of type Literal
protected  void TurtleWriter.writeLiteral(Literal lit)
           
 

Uses of Literal in org.openrdf.sail.memory.model
 

Classes in org.openrdf.sail.memory.model that implement Literal
 class BooleanMemLiteral
          An extension of MemLiteral that stores a boolean value to avoid parsing.
 class CalendarMemLiteral
          An extension of MemLiteral that stores a Calendar value to avoid parsing.
 class DecimalMemLiteral
          An extension of MemLiteral that stores a decimal value to avoid parsing.
 class IntegerMemLiteral
          An extension of MemLiteral that stores an integer value to avoid parsing.
 class MemLiteral
          A MemoryStore-specific extension of Literal giving it node properties.
 class NumericMemLiteral
          An extension of MemLiteral that stores a numeric value to avoid parsing.
 

Methods in org.openrdf.sail.memory.model that return Literal
protected  Literal MemValueFactory.createFPLiteral(Number n, URI datatype)
           
protected  Literal MemValueFactory.createIntegerLiteral(Number n, URI datatype)
           
 Literal MemValueFactory.createLiteral(boolean value)
           
 Literal MemValueFactory.createLiteral(String value)
           
 Literal MemValueFactory.createLiteral(String value, String language)
           
 Literal MemValueFactory.createLiteral(String value, URI datatype)
           
 Literal MemValueFactory.createLiteral(XMLGregorianCalendar calendar)
           
 

Methods in org.openrdf.sail.memory.model with parameters of type Literal
 MemLiteral MemValueFactory.createMemLiteral(Literal literal)
          See createMemValue() for description.
 MemLiteral MemValueFactory.getMemLiteral(Literal literal)
          See getMemValue() for description.
 

Uses of Literal in org.openrdf.sail.nativerdf
 

Methods in org.openrdf.sail.nativerdf with parameters of type Literal
 NativeLiteral ValueStore.getNativeLiteral(Literal l)
          Creates an NativeLiteral that is equal to the supplied literal.
 

Uses of Literal in org.openrdf.sail.nativerdf.model
 

Classes in org.openrdf.sail.nativerdf.model that implement Literal
 class NativeLiteral
           
 



Copyright © 2001-2007 Aduna. All Rights Reserved.