C# Класс SimpleFramework.Xml.Stream.EventElement

The EventElement object is used to represent an event that has been extracted from the XML document. Events provide a framework neutral way to represent a token from the source XML. It provides the name and value of the event, if applicable, and also provides namespace information. Some nodes will have associated Attribute objects, typically these will be the XML element events. Also, if available, the event will provide the line number the event was encountered in the XML.
Наследование: EventNode
Показать файл Открыть проект

Открытые методы

Метод Описание
IsEnd ( ) : bool
IsStart ( ) : bool

This is true when the node represents a new element. This is the core event type as it contains the element name and any associated attributes. The core reader uses this to compose the input nodes that are produced.

IsText ( ) : bool

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

Описание методов

IsEnd() публичный Метод

public IsEnd ( ) : bool
Результат bool

IsStart() публичный Метод

This is true when the node represents a new element. This is the core event type as it contains the element name and any associated attributes. The core reader uses this to compose the input nodes that are produced.
public IsStart ( ) : bool
Результат bool

IsText() публичный Метод

This is true when the node represents a text token. Text tokens are required to provide a value only. So namespace details and the node name will typically return null.
public IsText ( ) : bool
Результат bool