Class RootEvent
Event representing the Root Node of the Document.
Inherited Members
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 SourceRootEvent(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. |
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 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 |
---|---|
System.Collections.Generic.List<T><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 |