IValuedNode Interface |
Namespace: VDS.RDF.Nodes
public interface IValuedNode : 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 IValuedNode type exposes the following members.
Name | Description | |
---|---|---|
EffectiveType |
Gets the URI of the datatype this valued node represents as a String.
| |
Graph |
Gets the Graph the Node belongs to.
(Inherited from INode.) | |
GraphUri |
Gets/Sets the Graph URI associated with a Node.
(Inherited from INode.) | |
NodeType |
Nodes have a Type.
(Inherited from INode.) | |
NumericType |
Gets the Numeric Type of the Node.
|
Name | Description | |
---|---|---|
AsBoolean |
Gets the Boolean value of the Node.
| |
AsDateTime |
Gets the Date Time value of the Node.
| |
AsDateTimeOffset |
Gets the Date Time Offset value of the Node.
| |
AsDecimal |
Gets the Decimal value of the Node.
| |
AsDouble |
Gets the Double value of the Node.
| |
AsFloat |
Gets the Float value of the Node.
| |
AsInteger |
Gets the Long value of the Node.
| |
AsString |
Gets the String value of the Node.
| |
AsTimeSpan |
Gets the Time Span value of the Node.
| |
CompareTo(T) | 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. (Inherited from IComparableIBlankNode.) | |
CompareTo(T) | (Inherited from IComparableIGraphLiteralNode.) | |
CompareTo(T) | (Inherited from IComparableILiteralNode.) | |
CompareTo(T) | (Inherited from IComparableINode.) | |
CompareTo(T) | (Inherited from IComparableIUriNode.) | |
CompareTo(T) | (Inherited from IComparableIVariableNode.) | |
Equals(T) | Indicates whether the current object is equal to another object of the same type. (Inherited from IEquatableIBlankNode.) | |
Equals(T) | (Inherited from IEquatableIGraphLiteralNode.) | |
Equals(T) | (Inherited from IEquatableILiteralNode.) | |
Equals(T) | (Inherited from IEquatableINode.) | |
Equals(T) | (Inherited from IEquatableIUriNode.) | |
Equals(T) | (Inherited from IEquatableIVariableNode.) | |
GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from ISerializable.) | |
GetSchema | This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return ( in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class. (Inherited from IXmlSerializable.) | |
ReadXml | Generates an object from its XML representation. (Inherited from IXmlSerializable.) | |
ToString |
Gets the String representation of the Node.
(Inherited from INode.) | |
ToString(INodeFormatter) |
Gets the String representation of the Node formatted with the given Node formatter.
(Inherited from INode.) | |
ToString(INodeFormatter, TripleSegment) |
Gets the String representation of the Node formatted with the given Node formatter.
(Inherited from INode.) | |
WriteXml | Converts an object into its XML representation. (Inherited from IXmlSerializable.) |
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.) |
This interface extends the basic INode interface with methods related to turning the lexical value into a strongly typed .Net value. It is intended primarily for use within SPARQL expression evaluation where we need to do a lot of value conversions and currently waste a lot of effort (and thus performance) doing that.