<?xml version="1.0" encoding="UTF-8"?>
<user userId="1"><realname>schst</realname><role>admin</role></user>

Using the PHP reflection
Person
 -> __construct
 -> getId
 -> getName
 -> getAge
 -> getRole

Using the Stubbles reflection
stubXMLTagAnnotation Object
(
    [tagName:protected] => user
    [elementTagName:protected] => 
    [annotationName:protected] => XMLTag
    [reflectedClasses:protected] => Array
        (
        )

    [_serializedProperties:protected] => Array
        (
        )

)
getId -> userId