Class BaseRdfAEvent
Abstract Base Class for IRdfAEvent implementations.
Inherited Members
Namespace: VDS.RDF.Parsing.Events
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseRdfAEvent : BaseEvent, IRdfAEvent, IEvent
Constructors
| Edit this page View SourceBaseRdfAEvent(int, 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 |
---|---|---|
int | eventType | Event Type. |
PositionInfo | pos | Position Info. |
IEnumerable<KeyValuePair<string, string>> | attributes | Attributes. |
Properties
| Edit this page 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 |
---|---|
IEnumerable<KeyValuePair<string, string>> |
this[string]
Gets the value of a specific attribute.
Declaration
public string this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
string | name | Attribute Name. |
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceHasAttribute(string)
Gets whether the Event has a given attribute.
Declaration
public bool HasAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Attribute Name. |
Returns
Type | Description |
---|---|
bool |