Class TextEvent
Event for representing plain text content (XML Text Nodes).
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)
Namespace: VDS.RDF.Parsing.Events.RdfXml
Assembly: dotNetRDF.dll
Syntax
public class TextEvent : BaseRdfXmlEvent, IRdfXmlEvent, IEvent
Constructors
| Improve this Doc View SourceTextEvent(String, String)
Creates a new Text Node.
Declaration
public TextEvent(string value, string sourceXml)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | Textual Content of the XML Text Node. |
System.String | sourceXml | Source XML of the Node. |
TextEvent(String, String, PositionInfo)
Creates a new Text Node.
Declaration
public TextEvent(string value, string sourceXml, PositionInfo pos)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | Textual Content of the XML Text Node. |
System.String | sourceXml | Source XML of the Node. |
PositionInfo | pos | Position Info. |
Properties
| Improve this Doc View SourceValue
Gets the Textual Content of the Event.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceToString()
Gets the String representation of the Event.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()