Java Doc for Seq.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.Seq

All known Subclasses:   com.hp.hpl.jena.rdf.model.impl.SeqImpl,
Seq
public interface Seq extends Container(Code)
RDF Sequence container.

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

When a member is deleted from a sequence using this interface, or an iterator returned through this interface, all the other members with higher ordinals are renumbered to one below what they previously were.

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.13 $' Date='$Date: 2008/01/02 12:05:48 $'




Method Summary
public  Seqadd(int index, RDFNode o)
     Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added..
public  Seqadd(int index, boolean o)
     Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added..
public  Seqadd(int index, long o)
     Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added..
public  Seqadd(int index, char o)
     Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added..
public  Seqadd(int index, float o)
     Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added..
public  Seqadd(int index, double o)
     Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added..
public  Seqadd(int index, String o)
     Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added..
public  Seqadd(int index, String o, String l)
     Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added.
Parameters:
  l - the langauge of the value added.
public  Seqadd(int index, Object o)
     Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added..
public  AltgetAlt(int index)
     Get the member at a given index.
Parameters:
  index - The index of the required member..
public  BaggetBag(int index)
     Get the member at a given index.
Parameters:
  index - The index of the required member..
public  booleangetBoolean(int index)
     Get the member at a given index.
Parameters:
  index - The index of the required member..
public  bytegetByte(int index)
     Get the member at a given index.
Parameters:
  index - The index of the required member..
public  chargetChar(int index)
     Get the member at a given index.
Parameters:
  index - The index of the required member..
public  doublegetDouble(int index)
     Get the member at a given index.
Parameters:
  index - The index of the required member..
public  floatgetFloat(int index)
     Get the member at a given index.
Parameters:
  index - The index of the required member..
public  intgetInt(int index)
     Get the member at a given index.
Parameters:
  index - The index of the required member..
public  StringgetLanguage(int index)
     Get the language of the member at a given index.
Parameters:
  index - The index of the required member..
public  LiteralgetLiteral(int index)
     Get the member at a given index.
Parameters:
  index - The index of the required member..
public  longgetLong(int index)
     Get the member at a given index.
Parameters:
  index - The index of the required member..
public  ObjectgetObject(int index, ObjectF f)
     Get the member at a given index.
public  RDFNodegetObject(int index)
     Get the member at a given index.
Parameters:
  index - The index of the required member..
public  ResourcegetResource(int index, ResourceF f)
     Get the member at a given index.
public  ResourcegetResource(int index)
     Get the member at a given index.
Parameters:
  index - The index of the required member..
public  SeqgetSeq(int index)
     Get the member at a given index.
Parameters:
  index - The index of the required member..
public  shortgetShort(int index)
     Get the member at a given index.
Parameters:
  index - The index of the required member..
public  StringgetString(int index)
     Get the member at a given index.
Parameters:
  index - The index of the required member..
public  intindexOf(RDFNode o)
     Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought..
public  intindexOf(boolean o)
     Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought..
public  intindexOf(long o)
     Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought..
public  intindexOf(char o)
     Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought..
public  intindexOf(float o)
     Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought..
public  intindexOf(double o)
     Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought..
public  intindexOf(String o)
     Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought..
public  intindexOf(String o, String l)
     Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought.
Parameters:
  l - the language of the member sought.
public  intindexOf(Object o)
     Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought..
public  Seqremove(int index)
     Remove the member at the specified index.

All other members with a higher index will have their index reduced by one.


Parameters:
  index - The index of the member to be removed..
public  Seqset(int index, RDFNode o)
     Set the value at a given index in the sequence.
public  Seqset(int index, boolean o)
     Set the value at a given index in the sequence.
public  Seqset(int index, long o)
     Set the value at a given index in the sequence.
public  Seqset(int index, char o)
     Set the value at a given index in the sequence.
public  Seqset(int index, float o)
     Set the value at a given index in the sequence.
public  Seqset(int index, double o)
     Set the value at a given index in the sequence.
public  Seqset(int index, String o)
     Set the value at a given index in the sequence.
public  Seqset(int index, String o, String l)
     Set the value at a given index in the sequence.
public  Seqset(int index, Object o)
     Set the value at a given index in the sequence.



Method Detail
add
public Seq add(int index, RDFNode o)(Code)
Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added.. this object to enable cascading of method calls.



