Show / Hide Table of Contents

Class TypedLiteralEvent

An Event for representing Typed Literals.

Inheritance
System.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

| Improve this Doc 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.

| Improve this Doc 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.

Properties

| Improve this Doc View Source

DataType

Gets the DataType of the Typed Literal.

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

Value

Gets the Value of the Typed Literal.

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

Methods

| Improve this Doc 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)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • TypedLiteralEvent(string, string, string, PositionInfo)
    • TypedLiteralEvent(string, string, string)
  • Properties
    • DataType
    • Value
  • Methods
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX