Class PlainLiteralEvent
An Event for representing Plain Literals.
Inherited Members
Namespace: VDS.RDF.Parsing.Events.RdfXml
Assembly: dotNetRdf.dll
Syntax
public class PlainLiteralEvent : BaseRdfXmlEvent, IRdfXmlEvent, IEvent
Constructors
| Edit this page View SourcePlainLiteralEvent(string, string, string)
Creates a new Plain Literal Event.
Declaration
public PlainLiteralEvent(string value, string language, string sourceXml)
Parameters
Type | Name | Description |
---|---|---|
string | value | Value of the Literal. |
string | language | Language Specifier of the Literal. |
string | sourceXml | Source XML of the Event. |
PlainLiteralEvent(string, string, string, PositionInfo)
Creates a new Plain Literal Event.
Declaration
public PlainLiteralEvent(string value, string language, string sourceXml, PositionInfo pos)
Parameters
Type | Name | Description |
---|---|---|
string | value | Value of the Literal. |
string | language | Language Specifier of the Literal. |
string | sourceXml | Source XML of the Event. |
PositionInfo | pos | Position Info. |
Properties
| Edit this page View SourceLanguage
Gets the Langugage Specifier of the Plain Literal.
Declaration
public string Language { get; set; }
Property Value
Type | Description |
---|---|
string |
Value
Gets the Value of the Plain Literal.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
string |