1: <?php
2: // $Id$
3: /*******************************************************************************
4: Location: <strong>xml/XmlTagHandler</strong><br>
5: <br>
6: XmlTagHandler<br>
7: <br>
8: Copyright © 2001 eXtremePHP. All rights reserved.<br>
9: <br>
10: @author Ken Egervari, Remi Michalski<br>
11: *******************************************************************************/
12:
13: class XmlTagHandler
14: {
15: /**
16: * @abstract
17: *
18: * @return array|string
19: */
20: function getName() {}
21:
22: /**
23: * @abstract
24: * @param SaxParser $parser
25: * @param array $attributes
26: * @return void
27: */
28: function handleBeginElement(SaxParser $parser, &$attributes) {}
29:
30: /**
31: * @abstract
32: * @param SaxParser $parser
33: * @return void
34: */
35: function handleEndElement(SaxParser $parser) {}
36:
37: /**
38: * @abstract
39: * @param SaxParser $parser
40: * @param $data
41: * @return void
42: */
43: function handleCharacterData(SaxParser $parser, &$data) {}
44: }
45: