xmlstreamparser
Interface ParserListener

All Known Implementing Classes:
CommunicationManager

public interface ParserListener

XML Parser interface


Method Summary
 void blank()
          Called whenever the parser reads a "useless" blank character between two nodes.
 void nodeEnd(Node _node)
          Called whenever the parser finishes a node.
 void nodeStart(Node _node)
          Called when the parser starts a new node ...
 void prologEnd(Node _node)
          Called when the xml prolog has been read.
 

Method Detail

prologEnd

void prologEnd(Node _node)
Called when the xml prolog has been read. The prolog is the like string. Node's name and attributes (with values) are mapped.

Parameters:
_node - Contains all infos about the prolog.

nodeStart

void nodeStart(Node _node)
Called when the parser starts a new node ..., except for nodes like which only call the nodeEnd method. Node's name and attributes (with values) are mapped, contrary to text and children nodes (reported later with the nodeEnd method).

Parameters:
_node - Contains some infos about the starting node.

nodeEnd

void nodeEnd(Node _node)
Called whenever the parser finishes a node. Node's name and attributes (with values) are mapped, in addition to text and children nodes.

Parameters:
_node - Contains all infos about the ending node.

blank

void blank()
Called whenever the parser reads a "useless" blank character between two nodes. Such characters serve generally for formatting purposes.