Class AttributeEvent
An Event for representing Attributes of XML Node.
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 AttributeEvent : BaseRdfXmlEvent, IRdfXmlEvent, IEvent
Constructors
| Improve this Doc View SourceAttributeEvent(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 |
---|---|---|
System.String | qname | QName of the Attribute. |
System.String | value | Value of the Attribute. |
System.String | sourceXml | Source XML of the Attribute. |
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 |
---|---|---|
System.String | localname | Local Name of the Attribute. |
System.String | ns | Namespace Prefix of the Attribute. |
System.String | value | Value of the Attribute. |
System.String | sourceXml | Source XML of the Attribute. |
AttributeEvent(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 |
---|---|---|
System.String | localname | Local Name of the Attribute. |
System.String | ns | Namespace Prefix of the Attribute. |
System.String | value | Value of the Attribute. |
System.String | sourceXml | Source XML of the Attribute. |
PositionInfo | pos | Position Info. |
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 |
---|---|---|
System.String | qname | QName of the Attribute. |
System.String | value | Value of the Attribute. |
System.String | sourceXml | Source XML of the Attribute. |
PositionInfo | pos | Position Info. |
Properties
| Improve this Doc View SourceLocalName
Gets the Local Name of the Attribute.
Declaration
public string LocalName { get; }
Property Value
Type | Description |
---|---|
System.String |
Namespace
Gets the Namespace Prefix of the Attribute.
Declaration
public string Namespace { get; }
Property Value
Type | Description |
---|---|
System.String |
QName
Gets the QName of the Attribute.
Declaration
public string QName { get; }
Property Value
Type | Description |
---|---|
System.String |
Value
Gets the Value of the Attribute.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
System.String |