Services_Yadis_XMLParser
The base class for wrappers for available PHP XML-parsing
extensions. To work with this Yadis library, subclasses of this class MUST implement the API as defined in the remarks for this class. Subclasses of Services_Yadis_XMLParser are used to wrap particular PHP XML extensions such as 'domxml'. These are used internally by the library depending on the availability of supported PHP XML extensions.
Located in /openid/Services/Yadis/XML.php (line 21)
Services_Yadis_XMLParser
Class | Description |
---|---|
Services_Yadis_domxml | This concrete implementation of Services_Yadis_XMLParser implements |
Services_Yadis_dom | This concrete implementation of Services_Yadis_XMLParser implements |
Return the attributes of a specified node.
- mixed $node: A node object from a previous call to $this->evalXPath().
Return the textual content of a specified node.
- mixed $node: A node object from a previous call to $this->evalXPath().
Evaluate an XPath expression and return the resulting node list. This should be overridden by subclasses.
- string $xpath: The XPath expression to be evaluated.
- mixed $node: A node object resulting from a previous evalXPath call. This node, if specified, provides the context for the evaluation of this xpath expression.
Initialize an instance of Services_Yadis_XMLParser with some XML and namespaces. This SHOULD NOT be overridden by subclasses.
- string $xml_string: A string of XML to be parsed.
- array $namespace_map: An array of ($ns_name => $ns_uri) to be registered with the XML parser. May be empty.
Register a namespace with the XML parser. This should be overridden by subclasses.
- string $prefix: The namespace prefix to appear in XML tag names.
- string $uri: The namespace URI to be used to identify the namespace in the XML.
Set this parser object's XML payload. This should be overridden by subclasses.
- string $xml_string: The XML string to pass to this object's XML parser.
Documentation generated on Mon, 05 Mar 2007 21:31:48 +0000 by phpDocumentor 1.3.1