com.hp.hpl.jena.sparql.util
Class NodeFactory

java.lang.Object
  extended by com.hp.hpl.jena.sparql.util.NodeFactory

public class NodeFactory
extends Object


Constructor Summary
NodeFactory()
           
 
Method Summary
static com.hp.hpl.jena.graph.Node createLiteralNode(String lex, String lang, String datatypeURI)
           
static com.hp.hpl.jena.graph.Node floatToNode(float value)
           
static com.hp.hpl.jena.graph.Node intToNode(int integer)
           
static com.hp.hpl.jena.graph.Node intToNode(long integer)
           
static int nodeToInt(com.hp.hpl.jena.graph.Node node)
           
static long nodeToLong(com.hp.hpl.jena.graph.Node node)
           
static com.hp.hpl.jena.graph.Node nowAsDateTime()
           
static com.hp.hpl.jena.graph.Node parseNode(String nodeString)
           
static com.hp.hpl.jena.graph.Node todayAsDate()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeFactory

public NodeFactory()
Method Detail

parseNode

public static com.hp.hpl.jena.graph.Node parseNode(String nodeString)

createLiteralNode

public static com.hp.hpl.jena.graph.Node createLiteralNode(String lex,
                                                           String lang,
                                                           String datatypeURI)

nodeToInt

public static int nodeToInt(com.hp.hpl.jena.graph.Node node)

nodeToLong

public static long nodeToLong(com.hp.hpl.jena.graph.Node node)

intToNode

public static com.hp.hpl.jena.graph.Node intToNode(int integer)

intToNode

public static com.hp.hpl.jena.graph.Node intToNode(long integer)

floatToNode

public static com.hp.hpl.jena.graph.Node floatToNode(float value)

nowAsDateTime

public static com.hp.hpl.jena.graph.Node nowAsDateTime()

todayAsDate

public static com.hp.hpl.jena.graph.Node todayAsDate()


Licenced under the Apache License, Version 2.0