Class RootEvent
Event representing the Root Node of the Document.
Inherited Members
Namespace: VDS.RDF.Parsing.Events.RdfXml
Assembly: dotNetRdf.dll
Syntax
public class RootEvent : BaseRdfXmlEvent, IRdfXmlEvent, IEvent
Constructors
| Edit this page View SourceRootEvent(string, string)
Creates a new Root Event.
Declaration
public RootEvent(string baseUri, string sourceXml)
Parameters
Type | Name | Description |
---|---|---|
string | baseUri | Base Uri of the Document. |
string | sourceXml | Source XML of the Document. |
RootEvent(string, string, PositionInfo)
Creates a new Root Event.
Declaration
public RootEvent(string baseUri, string sourceXml, PositionInfo pos)
Parameters
Type | Name | Description |
---|---|---|
string | baseUri | Base Uri of the Document. |
string | sourceXml | Source XML of the Document. |
PositionInfo | pos | Position Info. |
Properties
| Edit this page View SourceBaseUri
Gets the Base Uri of the Node.
Declaration
public string BaseUri { get; set; }
Property Value
Type | Description |
---|---|
string |
Children
Gets all the Child ElementEvents of the Document Root.
Declaration
public List<ElementEvent> Children { get; }
Property Value
Type | Description |
---|---|
List<ElementEvent> |
DocumentElement
Gets/Sets the ElementEvent that represents the actual DocumentElement.
Declaration
public ElementEvent DocumentElement { get; set; }
Property Value
Type | Description |
---|---|
ElementEvent |
Language
Gets the Language of the Node.
Declaration
public string Language { get; set; }
Property Value
Type | Description |
---|---|
string |