Abstract Class SimpleSaxListener

Description

SAX event handler.

  • abstract:

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


	
			
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 689)

Sets the document to write to.

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

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 710)

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 701)

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 Thu, 20 Jan 2005 17:10:35 +0000 by phpDocumentor 1.3.0RC3