StringNode Class |
Namespace: VDS.RDF.Nodes
public class StringNode : LiteralNode, 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 StringNode type exposes the following members.
Name | Description | |
---|---|---|
![]() | StringNode(IGraph, String) |
Creates a new String Node.
|
![]() | StringNode(IGraph, String, String) |
Creates a new String Node.
|
![]() | StringNode(IGraph, String, Uri) |
Creates a new String Node.
|
Name | Description | |
---|---|---|
![]() | DataType |
Gives the Data Type Uri for the Literal (if it exists) or a null.
(Inherited from BaseLiteralNode.) |
![]() | 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.) |
![]() | Language |
Gives the Language Specifier for the Literal (if it exists) or the Empty String.
(Inherited from BaseLiteralNode.) |
![]() | NodeType |
Nodes have a Type.
(Inherited from BaseNode.) |
![]() | NumericType |
Gets the numeric type of the expression.
|
![]() | Value |
Gives the String Value of the Literal.
(Inherited from BaseLiteralNode.) |
Name | Description | |
---|---|---|
![]() | AsBoolean |
Gets the boolean value of the string.
|
![]() | AsDateTime |
Throws an error as the string cannot be cast to a date time.
|
![]() | AsDateTimeOffset |
Throws an error as the string cannot be cast to a date time.
|
![]() | AsDecimal |
Throws an error as the string cannot be cast to a decimal.
|
![]() | AsDouble |
Throws an error as the string cannot be cast to a double.
|
![]() | AsFloat |
Throws an error as the string cannot be cast to a float.
|
![]() | AsInteger |
Throws an error as the string cannot be cast to an integer.
|
![]() | AsString |
Gets the string value.
|
![]() | AsTimeSpan |
Throws an error as the string cannot be cast to a time span.
|
![]() | CompareTo(BaseLiteralNode) |
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.) |
![]() | CompareTo(IBlankNode) |
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.) |
![]() | CompareTo(IGraphLiteralNode) |
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.) |
![]() | CompareTo(ILiteralNode) |
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.) |
![]() | CompareTo(INode) |
Implementation of CompareTo for Literal Nodes.
(Inherited from BaseLiteralNode.) |
![]() | CompareTo(IUriNode) |
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.) |
![]() | CompareTo(IVariableNode) |
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseLiteralNode.) |
![]() | CompareTo(LiteralNode) |
Implementation of Compare To for Literal Nodes.
(Inherited from LiteralNode.) |
![]() | Equals(Object) |
Implementation of the Equals method for Literal Nodes.
(Inherited from BaseLiteralNode.) |
![]() | Equals(BaseLiteralNode) |
Determines whether this Node is equal to a Literal Node.
(Inherited from BaseLiteralNode.) |
![]() | Equals(IBlankNode) |
Determines whether this Node is equal to a Blank Node (should always be false).
(Inherited from BaseLiteralNode.) |
![]() | Equals(IGraphLiteralNode) |
Determines whether this Node is equal to a Graph Literal Node (should always be false).
(Inherited from BaseLiteralNode.) |
![]() | Equals(ILiteralNode) |
Determines whether this Node is equal to a Literal Node.
(Inherited from BaseLiteralNode.) |
![]() | Equals(INode) |
Implementation of the Equals method for Literal Nodes.
(Inherited from BaseLiteralNode.) |
![]() | Equals(IUriNode) |
Determines whether this Node is equal to a URI Node (should always be false).
(Inherited from BaseLiteralNode.) |
![]() | Equals(IVariableNode) |
Determines whether this Node is equal to a Variable Node (should always be false).
(Inherited from BaseLiteralNode.) |
![]() | Equals(LiteralNode) |
Determines whether this Node is equal to a Literal Node.
(Inherited from LiteralNode.) |
![]() | 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.
(Inherited from BaseLiteralNode.) |
![]() | 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.
(Inherited from BaseLiteralNode.) |
![]() | ToString |
Gets a String representation of a Literal Node.
(Inherited from BaseLiteralNode.) |
![]() | 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.
(Inherited from BaseLiteralNode.) |
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.) |