Java Doc for ValueFactory.java in  » RSS-RDF » sesame » org » openrdf » model » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » RSS RDF » sesame » org.openrdf.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.openrdf.model.ValueFactory

All known Subclasses:   org.openrdf.model.impl.ValueFactoryBase,
ValueFactory
public interface ValueFactory (Code)
A factory for creating URIs, blank nodes, literals and statements.
author:
   Arjohn Kampman




Method Summary
public  BNodecreateBNode()
     Creates a new bNode.
public  BNodecreateBNode(String nodeID)
     Creates a new blank node with the given node identifier.
Parameters:
  nodeID - The blank node identifier.
public  LiteralcreateLiteral(String label)
     Creates a new literal with the supplied label.
public  LiteralcreateLiteral(String label, String language)
     Creates a new literal with the supplied label and language attribute.
public  LiteralcreateLiteral(String label, URI datatype)
     Creates a new literal with the supplied label and datatype.
public  LiteralcreateLiteral(boolean value)
     Creates a new xsd:boolean-typed literal representing the specified value.
Parameters:
  value - The value for the literal.
public  LiteralcreateLiteral(byte value)
     Creates a new xsd:byte-typed literal representing the specified value.
Parameters:
  value - The value for the literal.
public  LiteralcreateLiteral(short value)
     Creates a new xsd:short-typed literal representing the specified value.
Parameters:
  value - The value for the literal.
public  LiteralcreateLiteral(int value)
     Creates a new xsd:int-typed literal representing the specified value.
Parameters:
  value - The value for the literal.
public  LiteralcreateLiteral(long value)
     Creates a new xsd:long-typed literal representing the specified value.
Parameters:
  value - The value for the literal.
public  LiteralcreateLiteral(float value)
     Creates a new xsd:float-typed literal representing the specified value.
Parameters:
  value - The value for the literal.
public  LiteralcreateLiteral(double value)
     Creates a new xsd:double-typed literal representing the specified value.
Parameters:
  value - The value for the literal.
public  LiteralcreateLiteral(XMLGregorianCalendar calendar)
     Creates a new literal representing the specified calendar that is typed using the appropriate XML Schema date/time datatype.
Parameters:
  calendar - The value for the literal.
public  StatementcreateStatement(Resource subject, URI predicate, Value object)
     Creates a new statement with the supplied subject, predicate and object.
Parameters:
  subject - The statement's subject.
Parameters:
  predicate - The statement's predicate.
Parameters:
  object - The statement's object.
public  StatementcreateStatement(Resource subject, URI predicate, Value object, Resource context)
     Creates a new statement with the supplied subject, predicate and object and associated context.
Parameters:
  subject - The statement's subject.
Parameters:
  predicate - The statement's predicate.
Parameters:
  object - The statement's object.
Parameters:
  context - The statement's context.
public  URIcreateURI(String uri)
     Creates a new URI from the supplied string-representation.
Parameters:
  uri - A string-representation of a URI.
public  URIcreateURI(String namespace, String localName)
     Creates a new URI from the supplied namespace and local name.



Method Detail
createBNode
public BNode createBNode()(Code)
Creates a new bNode. An object representing the bNode.



createBNode
public BNode createBNode(String nodeID)(Code)
Creates a new blank node with the given node identifier.
Parameters:
  nodeID - The blank node identifier. An object representing the blank node.



createLiteral
public Literal createLiteral(String label)(Code)
Creates a new literal with the supplied label.
Parameters:
  label - The literal's label.



createLiteral
public Literal createLiteral(String label, String language)(Code)
Creates a new literal with the supplied label and language attribute.
Parameters:
  label - The literal's label.
Parameters:
  language - The literal's language attribute, or null if the literaldoesn't have a language.



createLiteral
public Literal createLiteral(String label, URI datatype)(Code)
Creates a new literal with the supplied label and datatype.
Parameters:
  label - The literal's label.
Parameters:
  datatype - The literal's datatype, or null if the literal doesn'thave a datatype.



createLiteral
public Literal createLiteral(boolean value)(Code)
Creates a new xsd:boolean-typed literal representing the specified value.
Parameters:
  value - The value for the literal. An xsd:boolean-typed literal for the specified value.



createLiteral
public Literal createLiteral(byte value)(Code)
Creates a new xsd:byte-typed literal representing the specified value.
Parameters:
  value - The value for the literal. An xsd:byte-typed literal for the specified value.



createLiteral
public Literal createLiteral(short value)(Code)
Creates a new xsd:short-typed literal representing the specified value.
Parameters:
  value - The value for the literal. An xsd:short-typed literal for the specified value.



createLiteral
public Literal createLiteral(int value)(Code)
Creates a new xsd:int-typed literal representing the specified value.
Parameters:
  value - The value for the literal. An xsd:int-typed literal for the specified value.



createLiteral
public Literal createLiteral(long value)(Code)
Creates a new xsd:long-typed literal representing the specified value.
Parameters:
  value - The value for the literal. An xsd:long-typed literal for the specified value.



createLiteral
public Literal createLiteral(float value)(Code)
Creates a new xsd:float-typed literal representing the specified value.
Parameters:
  value - The value for the literal. An xsd:float-typed literal for the specified value.



createLiteral
public Literal createLiteral(double value)(Code)
Creates a new xsd:double-typed literal representing the specified value.
Parameters:
  value - The value for the literal. An xsd:double-typed literal for the specified value.



createLiteral
public Literal createLiteral(XMLGregorianCalendar calendar)(Code)
Creates a new literal representing the specified calendar that is typed using the appropriate XML Schema date/time datatype.
Parameters:
  calendar - The value for the literal. An typed literal for the specified calendar.



createStatement
public Statement createStatement(Resource subject, URI predicate, Value object)(Code)
Creates a new statement with the supplied subject, predicate and object.
Parameters:
  subject - The statement's subject.
Parameters:
  predicate - The statement's predicate.
Parameters:
  object - The statement's object. The created statement.



createStatement
public Statement createStatement(Resource subject, URI predicate, Value object, Resource context)(Code)
Creates a new statement with the supplied subject, predicate and object and associated context.
Parameters:
  subject - The statement's subject.
Parameters:
  predicate - The statement's predicate.
Parameters:
  object - The statement's object.
Parameters:
  context - The statement's context. The created statement.



createURI
public URI createURI(String uri)(Code)
Creates a new URI from the supplied string-representation.
Parameters:
  uri - A string-representation of a URI. An object representing the URI.
throws:
  IlllegalArgumentException - If the supplied string does not resolve to a legal (absolute) URI.



createURI
public URI createURI(String namespace, String localName)(Code)
Creates a new URI from the supplied namespace and local name. Calling this method is funtionally equivalent to calling ValueFactory.createURI(String) createURI(namespace+localName) , but allows the ValueFactory to reuse supplied namespace and local name strings whenever possible. Note that the values returned by URI.getNamespace and URI.getLocalName are not necessarily the same as the values that are supplied to this method.
Parameters:
  namespace - The URI's namespace.
Parameters:
  localName - The URI's local name.
throws:
  IllegalArgumentException - If the supplied namespace and localname do not resolve to a legal(absolute) URI.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.