Class BaseRdfAEvent
Abstract Base Class for IRdfAEvent implementations.
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
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseRdfAEvent : BaseEvent, IRdfAEvent, IEvent
Constructors
| Improve this Doc View SourceBaseRdfAEvent(Int32, PositionInfo, IEnumerable<KeyValuePair<String, String>>)
Creates a new RDFa Event.
Declaration
public BaseRdfAEvent(int eventType, PositionInfo pos, IEnumerable<KeyValuePair<string, string>> attributes)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | eventType | Event Type. |
PositionInfo | pos | Position Info. |
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>> | attributes | Attributes. |
Properties
| Improve this Doc View SourceAttributes
Gets the attributes of the event i.e. the attributes of the source element.
Declaration
public IEnumerable<KeyValuePair<string, string>> Attributes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>> |
Item[String]
Gets the value of a specific attribute.
Declaration
public string this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Attribute Name. |
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceHasAttribute(String)
Gets whether the Event has a given attribute.
Declaration
public bool HasAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Attribute Name. |
Returns
Type | Description |
---|---|
System.Boolean |