Comments: on this page. Click to read or post your own.

Class SimpleSaxListener

Description

SAX event handler.

  • abstract:

Located in /sapphire/dev/simpletest/parser.php (line 725)


	
			
Direct descendents
Class Description
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 731)

Sets the document to write to.

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

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

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

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:
blog comments powered by Disqus

Documentation generated on Sun, 19 Oct 2008 06:44:03 +1300 by phpDocumentor 1.3.2