Abstract Class SimpleSaxListener

Description

SAX event handler.

  • abstract:

Located in /libraries/pear/simpletest/parser.php (line 689)


	
			
Direct descendents
Class Description
 class SimplePageBuilder SAX event handler. Maintains a list of open tags and dispatches them as they close.
Method Summary
 SimpleSaxListener SimpleSaxListener ()
 boolean addContent (string $text)
 boolean endElement (string $name)
 boolean startElement (string $name, hash $attributes)
Methods
Constructor SimpleSaxListener (line 695)

Sets the document to write to.

  • access: public
SimpleSaxListener SimpleSaxListener ()
addContent (line 725)

Unparsed, but relevant data.

  • return: False on parse error.
  • access: public
boolean addContent (string $text)
  • string $text: May include unparsed tags.

Redefined in descendants as:
endElement (line 716)

End of element event.

  • return: False on parse error.
  • access: public
boolean endElement (string $name)
  • string $name: Element name.

Redefined in descendants as:
startElement (line 707)

Start of element event.

  • return: False on parse error.
  • access: public
boolean startElement (string $name, hash $attributes)
  • string $name: Element name.
  • hash $attributes: Name value pairs. Attributes without content are marked as true.

Redefined in descendants as:

Documentation generated on Fri, 11 Feb 2005 18:13:48 +0000 by phpDocumentor 1.3.0RC3