Class TypedLiteralEvent
An Event for representing Typed Literals.
Inherited Members
Namespace: VDS.RDF.Parsing.Events.RdfXml
Assembly: dotNetRdf.dll
Syntax
public class TypedLiteralEvent : BaseRdfXmlEvent, IRdfXmlEvent, IEvent
Constructors
| Edit this page View SourceTypedLiteralEvent(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. |
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 SourceDataType
Gets the DataType of the Typed Literal.
Declaration
public string DataType { get; set; }
Property Value
Type | Description |
---|---|
string |
Value
Gets the Value of the Typed Literal.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceToString()
Gets the String representation of the Event.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |