Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
XMLParserDOMHandler Class Reference
Inheritance diagram for XMLParserDOMHandler:
XMLParserHandler ONIXParserDOMHandler

Public Member Functions

 characterData (&$parser, $data)
 
 endElement (&$parser, $tag)
 
getResult ()
 
 startElement (&$parser, $tag, $attributes)
 
 XMLParserHandler ()
 
- Public Member Functions inherited from XMLParserHandler
 characterData (&$parser, $data)
 
 endElement (&$parser, $tag)
 
getResult ()
 
 startElement (&$parser, $tag, $attributes)
 

Detailed Description

Default handler for XMLParser returning a simple DOM-style object. This handler parses an XML document into a tree structure of XMLNode objects.

See Also
XMLParser

Definition at line 22 of file XMLParserDOMHandler.inc.php.

Member Function Documentation

XMLParserDOMHandler::characterData ( $parser,
  $data 
)

Callback function to act as the character data handler.

Definition at line 76 of file XMLParserDOMHandler.inc.php.

XMLParserDOMHandler::endElement ( $parser,
  $tag 
)

Callback function to act as the end element handler.

Definition at line 67 of file XMLParserDOMHandler.inc.php.

& XMLParserDOMHandler::getResult ( )

Returns a reference to the root node of the tree representing the document.

Returns
XMLNode

Definition at line 84 of file XMLParserDOMHandler.inc.php.

XMLParserDOMHandler::startElement ( $parser,
  $tag,
  $attributes 
)

Callback function to act as the start element handler.

Definition at line 48 of file XMLParserDOMHandler.inc.php.

XMLParserDOMHandler::XMLParserHandler ( )

Constructor.

Definition at line 36 of file XMLParserDOMHandler.inc.php.


The documentation for this class was generated from the following file: