Class TypedLiteralEvent
An Event for representing Typed Literals.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.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)
Creates a new Typed Literal Event.
Declaration
public TypedLiteralEvent(string value, string datatype, string sourceXml)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | Value of the Literal. |
System.String | datatype | DataType Uri of the Literal. |
System.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 |
---|---|---|
System.String | value | Value of the Literal. |
System.String | datatype | DataType Uri of the Literal. |
System.String | sourceXml | Source XML of the Event. |
PositionInfo | pos | Position Info. |
Properties
| Improve this Doc View SourceDataType
Gets the DataType of the Typed Literal.
Declaration
public string DataType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Value
Gets the Value of the Typed Literal.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceToString()
Gets the String representation of the Event.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()