Show / Hide Table of Contents

Class TypedLiteralEvent

An Event for representing Typed Literals.

Inheritance
object
BaseEvent
BaseRdfXmlEvent
TypedLiteralEvent
Implements
IRdfXmlEvent
IEvent
Inherited Members
BaseRdfXmlEvent.SourceXml
BaseEvent.EventType
BaseEvent.Position
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Parsing.Events.RdfXml
Assembly: dotNetRdf.dll
Syntax
public class TypedLiteralEvent : BaseRdfXmlEvent, IRdfXmlEvent, IEvent

Constructors

| Edit this page View Source

TypedLiteralEvent(string, string, string)

Creates a new Typed Literal Event.

Declaration
public TypedLiteralEvent(string value, string datatype, string sourceXml)
Parameters
Type Name Description
string value

Value of the Literal.

string datatype

DataType Uri of the Literal.

string sourceXml

Source XML of the Event.

| Edit this page View Source

TypedLiteralEvent(string, string, string, PositionInfo)

Creates a new Typed Literal Event.

Declaration
public TypedLiteralEvent(string value, string datatype, string sourceXml, PositionInfo pos)
Parameters
Type Name Description
string value

Value of the Literal.

string datatype

DataType Uri of the Literal.

string sourceXml

Source XML of the Event.

PositionInfo pos

Position Info.

Properties

| Edit this page View Source

DataType

Gets the DataType of the Typed Literal.

Declaration
public string DataType { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Value

Gets the Value of the Typed Literal.

Declaration
public string Value { get; }
Property Value
Type Description
string

Methods

| Edit this page View Source

ToString()

Gets the String representation of the Event.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Implements

IRdfXmlEvent
IEvent

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • TypedLiteralEvent(string, string, string)
    • TypedLiteralEvent(string, string, string, PositionInfo)
  • Properties
    • DataType
    • Value
  • Methods
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX