Java Doc for Alt.java in  » RSS-RDF » Jena-2.5.5 » com » hp » hpl » jena » rdf » 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 » Jena 2.5.5 » com.hp.hpl.jena.rdf.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.hp.hpl.jena.rdf.model.Alt

All known Subclasses:   com.hp.hpl.jena.rdf.model.impl.AltImpl,
Alt
public interface Alt extends Container(Code)

An RDF Alternative container.

This interface defines methods for accessing RDF Alternative resources. These methods operate on the RDF statements contained in a model. The Alternative implementation may cache state from the underlying model, so objects should not be added to or removed from the Alternative by directly manipulating its properties, whilst the Alternative is being accessed through this interface.

When a member is deleted from an Alternative using this interface, or an iterator returned through this interface, all the other members with higher ordinals are renumbered using an implementation dependendent algorithm.

This interface provides methods supporting typed literals. This means that methods are provided which will translate a built in type, or an object to an RDF Literal. This translation is done by invoking the toString() method of the object, or its built in equivalent. The reverse translation is also supported. This is built in for built in types. Factory objects, provided by the application, are used for application objects.

This interface provides methods for supporting enhanced resources. An enhanced resource is a resource to which the application has added behaviour. RDF containers are examples of enhanced resources built in to this package. Enhanced resources are supported by encapsulating a resource created by an implementation in another class which adds the extra behaviour. Factory objects are used to construct such enhanced resources.


author:
   bwm
version:
   Release='$Name: $' Revision='$Revision: 1.12 $' Date='$Date: 2008/01/02 12:05:46 $'




Method Summary
public  RDFNodegetDefault()
     Return the default value for this resource.
public  AltgetDefaultAlt()
     Return the default value for this resource.
public  BaggetDefaultBag()
     Return the default value for this resource.
public  booleangetDefaultBoolean()
     Return the default value for this resource.
public  bytegetDefaultByte()
     Return the default value for this resource.
public  chargetDefaultChar()
     Return the default value for this resource.
public  doublegetDefaultDouble()
     Return the default value for this resource.
public  floatgetDefaultFloat()
     Return the default value for this resource.
public  intgetDefaultInt()
     Return the default value for this resource.
public  StringgetDefaultLanguage()
     Return the language of the default value for this resource.
public  LiteralgetDefaultLiteral()
     Return the default value for this resource.
public  longgetDefaultLong()
     Return the default value for this resource.
public  ObjectgetDefaultObject(ObjectF f)
     Return the default value for this resource.
public  ResourcegetDefaultResource()
     Return the default value for this resource.
public  ResourcegetDefaultResource(ResourceF f)
     Return the default value for this resource.
public  SeqgetDefaultSeq()
     Return the default value for this resource.
public  shortgetDefaultShort()
     Return the default value for this resource.
public  StringgetDefaultString()
     Return the default value for this resource.
public  Containerremove(Statement s)
     Remove a value from the container.

The predicate of the statement s identifies the ordinal of the value to be removed.

public  AltsetDefault(RDFNode o)
     Set the default value of this container.
Parameters:
  o - The value to be set.
public  AltsetDefault(boolean o)
     Set the default value of this container.
Parameters:
  o - The value to be set.
public  AltsetDefault(long o)
     Set the default value of this container.
Parameters:
  o - The value to be set.
public  AltsetDefault(char o)
     Set the default value of this container.
Parameters:
  o - The value to be set.
public  AltsetDefault(float o)
     Set the default value of this container.
Parameters:
  o - The value to be set.
public  AltsetDefault(double o)
     Set the default value of this container.
Parameters:
  o - The value to be set.
public  AltsetDefault(String o)
     Set the default value of this container.
Parameters:
  o - The value to be set.
public  AltsetDefault(String o, String l)
     Set the default value of this container.
Parameters:
  o - The value to be set.
public  AltsetDefault(Object o)
     Set the default value of this container.
Parameters:
  o - The value to be set.



Method Detail
getDefault
public RDFNode getDefault()(Code)
Return the default value for this resource. the default value for this resource.



getDefaultAlt
public Alt getDefaultAlt()(Code)
Return the default value for this resource. the default value for this resource interpreted as the returntype.



