com.cedarsoft.serialization
Interface SerializingStrategy<T,C,S,D,E extends java.lang.Throwable>

Type Parameters:
T - the type for this strategy
C - the type of the context
S - the serializing object
D - the deserializing object
E - the exception that might be thrown
All Superinterfaces:
PluggableSerializer<T,C,S,D,E>, Serializer<T,C>
All Known Subinterfaces:
JDomSerializingStrategy<T,C>, StaxMateSerializingStrategy<T,C>, StaxSerializingStrategy<T,C>
All Known Implementing Classes:
AbstractJDomSerializingStrategy, AbstractStaxMateSerializingStrategy, AbstractStaxSerializingStrategy

public interface SerializingStrategy<T,C,S,D,E extends java.lang.Throwable>
extends PluggableSerializer<T,C,S,D,E>


Field Summary
 
Fields inherited from interface com.cedarsoft.serialization.Serializer
PI_TARGET_FORMAT
 
Method Summary
 java.lang.String getId()
          Returns the id
 boolean supports(java.lang.Object object)
          Whether the given reference type is supported
 
Methods inherited from interface com.cedarsoft.serialization.PluggableSerializer
deserialize, serialize
 
Methods inherited from interface com.cedarsoft.serialization.Serializer
deserialize, getFormatVersion, serialize
 

Method Detail

getId

@NotNull
@NonNls
java.lang.String getId()
Returns the id

Returns:
the id

supports

boolean supports(@NotNull
                 java.lang.Object object)
Whether the given reference type is supported

Parameters:
object - the reference
Returns:
true if this strategy supports the reference, false otherwise


Copyright © 2009 cedarsoft GmbH. All Rights Reserved.