public Write ( OutputNode node, Object source ) : void | ||
node | OutputNode | /// this is the XML element to have its text set /// |
source | Object | /// this is the object to be serialized /// |
return | void |
write
method will serialize the contents of the provided object to the given XML element. This will use the String.valueOf
method to convert the object to a string if the object represents a primitive, if however the object represents an enumerated type then the text value is created using Enum.name
. public Write ( OutputNode node, Object source ) : void | ||
node | OutputNode | /// this is the XML element to have its text set /// |
source | Object | /// this is the object to be serialized /// |
return | void |