net.sf.sasl.language.placeholder.aop.resolver.typevalue
Interface ITypeValueSerializeStrategy

All Known Implementing Classes:
ToStringTypeValueSerializeStrategy, XmlTypeValueSerializeStrategy

public interface ITypeValueSerializeStrategy

Interface defines methods that a type value serialize algorithm (=strategy) must implement. A serializer transforms objects into a string representation. Here, the serializer must not implement the reverse algorithm so that isInternalStateEqual(object, unmarshall(marshall(object))) == true holds.

Since:
0.0.2 (sasl-common-aspect-library)
Author:
Philipp Förmer

Method Summary
 String serialize(Object[] toSerializeObjects, String[] names, Map<String,Object> argumentMap)
          Serializes the given toSerializeObjects and returns the serialized output.
 

Method Detail

serialize

String serialize(Object[] toSerializeObjects,
                 String[] names,
                 Map<String,Object> argumentMap)
Serializes the given toSerializeObjects and returns the serialized output. The names array could be filled with parameter names or something else and should have the same length as the toSerializeObjects array. The argumentMap could be used to pass additional special values to the serializer.

Parameters:
toSerializeObjects - non null.
names - non null.
argumentMap - non null.
Returns:
non null serialized output.
Since:
0.0.2 (sasl-common-aspect-library)


Copyright © 2010. All Rights Reserved.