[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/phing/parser/ -> AbstractSAXParser.php (sommaire)

The abstract SAX parser class. This class represents a SAX parser. It is a abstract calss that must be implemented by the real parser that must extend this class

Author: Andreas Aderhold <andi@binarycloud.com>
Author: Hans Lellelid <hans@xmpl.org>
Copyright: © 2001,2002 THYRELL. All rights reserved
Version: $Revision: 1.13 $
Poids: 140 lignes (5 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 5 fonctions

  __construct()
  setHandler()
  startElement()
  endElement()
  characters()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

__construct()   X-Ref
Constructs a SAX parser


setHandler( $obj)   X-Ref
Sets the current element handler object for this parser. Usually this
is an object using extending "AbstractHandler".

param: AbstractHandler $obj The handler object.

startElement($parser, $name, $attribs)   X-Ref
Method that gets invoked when the parser runs over a XML start element.

This method is called by PHP's internal parser funcitons and registered
in the actual parser implementation.
It gives control to the current active handler object by calling the
<code>startElement()</code> method.

BECAUSE OF PROBLEMS WITH EXCEPTIONS BUBBLING UP THROUGH xml_parse() THIS
METHOD WILL CALL Phing::halt(-1) ON EXCEPTION.

param: object  the php's internal parser handle
param: string  the open tag name
param: array   the tag's attributes if any

endElement($parser, $name)   X-Ref
Method that gets invoked when the parser runs over a XML close element.

This method is called by PHP's internal parser funcitons and registered
in the actual parser implementation.

It gives control to the current active handler object by calling the
<code>endElement()</code> method.

BECAUSE OF PROBLEMS WITH EXCEPTIONS BUBBLING UP THROUGH xml_parse() THIS
METHOD WILL CALL Phing::halt(-1) ON EXCEPTION.

param: object  the php's internal parser handle
param: string  the closing tag name

characters($parser, $data)   X-Ref
Method that gets invoked when the parser runs over CDATA.

This method is called by PHP's internal parser functions and registered
in the actual parser implementation.

It gives control to the current active handler object by calling the
<code>characters()</code> method. That processes the given CDATA.

BECAUSE OF PROBLEMS WITH EXCEPTIONS BUBBLING UP THROUGH xml_parse() THIS
METHOD WILL CALL Phing::halt(-1) ON EXCEPTION.

param: resource $parser php's internal parser handle.
param: string $data the CDATA



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7