add
public Seq add(int index, boolean o)(Code)
Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added.. this object to enable cascading of method calls.



add
public Seq add(int index, long o)(Code)
Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added.. this object to enable cascading of method calls.



add
public Seq add(int index, char o)(Code)
Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added.. this object to enable cascading of method calls.



add
public Seq add(int index, float o)(Code)
Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added.. this object to enable cascading of method calls.



add
public Seq add(int index, double o)(Code)
Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added.. this object to enable cascading of method calls.



add
public Seq add(int index, String o)(Code)
Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added.. this object to enable cascading of method calls.



add
public Seq add(int index, String o, String l)(Code)
Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added.
Parameters:
  l - the langauge of the value added. this object to enable cascading of method calls.



add
public Seq add(int index, Object o)(Code)
Insert a new member into the sequence at the specified position.

The existing member at that position, and all others with higher indexes, have their index increased by one.


Parameters:
  index - The index of the new member,
Parameters:
  o - The member to be added.. this object to enable cascading of method calls.



getAlt
public Alt getAlt(int index)(Code)
Get the member at a given index.
Parameters:
  index - The index of the required member.. The member at the given index.



getBag
public Bag getBag(int index)(Code)
Get the member at a given index.
Parameters:
  index - The index of the required member.. The member at the given index.



getBoolean
public boolean getBoolean(int index)(Code)
Get the member at a given index.
Parameters:
  index - The index of the required member.. The member at the given index.



getByte
public byte getByte(int index)(Code)
Get the member at a given index.
Parameters:
  index - The index of the required member.. The member at the given index.



getChar
public char getChar(int index)(Code)
Get the member at a given index.
Parameters:
  index - The index of the required member.. The member at the given index.



getDouble
public double getDouble(int index)(Code)
Get the member at a given index.
Parameters:
  index - The index of the required member.. The member at the given index.



getFloat
public float getFloat(int index)(Code)
Get the member at a given index.
Parameters:
  index - The index of the required member.. The member at the given index.



getInt
public int getInt(int index)(Code)
Get the member at a given index.
Parameters:
  index - The index of the required member.. The member at the given index.



getLanguage
public String getLanguage(int index)(Code)
Get the language of the member at a given index.
Parameters:
  index - The index of the required member.. The member at the given index.



getLiteral
public Literal getLiteral(int index)(Code)
Get the member at a given index.
Parameters:
  index - The index of the required member.. The member at the given index.



getLong
public long getLong(int index)(Code)
Get the member at a given index.
Parameters:
  index - The index of the required member.. The member at the given index.



getObject
public Object getObject(int index, ObjectF f)(Code)
Get the member at a given index.

The supplied factory object is used to created the object return.

The member at the given index.
Parameters:
  index - The index of the required member.
Parameters:
  f - A factory object used to create the returned object..



getObject
public RDFNode getObject(int index)(Code)
Get the member at a given index.
Parameters:
  index - The index of the required member.. The member at the given index.



getResource
public Resource getResource(int index, ResourceF f)(Code)
Get the member at a given index.

The supplied factory object is used to create the returned object.

The member at the given index.
Parameters:
  index - The index of the required member.
Parameters:
  f - The factory object used to create the returned object..



getResource
public Resource getResource(int index)(Code)
Get the member at a given index.
Parameters:
  index - The index of the required member.. The member at the given index.



getSeq
public Seq getSeq(int index)(Code)
Get the member at a given index.
Parameters:
  index - The index of the required member.. The member at the given index.



getShort
public short getShort(int index)(Code)
Get the member at a given index.
Parameters:
  index - The index of the required member.. The member at the given index.



getString
public String getString(int index)(Code)
Get the member at a given index.
Parameters:
  index - The index of the required member.. The member at the given index.



indexOf
public int indexOf(RDFNode o)(Code)
Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought.. an index of the member in this sequence or 0 if themember is not found in this sequence.



indexOf
public int indexOf(boolean o)(Code)
Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought.. an index of the member in this sequence or 0 if themember is not found in this sequence.



indexOf
public int indexOf(long o)(Code)
Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought.. an index of the member in this sequence or 0 if themember is not found in this sequence.



