Class TypedLiteralEvent
An Event for representing Typed Literals.
Inherited Members
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 SourceTypedLiteralEvent(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. |
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 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
| Improve this Doc View SourceToString()
Gets the String representation of the Event.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
object.ToString()