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. |
eventType | Event Type. |
Position |
pos | Position Info. |
System. |
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. |
Item[String]
Gets the value of a specific attribute.
Declaration
public string this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System. |
name | Attribute Name. |
Property Value
Type | Description |
---|---|
System. |
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. |
name | Attribute Name. |
Returns
Type | Description |
---|---|
System. |