C# Class Entry.Start.Text, simplexml

The Text object is used to represent a text event. If wraps a node that holds text consumed from the document. These are used by InputNode objects to extract the text values for elements For debugging this exposes the node.
Inheritance: EventToken
ファイルを表示 Open project: ngallagher/simplexml

Public Methods

Method Description
IsText ( ) : bool

This is true as this event represents a text token. Text tokens are required to provide a value only. So namespace details and the node name will always return null.

Text ( Node, node ) : System

Constructor for the Text object. This creates an event that provides text to the core reader. Text can be in the form of a CDATA section or a normal text entry.

Method Details

IsText() public method

This is true as this event represents a text token. Text tokens are required to provide a value only. So namespace details and the node name will always return null.
public IsText ( ) : bool
return bool

Text() public method

Constructor for the Text object. This creates an event that provides text to the core reader. Text can be in the form of a CDATA section or a normal text entry.
public Text ( Node, node ) : System
node Node, /// this is the node that represents the text value ///
return System