BaseGraphLiteralNode Class |
Namespace: VDS.RDF
[SerializableAttribute] public abstract class BaseGraphLiteralNode : BaseNode, IGraphLiteralNode, 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, IEquatable<BaseGraphLiteralNode>, IComparable<BaseGraphLiteralNode>, IValuedNode
The BaseGraphLiteralNode type exposes the following members.
Name | Description | |
---|---|---|
BaseGraphLiteralNode |
Deserialization Only constructor.
| |
BaseGraphLiteralNode(IGraph) |
Creates a new Graph Literal Node whose value is an empty Subgraph.
| |
BaseGraphLiteralNode(SerializationInfo, StreamingContext) |
Deserializer Constructor.
| |
BaseGraphLiteralNode(IGraph, IGraph) |
Creates a new Graph Literal Node in the given Graph which represents the given Subgraph.
|
Name | Description | |
---|---|---|
EffectiveType |
Gets the URI of the datatype this valued node represents as a String.
| |
Graph |
Nodes belong to a Graph.
(Inherited from BaseNode.) | |
GraphUri |
Gets/Sets the Graph Uri of the Node.
(Inherited from BaseNode.) | |
NodeType |
Nodes have a Type.
(Inherited from BaseNode.) | |
NumericType |
Gets the numeric type of the node.
| |
SubGraph |
Gets the Subgraph that this Node represents.
|
Name | Description | |
---|---|---|
AsBoolean |
Throws an error as Graph Literals cannot be cast to a boolean.
| |
AsDateTime |
Throws an error as Graph Literals cannot be cast to a date time.
| |
AsDateTimeOffset |
Throws an error as Graph Literals cannot be cast to a date time.
| |
AsDecimal |
Throws an error as Graph Literals cannot be cast to a decimal.
| |
AsDouble |
Throws an error as Graph Literals cannot be cast to a double.
| |
AsFloat |
Throws an error as Graph Literals cannot be cast to a float.
| |
AsInteger |
Throws an error as Graph Literals cannot be cast to an integer.
| |
AsString |
Throws an error as Graph Literals cannot be cast to a string.
| |
AsTimeSpan |
Throws an error as Graph Literals cannot be cast to a time span.
| |
CompareTo(BaseGraphLiteralNode) |
Returns an Integer indicating the Ordering of this Node compared to another Node.
| |
CompareTo(IBlankNode) |
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Overrides BaseNodeCompareTo(IBlankNode).) | |
CompareTo(IGraphLiteralNode) |
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Overrides BaseNodeCompareTo(IGraphLiteralNode).) | |
CompareTo(ILiteralNode) |
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Overrides BaseNodeCompareTo(ILiteralNode).) | |
CompareTo(INode) |
Implementation of CompareTo for Graph Literals.
(Overrides BaseNodeCompareTo(INode).) | |
CompareTo(IUriNode) |
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Overrides BaseNodeCompareTo(IUriNode).) | |
CompareTo(IVariableNode) |
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Overrides BaseNodeCompareTo(IVariableNode).) | |
Equals(Object) |
Implementation of the Equals method for Graph Literal Nodes. Graph Literals are considered Equal if their respective Subgraphs are equal.
(Overrides BaseNodeEquals(Object).) | |
Equals(BaseGraphLiteralNode) |
Determines whether this Node is equal to a Graph Literal Node.
| |
Equals(IBlankNode) |
Determines whether this Node is equal to a Blank Node (should always be false).
(Overrides BaseNodeEquals(IBlankNode).) | |
Equals(IGraphLiteralNode) |
Determines whether this Node is equal to a Graph Literal Node.
(Overrides BaseNodeEquals(IGraphLiteralNode).) | |
Equals(ILiteralNode) |
Determines whether this Node is equal to a Literal Node (should always be false).
(Overrides BaseNodeEquals(ILiteralNode).) | |
Equals(INode) |
Implementation of the Equals method for Graph Literal Nodes. Graph Literals are considered Equal if their respective Subgraphs are equal.
(Overrides BaseNodeEquals(INode).) | |
Equals(IUriNode) |
Determines whether this Node is equal to a URI Node (should always be false).
(Overrides BaseNodeEquals(IUriNode).) | |
Equals(IVariableNode) |
Determines whether this Node is equal to a Variable Node (should always be false).
(Overrides BaseNodeEquals(IVariableNode).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode |
Gets a Hash Code for a Node.
(Inherited from BaseNode.) | |
GetObjectData |
Gets the Serialization Information.
(Overrides BaseNodeGetObjectData(SerializationInfo, StreamingContext).) | |
GetSchema |
Gets the schema for XML serialization.
(Inherited from BaseNode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReadXml |
Reads the data for XML deserialization.
(Overrides BaseNodeReadXml(XmlReader).) | |
ToString |
Implementation of ToString for Graph Literals which produces a String representation of the Subgraph in N3 style syntax.
(Overrides BaseNodeToString.) | |
ToString(INodeFormatter) |
Gets the String representation of the Node formatted with the given Node formatter.
(Inherited from BaseNode.) | |
ToString(INodeFormatter, TripleSegment) |
Gets the String representation of the Node formatted with the given Node formatter.
(Inherited from BaseNode.) | |
WriteXml |
Writes the data for XML serialization.
(Overrides BaseNodeWriteXml(XmlWriter).) |
Name | Description | |
---|---|---|
_graph |
Reference to the Graph that the Node belongs to.
(Inherited from BaseNode.) | |
_graphUri |
Uri of the Graph that the Node belongs to.
(Inherited from BaseNode.) | |
_hashcode |
Stores the computed Hash Code for this Node.
(Inherited from BaseNode.) | |
_nodetype |
Node Type for the Node.
(Inherited from BaseNode.) |
Name | Description | |
---|---|---|
AsDynamic |
Dynamically wraps a node.
(Defined by DynamicExtensions.) | |
AsSafeBoolean |
Tries to get the result of calling AsBoolean() on a node throwing an error if the node is null.
(Defined by ValuedNodeExtensions.) | |
AsValuedNode |
Takes a INode and converts it to a IValuedNode if it is not already an instance that implements the interface.
(Defined by ValuedNodeExtensions.) | |
CopyNode(IGraph) | Overloaded.
Copies a Node to the target Graph.
(Defined by Extensions.) | |
CopyNode(IGraph, Boolean) | Overloaded.
Copies a Node to the target Graph.
(Defined by Extensions.) | |
IsListRoot |
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.) |