Java Doc for MemValueFactory.java in  » RSS-RDF » sesame » org » openrdf » sail » memory » 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.sail.memory.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.openrdf.model.impl.ValueFactoryBase
      org.openrdf.sail.memory.model.MemValueFactory

MemValueFactory
public class MemValueFactory extends ValueFactoryBase (Code)
A factory for MemValue objects that keeps track of created objects to prevent the creation of duplicate objects, minimizing memory usage as a result.
author:
   Arjohn Kampman
author:
   David Huynh




Method Summary
public  BNodecreateBNode(String nodeID)
    
protected  LiteralcreateFPLiteral(Number n, URI datatype)
    
protected  LiteralcreateIntegerLiteral(Number n, URI datatype)
    
public  LiteralcreateLiteral(String value)
    
public  LiteralcreateLiteral(String value, String language)
    
public  LiteralcreateLiteral(String value, URI datatype)
    
public  LiteralcreateLiteral(boolean value)
    
public  LiteralcreateLiteral(XMLGregorianCalendar calendar)
    
public  MemBNodecreateMemBNode(BNode bnode)
     See createMemValue() for description.
public  MemLiteralcreateMemLiteral(Literal literal)
     See createMemValue() for description.
public  MemResourcecreateMemResource(Resource resource)
     See createMemValue() for description.
public  MemURIcreateMemURI(URI uri)
     See createMemValue() for description.
public  MemValuecreateMemValue(Value value)
     Creates a MemValue for the supplied Value.
public  StatementcreateStatement(Resource subject, URI predicate, Value object)
    
public  StatementcreateStatement(Resource subject, URI predicate, Value object, Resource context)
    
public  URIcreateURI(String uri)
    
public  URIcreateURI(String namespace, String localName)
    
public  MemBNodegetMemBNode(BNode bnode)
     See getMemValue() for description.
public  Set<MemBNode>getMemBNodes()
     Gets all bnodes that are managed by this value factory.
public  MemLiteralgetMemLiteral(Literal literal)
     See getMemValue() for description.
public  Set<MemLiteral>getMemLiterals()
     Gets all literals that are managed by this value factory.
public  MemResourcegetMemResource(Resource resource)
     See getMemValue() for description.
public  MemURIgetMemURI(URI uri)
     See getMemValue() for description.
public  Set<MemURI>getMemURIs()
     Gets all URIs that are managed by this value factory.
public  MemValuegetMemValue(Value value)
     Returns a previously created MemValue that is equal to the supplied value, or null if the supplied value is a new value or is equal to null.
Parameters:
  value - The MemValue equivalent of the supplied value, or null.



Method Detail
createBNode
public BNode createBNode(String nodeID)(Code)



createFPLiteral
protected Literal createFPLiteral(Number n, URI datatype)(Code)



createIntegerLiteral
protected Literal createIntegerLiteral(Number n, URI datatype)(Code)



createLiteral
public Literal createLiteral(String value)(Code)



createLiteral
public Literal createLiteral(String value, String language)(Code)



createLiteral
public Literal createLiteral(String value, URI datatype)(Code)



createLiteral
public Literal createLiteral(boolean value)(Code)



createLiteral
public Literal createLiteral(XMLGregorianCalendar calendar)(Code)



createMemBNode
public MemBNode createMemBNode(BNode bnode)(Code)
See createMemValue() for description.



createMemLiteral
public MemLiteral createMemLiteral(Literal literal)(Code)
See createMemValue() for description.



createMemResource
public MemResource createMemResource(Resource resource)(Code)
See createMemValue() for description.



createMemURI
public MemURI createMemURI(URI uri)(Code)
See createMemValue() for description.



createMemValue
public MemValue createMemValue(Value value)(Code)
Creates a MemValue for the supplied Value. The supplied value should not already have an associated MemValue. The created MemValue is returned.
Parameters:
  value - A Resource or Literal. The created MemValue.



createStatement
public Statement createStatement(Resource subject, URI predicate, Value object)(Code)



createStatement
public Statement createStatement(Resource subject, URI predicate, Value object, Resource context)(Code)



createURI
public URI createURI(String uri)(Code)



createURI
public URI createURI(String namespace, String localName)(Code)



getMemBNode
public MemBNode getMemBNode(BNode bnode)(Code)
See getMemValue() for description.



getMemBNodes
public Set<MemBNode> getMemBNodes()(Code)
Gets all bnodes that are managed by this value factory. An unmodifiable Set of MemBNode objects.



getMemLiteral
public MemLiteral getMemLiteral(Literal literal)(Code)
See getMemValue() for description.



getMemLiterals
public Set<MemLiteral> getMemLiterals()(Code)
Gets all literals that are managed by this value factory. An unmodifiable Set of MemURI objects.



getMemResource
public MemResource getMemResource(Resource resource)(Code)
See getMemValue() for description.



getMemURI
public MemURI getMemURI(URI uri)(Code)
See getMemValue() for description.



getMemURIs
public Set<MemURI> getMemURIs()(Code)
Gets all URIs that are managed by this value factory. An unmodifiable Set of MemURI objects.



getMemValue
public MemValue getMemValue(Value value)(Code)
Returns a previously created MemValue that is equal to the supplied value, or null if the supplied value is a new value or is equal to null.
Parameters:
  value - The MemValue equivalent of the supplied value, or null. A previously created MemValue that is equal to value,or null if no such value exists or if valueis equal to null.



Methods inherited from org.openrdf.model.impl.ValueFactoryBase
public BNode createBNode()(Code)(Java Doc)
protected Literal createFPLiteral(Number value, URI datatype)(Code)(Java Doc)
protected Literal createIntegerLiteral(Number value, URI datatype)(Code)(Java Doc)
public Literal createLiteral(boolean b)(Code)(Java Doc)
public Literal createLiteral(byte value)(Code)(Java Doc)
public Literal createLiteral(short value)(Code)(Java Doc)
public Literal createLiteral(int value)(Code)(Java Doc)
public Literal createLiteral(long value)(Code)(Java Doc)
public Literal createLiteral(float value)(Code)(Java Doc)
public Literal createLiteral(double value)(Code)(Java Doc)
public Literal createLiteral(XMLGregorianCalendar calendar)(Code)(Java Doc)
protected Literal createNumericLiteral(Number number, URI datatype)(Code)(Java Doc)
protected void initBNodeParams()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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