Class AttributeEvent
An Event for representing Attributes of XML Node.
Inherited Members
Namespace: VDS.RDF.Parsing.Events.RdfXml
Assembly: dotNetRdf.dll
Syntax
public class AttributeEvent : BaseRdfXmlEvent, IRdfXmlEvent, IEvent
Constructors
| Improve this Doc View SourceAttributeEvent(string, string, string, string, PositionInfo)
Creates a new Attribute Event from an XML Attribute.
Declaration
public AttributeEvent(string localname, string ns, string value, string sourceXml, PositionInfo pos)
Parameters
Type | Name | Description |
---|---|---|
string | localname | Local Name of the Attribute. |
string | ns | Namespace Prefix of the Attribute. |
string | value | Value of the Attribute. |
string | sourceXml | Source XML of the Attribute. |
PositionInfo | pos | Position Info. |
AttributeEvent(string, string, string, string)
Creates a new Attribute Event from an XML Attribute.
Declaration
public AttributeEvent(string localname, string ns, string value, string sourceXml)
Parameters
Type | Name | Description |
---|---|---|
string | localname | Local Name of the Attribute. |
string | ns | Namespace Prefix of the Attribute. |
string | value | Value of the Attribute. |
string | sourceXml | Source XML of the Attribute. |
AttributeEvent(string, string, string, PositionInfo)
Creates a new Attribute Event from an XML Attribute.
Declaration
public AttributeEvent(string qname, string value, string sourceXml, PositionInfo pos)
Parameters
Type | Name | Description |
---|---|---|
string | qname | QName of the Attribute. |
string | value | Value of the Attribute. |
string | sourceXml | Source XML of the Attribute. |
PositionInfo | pos | Position Info. |
AttributeEvent(string, string, string)
Creates a new Attribute Event from an XML Attribute.
Declaration
public AttributeEvent(string qname, string value, string sourceXml)
Parameters
Type | Name | Description |
---|---|---|
string | qname | QName of the Attribute. |
string | value | Value of the Attribute. |
string | sourceXml | Source XML of the Attribute. |
Properties
| Improve this Doc View SourceLocalName
Gets the Local Name of the Attribute.
Declaration
public string LocalName { get; }
Property Value
Type | Description |
---|---|
string |
Namespace
Gets the Namespace Prefix of the Attribute.
Declaration
public string Namespace { get; }
Property Value
Type | Description |
---|---|
string |
QName
Gets the QName of the Attribute.
Declaration
public string QName { get; }
Property Value
Type | Description |
---|---|
string |
Value
Gets the Value of the Attribute.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
string |