Click or drag to resize

GraphLiteralNode Class

Class for representing Graph Literal Nodes which are supported in highly expressive RDF syntaxes like Notation 3.
Inheritance Hierarchy

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
[SerializableAttribute]
public class GraphLiteralNode : BaseGraphLiteralNode, 
	IEquatable<GraphLiteralNode>, IComparable<GraphLiteralNode>

The GraphLiteralNode type exposes the following members.

Constructors
  NameDescription
Protected methodGraphLiteralNode
Deserialization Only Constructor.
Protected methodGraphLiteralNode(IGraph)
Creates a new Graph Literal Node in the given Graph which represents the given Subgraph.
Protected methodGraphLiteralNode(SerializationInfo, StreamingContext)
Deserialization Constructor.
Protected methodGraphLiteralNode(IGraph, IGraph)
Creates a new Graph Literal Node whose value is an empty Subgraph.
Top
Properties
  NameDescription
Public propertyEffectiveType
Gets the URI of the datatype this valued node represents as a String.
(Inherited from BaseGraphLiteralNode.)
Public propertyGraph
Nodes belong to a Graph.
(Inherited from BaseNode.)
Public propertyGraphUri
Gets/Sets the Graph Uri of the Node.
(Inherited from BaseNode.)
Public propertyNodeType
Nodes have a Type.
(Inherited from BaseNode.)
Public propertyNumericType
Gets the numeric type of the node.
(Inherited from BaseGraphLiteralNode.)
Public propertySubGraph
Gets the Subgraph that this Node represents.
(Inherited from BaseGraphLiteralNode.)
Top
Methods
  NameDescription
Public methodAsBoolean
Throws an error as Graph Literals cannot be cast to a boolean.
(Inherited from BaseGraphLiteralNode.)
Public methodAsDateTime
Throws an error as Graph Literals cannot be cast to a date time.
(Inherited from BaseGraphLiteralNode.)
Public methodAsDateTimeOffset
Throws an error as Graph Literals cannot be cast to a date time.
(Inherited from BaseGraphLiteralNode.)
Public methodAsDecimal
Throws an error as Graph Literals cannot be cast to a decimal.
(Inherited from BaseGraphLiteralNode.)
Public methodAsDouble
Throws an error as Graph Literals cannot be cast to a double.
(Inherited from BaseGraphLiteralNode.)
Public methodAsFloat
Throws an error as Graph Literals cannot be cast to a float.
(Inherited from BaseGraphLiteralNode.)
Public methodAsInteger
Throws an error as Graph Literals cannot be cast to an integer.
(Inherited from BaseGraphLiteralNode.)
Public methodAsString
Throws an error as Graph Literals cannot be cast to a string.
(Inherited from BaseGraphLiteralNode.)
Public methodAsTimeSpan
Throws an error as Graph Literals cannot be cast to a time span.
(Inherited from BaseGraphLiteralNode.)
Public methodCompareTo(BaseGraphLiteralNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseGraphLiteralNode.)
Public methodCompareTo(GraphLiteralNode)
Implementation of Compare To for Graph Literal Nodes.
Public methodCompareTo(IBlankNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseGraphLiteralNode.)
Public methodCompareTo(IGraphLiteralNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseGraphLiteralNode.)
Public methodCompareTo(ILiteralNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseGraphLiteralNode.)
Public methodCompareTo(INode)
Implementation of CompareTo for Graph Literals.
(Inherited from BaseGraphLiteralNode.)
Public methodCompareTo(IUriNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseGraphLiteralNode.)
Public methodCompareTo(IVariableNode)
Returns an Integer indicating the Ordering of this Node compared to another Node.
(Inherited from BaseGraphLiteralNode.)
Public methodEquals(Object)
Implementation of the Equals method for Graph Literal Nodes. Graph Literals are considered Equal if their respective Subgraphs are equal.
(Inherited from BaseGraphLiteralNode.)
Public methodEquals(BaseGraphLiteralNode)
Determines whether this Node is equal to a Graph Literal Node.
(Inherited from BaseGraphLiteralNode.)
Public methodEquals(GraphLiteralNode)
Determines whether this Node is equal to a Graph Literal Node.
Public methodEquals(IBlankNode)
Determines whether this Node is equal to a Blank Node (should always be false).
(Inherited from BaseGraphLiteralNode.)
Public methodEquals(IGraphLiteralNode)
Determines whether this Node is equal to a Graph Literal Node.
(Inherited from BaseGraphLiteralNode.)
Public methodEquals(ILiteralNode)
Determines whether this Node is equal to a Literal Node (should always be false).
(Inherited from BaseGraphLiteralNode.)
Public methodEquals(INode)
Implementation of the Equals method for Graph Literal Nodes. Graph Literals are considered Equal if their respective Subgraphs are equal.
(Inherited from BaseGraphLiteralNode.)
Public methodEquals(IUriNode)
Determines whether this Node is equal to a URI Node (should always be false).
(Inherited from BaseGraphLiteralNode.)
Public methodEquals(IVariableNode)
Determines whether this Node is equal to a Variable Node (should always be false).
(Inherited from BaseGraphLiteralNode.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Gets a Hash Code for a Node.
(Inherited from BaseNode.)
Public methodGetObjectData
Gets the Serialization Information.
(Inherited from BaseGraphLiteralNode.)
Public methodGetSchema
Gets the schema for XML serialization.
(Inherited from BaseNode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadXml
Reads the data for XML deserialization.
(Inherited from BaseGraphLiteralNode.)
Public methodToString
Implementation of ToString for Graph Literals which produces a String representation of the Subgraph in N3 style syntax.
(Inherited from BaseGraphLiteralNode.)
Public methodToString(INodeFormatter)
Gets the String representation of the Node formatted with the given Node formatter.
(Inherited from BaseNode.)
Public methodToString(INodeFormatter, TripleSegment)
Gets the String representation of the Node formatted with the given Node formatter.
(Inherited from BaseNode.)
Public methodWriteXml
Writes the data for XML serialization.
(Inherited from BaseGraphLiteralNode.)
Top
Fields
  NameDescription
Protected field_graph
Reference to the Graph that the Node belongs to.
(Inherited from BaseNode.)
Protected field_graphUri
Uri of the Graph that the Node belongs to.
(Inherited from BaseNode.)
Protected field_hashcode
Stores the computed Hash Code for this Node.
(Inherited from BaseNode.)
Protected field_nodetype
Node Type for the Node.
(Inherited from BaseNode.)
Top
See Also