Show / Hide Table of Contents

Class RootEvent

Event representing the Root Node of the Document.

Inheritance
System.Object
BaseEvent
BaseRdfXmlEvent
RootEvent
Implements
IRdfXmlEvent
IEvent
Inherited Members
BaseRdfXmlEvent.SourceXml
BaseEvent.EventType
BaseEvent.Position
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Parsing.Events.RdfXml
Assembly: dotNetRdf.dll
Syntax
public class RootEvent : BaseRdfXmlEvent, IRdfXmlEvent, IEvent

Constructors

| Improve this Doc View Source

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.

| Improve this Doc View Source

RootEvent(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.

Properties

| Improve this Doc View Source

BaseUri

Gets the Base Uri of the Node.

Declaration
public string BaseUri { get; set; }
Property Value
Type Description
string
| Improve this Doc View Source

Children

Gets all the Child ElementEvents of the Document Root.

Declaration
public List<ElementEvent> Children { get; }
Property Value
Type Description
System.Collections.Generic.List<T><ElementEvent>
| Improve this Doc View Source

DocumentElement

Gets/Sets the ElementEvent that represents the actual DocumentElement.

Declaration
public ElementEvent DocumentElement { get; set; }
Property Value
Type Description
ElementEvent
| Improve this Doc View Source

Language

Gets the Language of the Node.

Declaration
public string Language { get; set; }
Property Value
Type Description
string

Implements

IRdfXmlEvent
IEvent

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • RootEvent(string, string, PositionInfo)
    • RootEvent(string, string)
  • Properties
    • BaseUri
    • Children
    • DocumentElement
    • Language
  • Implements
  • Extension Methods
Back to top Generated by DocFX