Uses of Interface
com.hp.hpl.jena.rdf.model.Literal

Packages that use Literal
com.hp.hpl.jena.ontology Provides a set of abstractions and convenience classes for accessing and manipluating ontologies represented in RDF. 
com.hp.hpl.jena.ontology.daml A re-implementation of the Jena 1.X DAML+OIL API, to assist Jena 1 users to move to Jena2. 
com.hp.hpl.jena.rdf.arp A parser for RDF/XML
com.hp.hpl.jena.rdf.model A package for creating and manipulating RDF graphs. 
com.hp.hpl.jena.rdql RDQL - A query language for Jena. 
 

Uses of Literal in com.hp.hpl.jena.ontology
 

Methods in com.hp.hpl.jena.ontology with parameters of type Literal
 void OntResource.addComment(Literal comment)
          Add the given comment to this resource.
 void OntResource.addLabel(Literal label)
          Add the given label to this resource.
 void DataRange.addOneOf(Literal lit)
          Add a literal to the enumeration that defines the permissible values of this class.
 boolean OntResource.hasComment(Literal comment)
          Answer true if this resource has the given comment.
 boolean OntResource.hasLabel(Literal label)
          Answer true if this resource has the given label
 boolean DataRange.hasOneOf(Literal lit)
          Answer true if the given literal is one of the enumerated literals that are the permissible values of this datarange.
 void OntResource.removeComment(Literal comment)
          Remove the statement that the given string is a comment on this resource.
 void OntResource.removeLabel(Literal label)
          Remove the statement that the given string is a label for this resource.
 void DataRange.removeOneOf(Literal lit)
          Remove the statement that this enumeration includes lit among its members.
 

Uses of Literal in com.hp.hpl.jena.ontology.daml
 

Methods in com.hp.hpl.jena.ontology.daml that return Literal
 Literal LiteralAccessor.getValue()
          Answer the value of the encapsulated property.
 

Uses of Literal in com.hp.hpl.jena.rdf.arp
 

Methods in com.hp.hpl.jena.rdf.arp that return Literal
static Literal JenaReader.translate(ALiteral lit)
          Deprecated. Should never have been public.
 

Uses of Literal in com.hp.hpl.jena.rdf.model
 

Methods in com.hp.hpl.jena.rdf.model that return Literal
 Literal ModelCon.createLiteral(boolean v)
          create a literal from a boolean value.
 Literal ModelCon.createLiteral(char v)
          create a literal from a char value.
 Literal ModelCon.createLiteral(double v)
          create a literal from a double value.
 Literal ModelCon.createLiteral(float v)
          create a literal from a float value.
 Literal ModelCon.createLiteral(long v)
          create a literal from an integer value.
 Literal ModelCon.createLiteral(java.lang.Object v)
          create a literal from an Object.
 Literal ModelCon.createLiteral(java.lang.String v)
          create a literal from a String value.
 Literal Model.createLiteral(java.lang.String v, boolean wellFormed)
          Create a literal from a String value.
 Literal Model.createLiteral(java.lang.String v, java.lang.String language)
          Create an untyped literal from a String value with a specified language.
 Literal Model.createLiteral(java.lang.String v, java.lang.String language, boolean wellFormed)
          Deprecated. since Jena2. It is no longer legal to have a language tag on a well-formed XMLLiteral. Use the 2-argument form of createLiteral instead. Create a literal from a String value with a specified language. An existing literal of the right value may be returned, or a fresh one created.
static Literal ResourceFactory.createPlainLiteral(java.lang.String string)
           
 Literal ResourceFactory.Interface.createPlainLiteral(java.lang.String string)
          Answer a plain (untyped) literal with no language and the given content.
 Literal ModelCon.createTypedLiteral(boolean v)
          create a type literal from a boolean value.
 Literal ModelCon.createTypedLiteral(java.util.Calendar d)
          Create a typed literal of type xsd:dateTime from a Calendar object.
 Literal ModelCon.createTypedLiteral(char v)
          create a typed literal from a char value.
 Literal ModelCon.createTypedLiteral(double v)
          create a typed literal from a double value.
 Literal ModelCon.createTypedLiteral(float v)
          create a typed literal from a float value.
 Literal ModelCon.createTypedLiteral(int v)
          create a typed literal from an integer value.
 Literal ModelCon.createTypedLiteral(long v)
          create a typed literal from an integer value.
 Literal ModelCon.createTypedLiteral(java.lang.Object v)
          create a literal from an Object.
 Literal Model.createTypedLiteral(java.lang.Object value)
          Build a typed literal label from its value form using whatever datatype is currently registered as the the default representation for this java class.
 Literal Model.createTypedLiteral(java.lang.Object value, RDFDatatype dtype)
          Build a typed literal from its value form.
 Literal ModelCon.createTypedLiteral(java.lang.Object value, java.lang.String typeURI)
          Build a typed literal from its value form.
 Literal ModelCon.createTypedLiteral(java.lang.String v)
          create a typed literal from a String value.
 Literal Model.createTypedLiteral(java.lang.String lex, RDFDatatype dtype)
          Build a typed literal from its lexical form.
 Literal ModelCon.createTypedLiteral(java.lang.String lex, java.lang.String typeURI)
          Build a typed literal from its lexical form.
 Literal Alt.getDefaultLiteral()
          Return the default value for this resource.
 Literal Statement.getLiteral()
          Return the object of the statement.
 Literal Seq.getLiteral(int index)
          Get the member at a given index.
 

Methods in com.hp.hpl.jena.rdf.model with parameters of type Literal
 boolean Literal.sameValueAs(Literal other)
          Test that two literals are semantically equivalent.
 java.lang.Object RDFVisitor.visitLiteral(Literal l)
          Method to call when visiting a literal RDF node l.
 

Uses of Literal in com.hp.hpl.jena.rdql
 

Methods in com.hp.hpl.jena.rdql with parameters of type Literal
static java.lang.String QueryPrintUtils.stringForLiteral(Literal literal)
           
 



Copyright © 2000, 2001, 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP