XRL
2.0.0
Simple XML-RPC Library (both client and server)
|
An XML node as read from an XML reader. More...
Public Member Functions | |
__construct (\XMLReader $reader, $validate, $subtrees) | |
__get ($field) | |
emptyNodeExpansionWorked () | |
Protected Attributes | |
$properties | |
Fields that make up this node. | |
An XML node as read from an XML reader.
This class is used to memorize the last XML node that was read from an XML reader, so as to push the node back in case it could not be processed by an XML-RPC decoder.
fpoirotte\XRL\Node::__construct | ( | \XMLReader | $reader, |
$validate, | |||
$subtrees | |||
) |
Create a new XML node.
XMLReader | $reader | XML reader object that will be used to create this node. |
bool | $validate | Whether an exception should be raised (true ) or not (false ) if the current node is not valid. |
bool | $subtrees | Whether to explore subtrees (true ) or not (false ). |
Definition at line 44 of file Node.php.
References fpoirotte\XRL\Faults\INTERNAL_ERROR, fpoirotte\XRL\Faults\INVALID_XML_RPC, fpoirotte\XRL\Faults\NOT_WELL_FORMED, and fpoirotte\XRL\Faults\UNSUPPORTED_ENCODING.
fpoirotte\XRL\Node::__get | ( | $field | ) |
Magic method that returns one of the fields of this node.
string | $field | The name of the field to return. |
UnexpectedValueException | Raised when the given field does not exist. |
name
nodeType
value
isEmptyElement
fpoirotte\XRL\Node::emptyNodeExpansionWorked | ( | ) |