Click or drag to resize

WrapperTripleCollection Class

Abstract decorator for Triple Collections to make it easier to add additional functionality to existing collections.
Inheritance Hierarchy

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public abstract class WrapperTripleCollection : BaseTripleCollection

The WrapperTripleCollection type exposes the following members.

Constructors
  NameDescription
Public methodWrapperTripleCollection
Creates a new decorator over the default TreeIndexedTripleCollection.
Public methodWrapperTripleCollection(BaseTripleCollection)
Creates a new decorator around the given triple collection.
Top
Properties
Methods
  NameDescription
Protected methodAdd
Adds a triple to the collection.
(Overrides BaseTripleCollectionAdd(Triple).)
Public methodContains
Gets whether the collection contains the given Triple.
(Overrides BaseTripleCollectionContains(Triple).)
Protected methodDelete
Deletes a triple from the collection.
(Overrides BaseTripleCollectionDelete(Triple).)
Public methodDispose
Disposes of the collection.
(Overrides BaseTripleCollectionDispose.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Gets the enumerator for the collection.
(Overrides BaseTripleCollectionGetEnumerator.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRaiseTripleAdded
Helper method for raising the Triple Added event.
(Inherited from BaseTripleCollection.)
Protected methodRaiseTripleRemoved
Helper method for raising the Triple Removed event.
(Inherited from BaseTripleCollection.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWithObject
Gets all the triples with the given object.
(Overrides BaseTripleCollectionWithObject(INode).)
Public methodWithPredicate
Gets all the triples with the given predicate.
(Overrides BaseTripleCollectionWithPredicate(INode).)
Public methodWithPredicateObject
Gets all the triples with the given predicate and object.
(Overrides BaseTripleCollectionWithPredicateObject(INode, INode).)
Public methodWithSubject
Gets all the triples with the given subject.
(Overrides BaseTripleCollectionWithSubject(INode).)
Public methodWithSubjectObject
Gets all the triples with the given subject and object.
(Overrides BaseTripleCollectionWithSubjectObject(INode, INode).)
Public methodWithSubjectPredicate
Gets all the triples with the given subject and predicate.
(Overrides BaseTripleCollectionWithSubjectPredicate(INode, INode).)
Top
Events
  NameDescription
Public eventTripleAdded
Event which occurs when a Triple is added to the Collection
(Inherited from BaseTripleCollection.)
Public eventTripleRemoved
Event which occurs when a Triple is removed from the Collection
(Inherited from BaseTripleCollection.)
Top
Fields
  NameDescription
Protected field_triples
Underlying Triple Collection.
Top
See Also