Class LiteralNode
Class for representing Literal Nodes.
Inheritance
System.Object
LiteralNode
Implements
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
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 SourceLiteralNode()
Deserialization Only Constructor.
Declaration
protected LiteralNode()
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. |
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. |
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. |
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. |
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. |
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. |
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 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 |
---|---|
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
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>