Click or drag to resize

BaseNode Class

Abstract Class for Nodes, implements the two basic properties of the INode Interface.
Inheritance Hierarchy

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public abstract class BaseNode : 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

The BaseNode type exposes the following members.

Constructors
  NameDescription
Public methodBaseNode
Base Constructor which instantiates the Graph reference, Graph Uri and Node Type of the Node.
Top
Properties
  NameDescription
Public propertyGraph
Nodes belong to a Graph.
Public propertyGraphUri
Gets/Sets the Graph Uri of the Node.
Public propertyNodeType
Nodes have a Type.
Top
Methods
  NameDescription
Public methodCompareTo(IBlankNode)
Nodes must implement a CompareTo method to allow them to be Sorted.
Public methodCompareTo(IGraphLiteralNode)
Nodes must implement a CompareTo method to allow them to be Sorted.
Public methodCompareTo(ILiteralNode)
Nodes must implement a CompareTo method to allow them to be Sorted.
Public methodCompareTo(INode)
Nodes must implement a CompareTo method to allow them to be Sorted.
Public methodCompareTo(IUriNode)
Nodes must implement a CompareTo method to allow them to be Sorted.
Public methodCompareTo(IVariableNode)
Nodes must implement a CompareTo method to allow them to be Sorted.
Public methodEquals(Object)
Nodes must implement an Equals method.
(Overrides ObjectEquals(Object).)
Public methodEquals(IBlankNode)
Nodes must implement an Equals method so we can do type specific equality.
Public methodEquals(IGraphLiteralNode)
Nodes must implement an Equals method so we can do type specific equality.
Public methodEquals(ILiteralNode)
Nodes must implement an Equals method so we can do type specific equality.
Public methodEquals(INode)
Nodes must implement an Equals method so we can do type specific equality.
Public methodEquals(IUriNode)
Nodes must implement an Equals method so we can do type specific equality.
Public methodEquals(IVariableNode)
Nodes must implement an Equals method so we can do type specific equality.
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
Gets a Hash Code for a Node.
(Overrides ObjectGetHashCode.)
Public methodGetObjectData
Gets the information for serialization.
Public methodGetSchema
Gets the schema for XML serialization.
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 methodReadXml
Reads the data for XML deserialization.
Public methodToString
Nodes must implement a ToString method.
(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.
Public methodWriteXml
Writes the data for XML serialization.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
The Equality operator is defined for Nodes.
Public operatorStatic memberInequality
The Non-Equality operator is defined for Nodes.
Top
Fields
  NameDescription
Protected field_graph
Reference to the Graph that the Node belongs to.
Protected field_graphUri
Uri of the Graph that the Node belongs to.
Protected field_hashcode
Stores the computed Hash Code for this Node.
Protected field_nodetype
Node Type for the Node.
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