Show / Hide Table of Contents

Class RootEvent

Event representing the Root Node of the Document.

Inheritance
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

| Edit this page 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.

| Edit this page 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.

Properties

| Edit this page View Source

BaseUri

Gets the Base Uri of the Node.

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

Children

Gets all the Child ElementEvents of the Document Root.

Declaration
public List<ElementEvent> Children { get; }
Property Value
Type Description
List<ElementEvent>
| Edit this page View Source

DocumentElement

Gets/Sets the ElementEvent that represents the actual DocumentElement.

Declaration
public ElementEvent DocumentElement { get; set; }
Property Value
Type Description
ElementEvent
| Edit this page 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)
  • Edit this page
  • View Source
In this article
  • Constructors
    • RootEvent(string, string)
    • RootEvent(string, string, PositionInfo)
  • Properties
    • BaseUri
    • Children
    • DocumentElement
    • Language
  • Implements
  • Extension Methods
Back to top Generated by DocFX