I have to realize an XML to an object of a defined class, the problem is the following: assuming the class has 3 attributes (a, b and c), the xml come with the 3 attributes and it is easy to realize them to the object, my inconvenience is that sometimes the XML does not come with all the complete nodes, to say only comes with the node a and c, then how do I do it to an object and for the node that does not have to put null for example or another default value.