Show / Hide Table of Contents

Class LiteralNode

Class for representing Literal Nodes.
Inheritance
System.Object
BaseNode
BaseLiteralNode
LiteralNode
BooleanNode
DateTimeNode
NumericNode
StringNode
TimeSpanNode
Implements
ILiteralNode
INode
System.IComparable<INode>
System.IComparable<IBlankNode>
System.IComparable<IGraphLiteralNode>
System.IComparable<ILiteralNode>
System.IComparable<IUriNode>
System.IComparable<IVariableNode>
System.IEquatable<INode>
System.IEquatable<IBlankNode>
System.IEquatable<IGraphLiteralNode>
System.IEquatable<ILiteralNode>
System.IEquatable<IUriNode>
System.IEquatable<IVariableNode>
System.Runtime.Serialization.ISerializable
System.Xml.Serialization.IXmlSerializable
System.IEquatable<BaseLiteralNode>
System.IComparable<BaseLiteralNode>
System.IEquatable<LiteralNode>
System.IComparable<LiteralNode>
Inherited Members
BaseLiteralNode.Value
BaseLiteralNode.Language
BaseLiteralNode.DataType
BaseLiteralNode.Equals(Object)
BaseLiteralNode.Equals(INode)
BaseLiteralNode.Equals(IBlankNode)
BaseLiteralNode.Equals(IGraphLiteralNode)
BaseLiteralNode.Equals(ILiteralNode)
BaseLiteralNode.Equals(IUriNode)
BaseLiteralNode.Equals(IVariableNode)
BaseLiteralNode.Equals(BaseLiteralNode)
BaseLiteralNode.ToString()
BaseLiteralNode.CompareTo(INode)
BaseLiteralNode.CompareTo(IBlankNode)
BaseLiteralNode.CompareTo(ILiteralNode)
BaseLiteralNode.CompareTo(IGraphLiteralNode)
BaseLiteralNode.CompareTo(IUriNode)
BaseLiteralNode.CompareTo(IVariableNode)
BaseLiteralNode.CompareTo(BaseLiteralNode)
BaseLiteralNode.GetObjectData(SerializationInfo, StreamingContext)
BaseLiteralNode.ReadXml(XmlReader)
BaseLiteralNode.WriteXml(XmlWriter)
BaseNode._graph
BaseNode._graphUri
BaseNode._nodetype
BaseNode._hashcode
BaseNode.NodeType
BaseNode.Graph
BaseNode.GraphUri
BaseNode.ToString(INodeFormatter)
BaseNode.ToString(INodeFormatter, TripleSegment)
BaseNode.GetHashCode()
BaseNode.GetSchema()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF
Assembly: dotNetRDF.dll
Syntax
[Serializable]
public class LiteralNode : BaseLiteralNode, ILiteralNode, 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<BaseLiteralNode>, IComparable<BaseLiteralNode>, IEquatable<LiteralNode>, IComparable<LiteralNode>

Constructors

| Improve this Doc View Source

LiteralNode()

Deserialization Only Constructor.
Declaration
protected LiteralNode()
| Improve this Doc View Source

LiteralNode(SerializationInfo, StreamingContext)

Deserialization Constructor.
Declaration
protected LiteralNode(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info Serialization Information.
System.Runtime.Serialization.StreamingContext context Streaming Context.
| Improve this Doc View Source

LiteralNode(IGraph, String)

Internal Only Constructor for Literal Nodes.
Declaration
protected LiteralNode(IGraph g, string literal)
Parameters
Type Name Description
IGraph g Graph this Node is in.
System.String literal String value of the Literal.
| Improve this Doc View Source

LiteralNode(IGraph, String, Boolean)

Internal Only Constructor for Literal Nodes.
Declaration
protected LiteralNode(IGraph g, string literal, bool normalize)
Parameters
Type Name Description
IGraph g Graph this Node is in.
System.String literal String value of the Literal.
System.Boolean normalize Whether to Normalize the Literal Value.
| Improve this Doc View Source

LiteralNode(IGraph, String, String)

Internal Only Constructor for Literal Nodes.
Declaration
protected LiteralNode(IGraph g, string literal, string langspec)
Parameters
Type Name Description
IGraph g Graph this Node is in.
System.String literal String value of the Literal.
System.String langspec String value for the Language Specifier for the Literal.
| Improve this Doc View Source

LiteralNode(IGraph, String, String, Boolean)

Internal Only Constructor for Literal Nodes.
Declaration
protected LiteralNode(IGraph g, string literal, string langspec, bool normalize)
Parameters
Type Name Description
IGraph g Graph this Node is in.
System.String literal String value of the Literal.
System.String langspec String value for the Language Specifier for the Literal.
System.Boolean normalize Whether to Normalize the Literal Value.
| Improve this Doc View Source

LiteralNode(IGraph, String, Uri)

Internal Only Constructor for Literal Nodes.
Declaration
protected LiteralNode(IGraph g, string literal, Uri datatype)
Parameters
Type Name Description
IGraph g Graph this Node is in.
System.String literal String value of the Literal.
System.Uri datatype Uri for the Literals Data Type.
| Improve this Doc View Source

LiteralNode(IGraph, String, Uri, Boolean)

Internal Only Constructor for Literal Nodes.
Declaration
protected LiteralNode(IGraph g, string literal, Uri datatype, bool normalize)
Parameters
Type Name Description
IGraph g Graph this Node is in.
System.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 Source

CompareTo(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
System.Int32
Remarks
Simply invokes the more general implementation of this method.
| Improve this Doc View Source

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

ILiteralNode
INode
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.Runtime.Serialization.ISerializable
System.Xml.Serialization.IXmlSerializable
System.IEquatable<T>
System.IComparable<T>
System.IEquatable<T>
System.IComparable<T>

Extension Methods

Extensions.AsEnumerable<T>(T)
Extensions.IsListRoot(INode, IGraph)
Extensions.CopyNode(INode, IGraph)
Extensions.CopyNode(INode, IGraph, Boolean)
DynamicExtensions.AsDynamic(INode, Uri)
ValuedNodeExtensions.AsValuedNode(INode)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • LiteralNode()
    • LiteralNode(SerializationInfo, StreamingContext)
    • LiteralNode(IGraph, String)
    • LiteralNode(IGraph, String, Boolean)
    • LiteralNode(IGraph, String, String)
    • LiteralNode(IGraph, String, String, Boolean)
    • LiteralNode(IGraph, String, Uri)
    • LiteralNode(IGraph, String, Uri, Boolean)
  • Methods
    • CompareTo(LiteralNode)
    • Equals(LiteralNode)
  • Implements
  • Extension Methods
Back to top Generated by DocFX