Class LiteralNode
Class for representing Literal Nodes.
Inheritance
System.Object
LiteralNode
Implements
System.IComparable<T><INode>
System.IComparable<T><IBlankNode>
System.IComparable<T><IGraphLiteralNode>
System.IComparable<T><ILiteralNode>
System.IComparable<T><IUriNode>
System.IComparable<T><IVariableNode>
System.IComparable<T><IRefNode>
System.IComparable<T><ITripleNode>
System.IEquatable<T><INode>
System.IEquatable<T><IBlankNode>
System.IEquatable<T><IGraphLiteralNode>
System.IEquatable<T><ILiteralNode>
System.IEquatable<T><IUriNode>
System.IEquatable<T><IVariableNode>
System.IEquatable<T><IRefNode>
System.IEquatable<T><ITripleNode>
System.IEquatable<T><BaseLiteralNode>
System.IComparable<T><BaseLiteralNode>
System.IEquatable<T><LiteralNode>
System.IComparable<T><LiteralNode>
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class LiteralNode : BaseLiteralNode, 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>, IEquatable<BaseLiteralNode>, IComparable<BaseLiteralNode>, IEquatable<LiteralNode>, IComparable<LiteralNode>
Constructors
| Improve this Doc View SourceLiteralNode(string, bool)
Constructor for Literal Nodes.
Declaration
public LiteralNode(string literal, bool normalize = true)
Parameters
Type | Name | Description |
---|---|---|
string | literal | String value of the Literal. |
System.Boolean | normalize | Whether to Normalize the Literal Value. |
LiteralNode(string, string, bool)
Constructor for Literal Nodes.
Declaration
public LiteralNode(string literal, string langSpec, bool normalize = true)
Parameters
Type | Name | Description |
---|---|---|
string | literal | String value of the Literal. |
string | langSpec | String value for the Language Specifier for the Literal. |
System.Boolean | normalize | Whether to Normalize the Literal Value. |
LiteralNode(string, Uri, bool)
Constructor for Literal Nodes.
Declaration
public LiteralNode(string literal, Uri datatype, bool normalize = true)
Parameters
Type | Name | Description |
---|---|---|
string | literal | String value of the Literal. |
System.Uri | datatype | Uri for the Literals Data Type. |
System.Boolean | normalize | Whether to Normalize the Literal Value. |
Methods
| Improve this Doc View SourceCompareTo(LiteralNode)
Implementation of Compare To for Literal Nodes.
Declaration
public int CompareTo(LiteralNode other)
Parameters
Type | Name | Description |
---|---|---|
LiteralNode | other | Literal Node to Compare To. |
Returns
Type | Description |
---|---|
int |
Remarks
Simply invokes the more general implementation of this method.
Equals(LiteralNode)
Determines whether this Node is equal to a Literal Node.
Declaration
public bool Equals(LiteralNode other)
Parameters
Type | Name | Description |
---|---|---|
LiteralNode | other | Literal Node. |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IComparable<T>
System.IEquatable<T>
System.IComparable<T>