public Read ( InputNode node, Class type ) : Object | ||
node | InputNode | /// this is the node that is to be deserialized /// |
type | Class | /// this is the XML schema class to be used /// |
Résultat | Object |
read
method is used to deserialize an object from the provided XML element. The class provided acts as the XML schema definition used to control the deserialization. If the XML schema does not have a Root
annotation this throws an exception. Also if the root annotation name is not the same as the XML element name an exception is thrown. public Read ( InputNode node, Class type ) : Object | ||
node | InputNode | /// this is the node that is to be deserialized /// |
type | Class | /// this is the XML schema class to be used /// |
Résultat | Object |