Class SAXY_Lite_Parser

Description

The SAX Parser class

Located in /includes/domit/xml_saxy_lite_parser.php (line 35)

SAXY_Parser_Base
   |
   --SAXY_Lite_Parser
Method Summary
SAXY_Lite_Parser SAXY_Lite_Parser ()
Object getVersion ()
boolean parse (string $xmlText)
void parseTag (string $tagText)
string preprocessXML (string $xmlText)
string xml_error_string (int $code)
Variables
Methods
Constructor SAXY_Lite_Parser (line 39)

Constructor for SAX parser

SAXY_Lite_Parser SAXY_Lite_Parser ()
getVersion (line 48)

Returns the current version of SAXY Lite

  • return: The current version of SAXY Lite
Object getVersion ()
parse (line 81)

The controlling method for the parsing process

  • return: True if parsing is successful
boolean parse (string $xmlText)
  • string $xmlText: The xml text to be processed
parseTag (line 129)

Parses an element tag

void parseTag (string $tagText)
  • string $tagText: The interior text of the element tag
preprocessXML (line 57)

Processes the xml prolog, doctype, and any other nodes that exist outside of the main xml document

  • return: The preprocessed xml text
string preprocessXML (string $xmlText)
  • string $xmlText: The xml text to be processed
xml_error_string (line 235)

Returns a textual description of the error code (non-functional for SAXY Lite)

  • return: The error message
string xml_error_string (int $code)
  • int $code: The error code
xml_get_error_code (line 226)

Returns the current error code (non-functional for SAXY Lite)

  • return: The current error code
int xml_get_error_code ()

Inherited Methods

Inherited From SAXY_Parser_Base

SAXY_Parser_Base::SAXY_Parser_Base()
SAXY_Parser_Base::appendEntityTranslationTable()
SAXY_Parser_Base::convertEntities()
SAXY_Parser_Base::fireCDataSectionEvent()
SAXY_Parser_Base::fireCharacterDataEvent()
SAXY_Parser_Base::fireEndElementEvent()
SAXY_Parser_Base::fireStartElementEvent()
SAXY_Parser_Base::getCharFromEnd()
SAXY_Parser_Base::parseAttributes()
SAXY_Parser_Base::parseBetweenTags()
SAXY_Parser_Base::xml_set_cdata_section_handler()
SAXY_Parser_Base::xml_set_character_data_handler()
SAXY_Parser_Base::xml_set_element_handler()

Documentation generated on Fri, 4 Mar 2005 13:58:01 +1000 by phpDocumentor 1.3.0RC3