Class RootEvent
Event representing the Root Node of the Document.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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)
Creates a new Root Event.
Declaration
public RootEvent(string baseUri, string sourceXml)
Parameters
Type | Name | Description |
---|---|---|
System.String | baseUri | Base Uri of the Document. |
System.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 |
---|---|---|
System.String | baseUri | Base Uri of the Document. |
System.String | sourceXml | Source XML of the Document. |
PositionInfo | pos | Position Info. |
Properties
| Improve this Doc View SourceBaseUri
Gets the Base Uri of the Node.
Declaration
public string BaseUri { get; set; }
Property Value
Type | Description |
---|---|
System.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<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 |
---|---|
System.String |