SimpleTest


SimpleTest\SimpleSaxListener
parser.php at line 711

Class SimpleSaxListener

SimpleSaxListener

public abstract class SimpleSaxListener

SAX event handler.

Subpackage:
WebTester

Constructor Summary

SimpleSaxListener()

Sets the document to write to.

Method Summary
boolean

addContent(string text)

Unparsed, but relevant data.

boolean

endElement(string name)

End of element event.

boolean

startElement(string name, hash attributes)

Start of element event.

Constructor Detail

parser.php at line 717

SimpleSaxListener

public SimpleSaxListener()

Sets the document to write to.


Method Detail

parser.php at line 747

addContent

public boolean addContent(string text)

Unparsed, but relevant data.

Parameters:
text - May include unparsed tags.
Returns:
False on parse error.

parser.php at line 738

endElement

public boolean endElement(string name)

End of element event.

Parameters:
name - Element name.
Returns:
False on parse error.

parser.php at line 729

startElement

public boolean startElement(string name, hash attributes)

Start of element event.

Parameters:
name - Element name.
attributes - Name value pairs. Attributes without content are marked as true.
Returns:
False on parse error.

SimpleTest