Click or drag to resize

WrapperNode Class

Abstract decorator for Nodes to make it easier to layer functionality on top of existing implementations.
Inheritance Hierarchy

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public abstract class WrapperNode : INode, 
	IComparable<INode>, IComparable<IBlankNode>, IComparable<IGraphLiteralNode>, 
	IComparable<ILiteralNode>, IComparable<IUriNode>, IComparable<IVariableNode>, 
	IEquatable<INode>, IEquatable<IBlankNode>, IEquatable<IGraphLiteralNode>, 
	IEquatable<ILiteralNode>, IEquatable<IUriNode>, IEquatable<IVariableNode>, 
	ISerializable, IXmlSerializable, IBlankNode, IUriNode, ILiteralNode

The WrapperNode type exposes the following members.

Constructors
  NameDescription
Protected methodWrapperNode
Initializes a new instance of the WrapperNode class.
Top
Properties
  NameDescription
Public propertyGraph
Gets the Graph the Node belongs to.
Public propertyGraphUri
Gets/Sets the Graph URI associated with a Node.
Protected propertyNode
Gets the underlying node this is a wrapper around.
Public propertyNodeType
Nodes have a Type.
Top
Methods
  NameDescription
Public methodCompareTo(IBlankNode)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(IGraphLiteralNode)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(ILiteralNode)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(INode)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(IUriNode)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodCompareTo(IVariableNode)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(IBlankNode)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(IGraphLiteralNode)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(ILiteralNode)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(INode)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(IUriNode)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(IVariableNode)
Indicates whether the current object is equal to another object of the same type.
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 methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
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.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodToString(INodeFormatter)
Gets the String representation of the Node formatted with the given Node formatter.
Public methodToString(INodeFormatter, TripleSegment)
Gets the String representation of the Node formatted with the given Node formatter.
Top
Extension Methods
  NameDescription
Public Extension MethodAsDynamic
Dynamically wraps a node.
(Defined by DynamicExtensions.)
Public Extension MethodAsValuedNode
Takes a INode and converts it to a IValuedNode if it is not already an instance that implements the interface.
(Defined by ValuedNodeExtensions.)
Public Extension MethodCopyNode(IGraph)Overloaded.
Copies a Node to the target Graph.
(Defined by Extensions.)
Public Extension MethodCopyNode(IGraph, Boolean)Overloaded.
Copies a Node to the target Graph.
(Defined by Extensions.)
Public Extension MethodIsListRoot
Gets whether a given Node is valid as a List Root, this does not guarantee that the list itself is valid simply that the Node appears to be the root of a list.
(Defined by Extensions.)
Top
See Also