-
_getListElement
-
Returns the list element at the $index position.
-
_getMemberIndexNrFromMembershipPropertyLabel
-
Get the ordinal number from a membership property rdf:_n
-
_getMembershipPropertyWithIndex
-
Get a membership property rdf:_n with index $int
-
_getNextResource
-
Returns the next Resource (subject, predicate, or object of the next matching statement).
-
_getResourceAs
-
Returns the $resource as an instance of the type specified in $this->returnType.
-
_getRestElement
-
Get the associated rdf:rest Resource from the suplied ResList element
-
_getValue
-
Get the value associated to the $listResource by the rdf:first property
-
_node2ResNode
-
converts a Resource,Blanknode,Literal into a ResResource, ResProperty, or ResLiteral
-
_predicateLabelMatchesMembershipProperty
-
Checks, if a predicate label fits a container membership property rdf:_n
-
_resNode2Node
-
converts a ResResource, ResProperty, or ResLiteral into a Resource, Blanknode, or Literal
-
$containerType
-
Holds a ResResource of this container type rdf:Seq, rdf:Alt, or rdf:Bag
-
$currentResource
-
The current resource
-
concatenate
-
Change the tail of this list to point to the given list, so that this list becomes the list of the concatenation of the elements of both lists. This is a side-effecting operation on this list; for a non side-effecting alternative, see append.
-
cons
-
Return a reference to a new list cell whose head is value and whose tail is this list.
-
contains
-
Answer true if the given node appears as the value of a value of any of the cells of this list.
-
contains
-
Tests if the Model contains the given statement.
-
contains
-
Determine whether the container contains a value
-
containsAll
-
Determine if all of the statements in a model are also contained in this model.
-
containsAny
-
Determine if any of the statements in a model are also contained in this model.
-
containsResource
-
Determine if the node (ResResource / ResLiteral) $node appears in any statement of this model.
-
copy
-
Answer a list that contains all of the elements of this list in the same order, but is a duplicate copy in the underlying model.
-
createAlt
-
Create a new RDF Container from type rdf:Alt This method may return an existing container with the correct URI and model, or it may construct a fresh one, as it sees fit.
-
createBag
-
Create a new RDF Container from type rdf:Bag This method may return an existing container with the correct URI and model, or it may construct a fresh one, as it sees fit.
-
createList
-
Create a new RDF Collection from type rdf:List This method may return an existing container with the correct URI and model, or it may construct a fresh one, as it sees fit.
-
createLiteral
-
Create an untyped literal from a String value with a specified language.
-
createProperty
-
Create a new Property associated with this model.
-
createResource
-
Create a new resource associated with this model.
-
createSeq
-
Create a new RDF Container from type rdf:Seq This method may return an existing container with the correct URI and model, or it may construct a fresh one, as it sees fit.
-
createTypedLiteral
-
Create a literal from a String value with the $dtype Datatype An existing literal of the right value may be returned, or a fresh one created.
-
current
-
Returns the current item
-
$getSPO
-
If the resource, we're intrested in is the subject (s), predicate(p), or object (o) of the found statements
-
get
-
Returns the value of the list element at the specified position or null.
-
getAssociatedModel
-
Get the reference to the assocoated model.
-
getAssociatedModel
-
Get the reference to the assocoated model.
-
getBaseURI
-
Return current baseURI.
-
getContentInArray
-
Get all values in the list as an array of ResResources
-
getDefault
-
Return the default value for this resource
-
getHead
-
Get the value that is associated with the head of the list.
-
getIsAnon
-
Determine whether this resource is an anonymous resource
-
getMember
-
Get the member at a given index
-
getMembers
-
Get an array of all resources that are values of this container
-
getModel
-
Returns a reference to the underlying model (Mem/DB/InfModel) that contains the statements
-
getParsedNamespaces
-
Returns the models namespaces.
-
getProperty
-
Answer some statement (this, p, O) in the associated model.
-
getProperty
-
Answer a statement find(s, p, null) with ResResources(ResLiterals) from this model.
-
getTail
-
Get the list that is the tail of this list.
-
getUniqueResourceURI
-
Internal method, that returns a resource URI that is unique for the Model.
-
$isAnon
-
Is true, if this resource is an anonymous node.
-
indexOf
-
Return the index of a given member of the sequence.
-
indexOf
-
Get the Position of the first occurrence of the given value in the list, or -1 if the value is not in the list.
-
intersect
-
Returns a new model containing all the statements which are in both this model and another.
-
isAlt
-
Returns true, if this resource is a container from type rdf:Alt
-
isBag
-
Returns true, if this resource is a container from type rdf:Bag
-
isEmpty
-
Checks if MemModel is empty
-
isEmpty
-
Returns true, if this list is empty
-
isSeq
-
Returns true, if this resource is a container from type rdf:Seq
-
isValid
-
Answer true if the list is well-formed, by checking that each node is correctly typed, and has a head and tail pointer from the correct vocabulary
-
$rdfFirstResource
-
Holds a ResResource with the uri rdf:first
-
$rdfNilResource
-
Holds a ResResource with the uri rdf:nil
-
$rdfRestResource
-
Holds a ResResource with the uri rdf:rest
-
$returnType
-
Defines the type of resource, we'd like to receive.
-
rdqlQuery
-
Perform an RDQL query on this MemModel.
-
rdqlQueryAsIterator
-
Perform an RDQL query on this MemModel.
-
remove
-
Remove a value from the container.
-
remove
-
Removes the statement of ResResources(ResTriples) from the MemModel.
-
remove
-
Remove the given value from this list.
-
removeAll
-
Delete all the statements with predicate p for this resource from its associated model.
-
removeAtIndex
-
Remove the member at the specified index.
-
removeHead
-
Remove the head of the list. The tail of the list remains in the model. Note that no changes are made to list cells that point to this list cell as their tail.
-
removeList
-
Remove all of the components of this list from the model.
-
removeNamespace
-
removes a single namespace from the model
-
removeProperties
-
Delete all the properties for this resource from the associated model.
-
replace
-
Replace the value at the i'th position in the list with the given value
-
ResAlt
-
Constructor You can supply a URI
-
ResAlt
-
This interface defines methods for accessing RDF Alternative resources.
-
ResBag
-
This interface defines methods for accessing RDF Bag resources.
-
ResBag
-
Constructor You can supply a URI
-
ResContainer
-
An RDF Container.
-
ResContainer
-
Constructor You can supply a URI
-
ResIterator
-
Constructor.
-
ResIterator
-
Implementation of a resource iterator.
-
ResList
-
Constructor You can supply a URI
-
ResList
-
Implementation of an rdf:Collection (rdf:List) Provides a convenience encapsulation for lists formed from chains of RDF statements arranged to form a head/tail cons-cell structure.
-
ResLiteral
-
Constructor You have to supply a string.
-
ResLiteral
-
An RDF literal.
-
ResModel
-
Constructor You have to supply a memmodel/dbmodel/infmodel to save the statements.
-
ResModel
-
A ResModel provides an resource centric view on an underlying RDF model.
-
ResAlt.php
-
-
ResBag.php
-
-
ResContainer.php
-
-
ResIterator.php
-
-
ResList.php
-
-
ResLiteral.php
-
-
ResModel.php
-
-
ResProperty.php
-
-
ResResource.php
-
-
ResSeq.php
-
-
ResProperty
-
Constructor You can supply a URI
-
ResProperty
-
An RDF Property.
-
ResResource
-
An RDF Resource.
-
ResResource
-
Constructor You can supply a uri
-
ResSeq
-
Constructor You can supply a URI
-
ResSeq
-
This interface defines methods for accessing RDF Sequence resources.
-
rewind
-
Resets iterator list to start
-
$searchObject
-
The object to search for.
-
$searchPredicate
-
The predicate to search for.
-
$searchSubject
-
The subject to search for.
-
sameListAs
-
Answer true if this list has the same elements in the same order as the given list. Note that the standard equals test just tests for equality of two given list cells.
-
saveAs
-
Saves the RDF,N3 or N-Triple serialization of the MemModel to a file.
-
set
-
Set the value at a given index in the sequence.
-
setAssociatedModel
-
Sets the reference to the assocoated model.
-
setAssociatedModel
-
Sets the reference to the assocoated model.
-
setBaseURI
-
Set a base URI for the MemModel.
-
setDefault
-
Set the default value of this container.
-
setFindLiteralWithLang
-
Sets that only Literals with the matching language should be returned
-
setHead
-
Update the head of the list to have the given value, and return the previous value.
-
setIsAnon
-
Set whether this resource is an anonymous resource
-
setTail
-
Update the list cell at the front of the list to have the given list as tail. The old tail is returned, and remains in the model.
-
setURI
-
Sets the URI of this resource
-
size
-
Returns the number values in the container.
-
size
-
Number of statements in the MemModel
-
subtract
-
Returns a new model that is the subtraction of another model from this model.