Show / Hide Table of Contents

Class WrapperNode

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

Inheritance
object
WrapperNode
DynamicNode
GraphWrapperNode
Implements
IBlankNode
IUriNode
IRefNode
ILiteralNode
INode
IComparable<INode>
IComparable<IBlankNode>
IComparable<IGraphLiteralNode>
IComparable<ILiteralNode>
IComparable<IUriNode>
IComparable<IVariableNode>
IComparable<IRefNode>
IComparable<ITripleNode>
IEquatable<INode>
IEquatable<IBlankNode>
IEquatable<IGraphLiteralNode>
IEquatable<ILiteralNode>
IEquatable<IUriNode>
IEquatable<IVariableNode>
IEquatable<IRefNode>
IEquatable<ITripleNode>
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public abstract class WrapperNode : IBlankNode, IUriNode, IRefNode, ILiteralNode, INode, IComparable<INode>, IComparable<IBlankNode>, IComparable<IGraphLiteralNode>, IComparable<ILiteralNode>, IComparable<IUriNode>, IComparable<IVariableNode>, IComparable<IRefNode>, IComparable<ITripleNode>, IEquatable<INode>, IEquatable<IBlankNode>, IEquatable<IGraphLiteralNode>, IEquatable<ILiteralNode>, IEquatable<IUriNode>, IEquatable<IVariableNode>, IEquatable<IRefNode>, IEquatable<ITripleNode>

Constructors

| Edit this page View Source

WrapperNode(INode)

Initializes a new instance of the WrapperNode class.

Declaration
protected WrapperNode(INode node)
Parameters
Type Name Description
INode node

The node this is a wrapper around.

Exceptions
Type Condition
ArgumentNullException

When node is null.

Properties

| Edit this page View Source

Node

Gets the underlying node this is a wrapper around.

Declaration
protected INode Node { get; }
Property Value
Type Description
INode
| Edit this page View Source

NodeType

Nodes have a Type.

Declaration
public NodeType NodeType { get; }
Property Value
Type Description
NodeType
Remarks

Primarily provided so can do quick integer comparison to see what type of Node you have without having to do actual full blown Type comparison.

Methods

| Edit this page View Source

CompareTo(IBlankNode)

Declaration
public int CompareTo(IBlankNode other)
Parameters
Type Name Description
IBlankNode other
Returns
Type Description
int
| Edit this page View Source

CompareTo(IGraphLiteralNode)

Declaration
public int CompareTo(IGraphLiteralNode other)
Parameters
Type Name Description
IGraphLiteralNode other
Returns
Type Description
int
| Edit this page View Source

CompareTo(ILiteralNode)

Declaration
public int CompareTo(ILiteralNode other)
Parameters
Type Name Description
ILiteralNode other
Returns
Type Description
int
| Edit this page View Source

CompareTo(INode)

Declaration
public int CompareTo(INode other)
Parameters
Type Name Description
INode other
Returns
Type Description
int
| Edit this page View Source

CompareTo(IRefNode)

Declaration
public int CompareTo(IRefNode other)
Parameters
Type Name Description
IRefNode other
Returns
Type Description
int
| Edit this page View Source

CompareTo(ITripleNode)

Declaration
public int CompareTo(ITripleNode other)
Parameters
Type Name Description
ITripleNode other
Returns
Type Description
int
| Edit this page View Source

CompareTo(IUriNode)

Declaration
public int CompareTo(IUriNode other)
Parameters
Type Name Description
IUriNode other
Returns
Type Description
int
| Edit this page View Source

CompareTo(IVariableNode)

Declaration
public int CompareTo(IVariableNode other)
Parameters
Type Name Description
IVariableNode other
Returns
Type Description
int
| Edit this page View Source

Equals(object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
| Edit this page View Source

Equals(IBlankNode)

Declaration
public bool Equals(IBlankNode other)
Parameters
Type Name Description
IBlankNode other
Returns
Type Description
bool
| Edit this page View Source

Equals(IGraphLiteralNode)

Declaration
public bool Equals(IGraphLiteralNode other)
Parameters
Type Name Description
IGraphLiteralNode other
Returns
Type Description
bool
| Edit this page View Source

Equals(ILiteralNode)

Declaration
public bool Equals(ILiteralNode other)
Parameters
Type Name Description
ILiteralNode other
Returns
Type Description
bool
| Edit this page View Source

Equals(INode)

Declaration
public bool Equals(INode other)
Parameters
Type Name Description
INode other
Returns
Type Description
bool
| Edit this page View Source

Equals(IRefNode)

Declaration
public bool Equals(IRefNode other)
Parameters
Type Name Description
IRefNode other
Returns
Type Description
bool
| Edit this page View Source

Equals(ITripleNode)

Declaration
public bool Equals(ITripleNode other)
Parameters
Type Name Description
ITripleNode other
Returns
Type Description
bool
| Edit this page View Source

Equals(IUriNode)

Declaration
public bool Equals(IUriNode other)
Parameters
Type Name Description
IUriNode other
Returns
Type Description
bool
| Edit this page View Source

Equals(IVariableNode)

Declaration
public bool Equals(IVariableNode other)
Parameters
Type Name Description
IVariableNode other
Returns
Type Description
bool
| Edit this page View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
| Edit this page View Source

ToString()

Provides a string representation of this node.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()
| Edit this page View Source

ToString(INodeFormatter)

Gets the String representation of the Node formatted with the given Node formatter.

Declaration
public string ToString(INodeFormatter formatter)
Parameters
Type Name Description
INodeFormatter formatter

Formatter.

Returns
Type Description
string
| Edit this page View Source

ToString(INodeFormatter, TripleSegment)

Gets the String representation of the Node formatted with the given Node formatter.

Declaration
public string ToString(INodeFormatter formatter, TripleSegment segment)
Parameters
Type Name Description
INodeFormatter formatter

Formatter.

TripleSegment segment

Triple Segment.

Returns
Type Description
string

Implements

IBlankNode
IUriNode
IRefNode
ILiteralNode
INode
IComparable<T>
IComparable<T>
IComparable<T>
IComparable<T>
IComparable<T>
IComparable<T>
IComparable<T>
IComparable<T>
IEquatable<T>
IEquatable<T>
IEquatable<T>
IEquatable<T>
IEquatable<T>
IEquatable<T>
IEquatable<T>
IEquatable<T>

Extension Methods

Extensions.ToSafeString(object)
DynamicExtensions.AsDynamic(INode, IGraph, Uri)
Extensions.EffectiveBooleanValue(INode)
Extensions.IsListRoot(INode, IGraph)
ValuedNodeExtensions.AsValuedNode(INode)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • WrapperNode(INode)
  • Properties
    • Node
    • NodeType
  • Methods
    • CompareTo(IBlankNode)
    • CompareTo(IGraphLiteralNode)
    • CompareTo(ILiteralNode)
    • CompareTo(INode)
    • CompareTo(IRefNode)
    • CompareTo(ITripleNode)
    • CompareTo(IUriNode)
    • CompareTo(IVariableNode)
    • Equals(object)
    • Equals(IBlankNode)
    • Equals(IGraphLiteralNode)
    • Equals(ILiteralNode)
    • Equals(INode)
    • Equals(IRefNode)
    • Equals(ITripleNode)
    • Equals(IUriNode)
    • Equals(IVariableNode)
    • GetHashCode()
    • ToString()
    • ToString(INodeFormatter)
    • ToString(INodeFormatter, TripleSegment)
  • Implements
  • Extension Methods
Back to top Generated by DocFX