indexOf
public int indexOf(char o)(Code)
Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought.. an index of the member in this sequence or 0 if themember is not found in this sequence.



indexOf
public int indexOf(float o)(Code)
Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought.. an index of the member in this sequence or 0 if themember is not found in this sequence.



indexOf
public int indexOf(double o)(Code)
Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought.. an index of the member in this sequence or 0 if themember is not found in this sequence.



indexOf
public int indexOf(String o)(Code)
Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought.. an index of the member in this sequence or 0 if themember is not found in this sequence.



indexOf
public int indexOf(String o, String l)(Code)
Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought.
Parameters:
  l - the language of the member sought. an index of the member in this sequence or 0 if themember is not found in this sequence.



indexOf
public int indexOf(Object o)(Code)
Return the index of a given member of the sequence.

If more the the same value appears more than once in the sequence, it is undefined which of the indexes will be returned.

If the member is not found in this sequence, a value of 0 is returned.


Parameters:
  o - The member sought.. an index of the member in this sequence or 0 if themember is not found in this sequence.



remove
public Seq remove(int index)(Code)
Remove the member at the specified index.

All other members with a higher index will have their index reduced by one.


Parameters:
  index - The index of the member to be removed.. this object to enable cascading of method calls.



set
public Seq set(int index, RDFNode o)(Code)
Set the value at a given index in the sequence.

If the index is not in the range 1 to the size of the sequence, then an exception is raised.


Parameters:
  index - The index whose member is to be set.
Parameters:
  o - The value to be set.
throws:
  SeqIndexBoundsException - this object to enable cascading method calls.



set
public Seq set(int index, boolean o)(Code)
Set the value at a given index in the sequence.

If the index is not in the range 1 to the size of the sequence, then a Jena exception is raised.


Parameters:
  index - The index whose member is to be set.
Parameters:
  o - The value to be set.
throws:
  SeqIndexBoundsException - this object to enable cascading method calls.



set
public Seq set(int index, long o)(Code)
Set the value at a given index in the sequence.

If the index is not in the range 1 to the size of the sequence, then a Jena exception is raised.


Parameters:
  index - The index whose member is to be set.
Parameters:
  o - The value to be set.
throws:
  SeqIndexBoundsException - this object to enable cascading method calls.



set
public Seq set(int index, char o)(Code)
Set the value at a given index in the sequence.

If the index is not in the range 1 to the size of the sequence, then a Jena exception is raised.


Parameters:
  index - The index whose member is to be set.
Parameters:
  o - The value to be set.
throws:
  SeqIndexBoundsException - this object to enable cascading method calls.



set
public Seq set(int index, float o)(Code)
Set the value at a given index in the sequence.

If the index is not in the range 1 to the size of the sequence, then a Jena exception is raised.


Parameters:
  index - The index whose member is to be set.
Parameters:
  o - The value to be set.
throws:
  SeqIndexBoundsException - this object to enable cascading method calls.



set
public Seq set(int index, double o)(Code)
Set the value at a given index in the sequence.

If the index is not in the range 1 to the size of the sequence, then a Jena exception is raised.


Parameters:
  index - The index whose member is to be set.
Parameters:
  o - The value to be set.
throws:
  SeqIndexBoundsException - this object to enable cascading method calls.



set
public Seq set(int index, String o)(Code)
Set the value at a given index in the sequence.

If the index is not in the range 1 to the size of the sequence, then a Jena exception is raised.


Parameters:
  index - The index whose member is to be set.
Parameters:
  o - The value to be set.
throws:
  SeqIndexBoundsException - this object to enable cascading method calls.



set
public Seq set(int index, String o, String l)(Code)
Set the value at a given index in the sequence.

If the index is not in the range 1 to the size of the sequence, then a Jena exception is raised.


Parameters:
  index - The index whose member is to be set.
Parameters:
  o - The value to be set.
Parameters:
  l - The language of the value set.
throws:
  SeqIndexBoundsException - this object to enable cascading method calls.



set
public Seq set(int index, Object o)(Code)
Set the value at a given index in the sequence.

If the index is not in the range 1 to the size of the sequence, then a Jena exception is raised.


Parameters:
  index - The index whose member is to be set.
Parameters:
  o - The value to be set.
throws:
  SeqIndexBoundsException - this object to enable cascading method 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.