| [ Index ] |
|
Code source de Joomla 1.0.13 |
[Code source] [Imprimer] [Statistiques]
SAXY is a non-validating, but lightweight and fast SAX parser for PHP, modelled on the Expat parser
| Author: | John Heinstein <johnkarl@nbnet.nb.ca> |
| Copyright: | (C) 2004 John Heinstein. All rights reserved |
| License: | http://www.gnu.org/copyleft/lesser.html LGPL License |
| Version: | 1.0 |
| Poids: | 842 lignes (25 kb) |
| Inclus ou requis: | 2 fois |
| Référencé: | 0 fois |
| Nécessite: | 1 fichier includes/domit/xml_saxy_shared.php |
SAXY_Parser:: (27 méthodes):
SAXY_Parser()
xml_set_doctype_handler()
xml_set_comment_handler()
xml_set_processing_instruction_handler()
xml_set_start_namespace_decl_handler()
xml_set_end_namespace_decl_handler()
setNamespaceAwareness()
getVersion()
preprocessXML()
parse()
parseTag()
_fireStartElementEvent()
expandAttributePrefixes()
expandNamespacePrefix()
getNamespaceURI()
detectStartNamespaceDeclaration()
_fireEndElementEvent()
detectEndNamespaceDeclaration()
parseProcessingInstruction()
parseComment()
fireDTDEvent()
fireCommentEvent()
fireProcessingInstructionEvent()
fireStartNamespaceDeclarationEvent()
fireEndNamespaceDeclarationEvent()
xml_get_error_code()
xml_error_string()
Classe: SAXY_Parser - X-Ref
The SAX Parser class| SAXY_Parser() X-Ref |
| Constructor for SAX parser |
| xml_set_doctype_handler($handler) X-Ref |
| Sets a reference to the handler for the DocType event param: mixed A reference to the DocType handler |
| xml_set_comment_handler($handler) X-Ref |
| Sets a reference to the handler for the Comment event param: mixed A reference to the Comment handler |
| xml_set_processing_instruction_handler($handler) X-Ref |
| Sets a reference to the handler for the Processing Instruction event param: mixed A reference to the Processing Instruction handler |
| xml_set_start_namespace_decl_handler($handler) X-Ref |
| Sets a reference to the handler for the Start Namespace Declaration event param: mixed A reference to the Start Namespace Declaration handler |
| xml_set_end_namespace_decl_handler($handler) X-Ref |
| Sets a reference to the handler for the End Namespace Declaration event param: mixed A reference to the Start Namespace Declaration handler |
| setNamespaceAwareness($isNamespaceAware) X-Ref |
| Specifies whether SAXY is namespace sensitive param: boolean True if SAXY is namespace aware |
| getVersion() X-Ref |
| Returns the current version of SAXY return: Object The current version of SAXY |
| preprocessXML($xmlText) X-Ref |
| Processes the xml prolog, doctype, and any other nodes that exist outside of the main xml document param: string The xml text to be processed return: string The preprocessed xml text |
| parse($xmlText) X-Ref |
| The controlling method for the parsing process param: string The xml text to be processed return: boolean True if parsing is successful |
| parseTag($tagText) X-Ref |
| Parses an element tag param: string The interior text of the element tag |
| _fireStartElementEvent($tagName, &$myAttributes) X-Ref |
| Fires a start element event and pushes the element name onto the elementName stack param: string The start element tag name param: Array The start element attributes |
| expandAttributePrefixes(&$myAttributes) X-Ref |
| Expands attribute prefixes to full namespace uri param: Array The start element attributes |
| expandNamespacePrefix($tagName) X-Ref |
| Expands the namespace prefix (if one exists) to the full namespace uri param: string The tagName with the namespace prefix return: string The tagName, with the prefix expanded to the namespace uri |
| getNamespaceURI($prefix) X-Ref |
| Searches the namespaceMap for the specified prefix, and returns the full namespace URI param: string The namespace prefix return: string The namespace uri |
| detectStartNamespaceDeclaration(&$myAttributes) X-Ref |
| Searches the attributes array for an xmlns declaration and fires an event if found param: Array The start element attributes |
| _fireEndElementEvent($tagName) X-Ref |
| Fires an end element event and pops the element name from the elementName stack param: string The end element tag name |
| detectEndNamespaceDeclaration() X-Ref |
| Determines whether an end namespace declaration event should be fired |
| parseProcessingInstruction($data) X-Ref |
| Parses a processing instruction param: string The interior text of the processing instruction |
| parseComment($data) X-Ref |
| Parses a comment param: string The interior text of the comment |
| fireDTDEvent($data) X-Ref |
| Fires a doctype event param: string The doctype data |
| fireCommentEvent($data) X-Ref |
| Fires a comment event param: string The text of the comment |
| fireProcessingInstructionEvent($target, $data) X-Ref |
| Fires a processing instruction event param: string The processing instruction data |
| fireStartNamespaceDeclarationEvent($prefix, $uri) X-Ref |
| Fires a start namespace declaration event param: string The namespace prefix param: string The namespace uri |
| fireEndNamespaceDeclarationEvent($prefix) X-Ref |
| Fires an end namespace declaration event param: string The namespace prefix |
| xml_get_error_code() X-Ref |
| Returns the current error code return: int The current error code |
| xml_error_string($code) X-Ref |
| Returns a textual description of the error code param: int The error code return: string The error message |
| Généré le : Wed Nov 21 14:43:32 2007 | par Balluche grâce à PHPXref 0.7 |
|