Class PayPal_SDK_EndpointMappingParser

Description

Parser for the XML endpoints mapping file.

Located in /PayPal/SDK/Generator.php (line 470)


	
			
Variable Summary
string $error
array $mapping
resource $parser
array $pointers
Method Summary
void characterData (mixed $parser, mixed $data)
void defaultHandler (mixed $parser, mixed $data)
void endElement (mixed $parser, mixed $name)
void parse ($data $data)
void startElement (mixed $parser, mixed $name, mixed $attribs)
Variables
string $error = '' (line 494)

Error string.

array $mapping = array() (line 482)

The array that all the parsed information gets dumped into.

resource $parser = null (line 476)

XML parser resource.

array $pointers = array() (line 488)

Pointer to current tree point.

Methods
characterData (line 586)

The handler for character data encountered in the XML file.

void characterData (mixed $parser, mixed $data)
defaultHandler (line 596)

Handles things that we don't recognize.

void defaultHandler (mixed $parser, mixed $data)
endElement (line 564)

Handle the ends of XML elements - wrap up whatever we've been putting together and store it for safekeeping.

void endElement (mixed $parser, mixed $name)
parse (line 505)

Actually do the parsing. Separated from the constructor just in case you want to set any other options on the parser, load initial data, whatever.

  • access: protected
void parse ($data $data)
  • $data $data: The XML data to parse as RSS.
startElement (line 530)

Start collecting data about a new element.

void startElement (mixed $parser, mixed $name, mixed $attribs)

Documentation generated on Thu, 23 Jun 2005 13:27:45 -0400 by phpDocumentor 1.2.3