getDefaultBag
public Bag getDefaultBag()(Code)
Return the default value for this resource. the default value for this resource interpreted as the returntype.



getDefaultBoolean
public boolean getDefaultBoolean()(Code)
Return the default value for this resource. the default value for this resource interpreted as the returntype.



getDefaultByte
public byte getDefaultByte()(Code)
Return the default value for this resource. the default value for this resource interpreted as the returntype.



getDefaultChar
public char getDefaultChar()(Code)
Return the default value for this resource. the default value for this resource interpreted as the returntype.



getDefaultDouble
public double getDefaultDouble()(Code)
Return the default value for this resource. the default value for this resource interpreted as the returntype.



getDefaultFloat
public float getDefaultFloat()(Code)
Return the default value for this resource. the default value for this resource interpreted as the returntype.



getDefaultInt
public int getDefaultInt()(Code)
Return the default value for this resource. the default value for this resource interpreted as the returntype.



getDefaultLanguage
public String getDefaultLanguage()(Code)
Return the language of the default value for this resource. the language of the default value for this resource



getDefaultLiteral
public Literal getDefaultLiteral()(Code)
Return the default value for this resource. the default value for this resource interpreted as the returntype.



getDefaultLong
public long getDefaultLong()(Code)
Return the default value for this resource. the default value for this resource interpreted as the returntype.



getDefaultObject
public Object getDefaultObject(ObjectF f)(Code)
Return the default value for this resource.

The object returned is created by calling the createObject method of the factory object f.

the default value for this resource as an object createdby the factory object f.
Parameters:
  f - A factory object used to create the object returned.



getDefaultResource
public Resource getDefaultResource()(Code)
Return the default value for this resource. the default value for this resource interpreted as the returntype.



getDefaultResource
public Resource getDefaultResource(ResourceF f)(Code)
Return the default value for this resource.

The factory class f is used to create the object which is returned.

the default value for this resource interpreted as the returntype.
Parameters:
  f - A factory class which will be used to create theobject returned.



getDefaultSeq
public Seq getDefaultSeq()(Code)
Return the default value for this resource. the default value for this resource interpreted as the returntype.



getDefaultShort
public short getDefaultShort()(Code)
Return the default value for this resource. the default value for this resource interpreted as the returntype.



getDefaultString
public String getDefaultString()(Code)
Return the default value for this resource. the default value for this resource interpreted as the returntype.



remove
public Container remove(Statement s)(Code)
Remove a value from the container.

The predicate of the statement s identifies the ordinal of the value to be removed. Once removed, the values in the container with a higher ordinal value are renumbered. The renumbering algorithm is implementation dependent.


Parameters:
  s - The statement to be removed from the model. this container to enable cascading calls.




setDefault
public Alt setDefault(RDFNode o)(Code)
Set the default value of this container.
Parameters:
  o - The value to be set. This object to permit cascading calls.



setDefault
public Alt setDefault(boolean o)(Code)
Set the default value of this container.
Parameters:
  o - The value to be set. This object to permit cascading calls.



setDefault
public Alt setDefault(long o)(Code)
Set the default value of this container.
Parameters:
  o - The value to be set. This object to permit cascading calls.



setDefault
public Alt setDefault(char o)(Code)
Set the default value of this container.
Parameters:
  o - The value to be set. This object to permit cascading calls.



setDefault
public Alt setDefault(float o)(Code)
Set the default value of this container.
Parameters:
  o - The value to be set. This object to permit cascading calls.



setDefault
public Alt setDefault(double o)(Code)
Set the default value of this container.
Parameters:
  o - The value to be set. This object to permit cascading calls.



setDefault
public Alt setDefault(String o)(Code)
Set the default value of this container.
Parameters:
  o - The value to be set. This object to permit cascading calls.



setDefault
public Alt setDefault(String o, String l)(Code)
Set the default value of this container.
Parameters:
  o - The value to be set. This object to permit cascading calls.



setDefault
public Alt setDefault(Object o)(Code)
Set the default value of this container.
Parameters:
  o - The value to be set. This object to permit cascading calls.



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