Element listener interface. Listens to elements in an XML document. Users of this API can either implement their own element listeners, or use one of the pre-defined listeners:
- ContentListener - Holds the content of an element
- RecordListener - Reads records, a list of XML elements with subelements representing the fields in a record
- Serializer - Writes the XML, without indentation and line feeds, to a string builder
- FormattingSerializer - Writes the XML, including tags and attributes, to a string builder
- Registry - Registers element listeners for different element paths in the XML document
- Duplexer - Distributes all callbacks to two element listeners
Namespace: Apptus.Util.Xml
Assembly: Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 3.47.3
Syntax
C#
public interface ElementListener
The ElementListener type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Content |
Notifies the element listener that an element contains supplied character content.
|
![]() | End |
Notifies the element listener that an element ends.
|
![]() | ListenedTo |
Notifies the element listener that an element is no longer listened to.
|
![]() | ListenTo |
Returns a listener for the element specified by a path.
|
![]() | Start |
Notifies the element listener that an element starts.
|
See Also