This class conducts serialization/deserialization and permits you to decide if you want all or only dirty properties to be updated.
Constructors
RepositoryItemSerializer()
Constructs a serializer instance.
RepositoryItemSerializer(RepositoryItem)
Constructs an object holding serialized content.
Methods
deserialize (string)
Deserializes an XML-formatted string into a new RepositoryItem
.
deserialize (string, boolean)
Deserializes an XML document string into a RepositoryItem
. Additional arguments true
or false
indicate whether values for only dirty properties (true
) or all properties (false
) should be deserialized.
serialize (string)
Serializes a RepositoryItem
into an XML-formatted string document.
serialize (boolean)
Serializes a RepositoryItem
into an XML document. Additional arguments true
and false
indicate whether values for only dirty properties (true
) or all properties (false
) should be deserialized.