com.cedarsoft.serialization
Class SerializingStrategySupport<T,S extends SerializingStrategy<? extends T,?,?>>

java.lang.Object
  extended by com.cedarsoft.serialization.SerializingStrategySupport<T,S>
Type Parameters:
T - the type
S - the serializing strategy type

public class SerializingStrategySupport<T,S extends SerializingStrategy<? extends T,?,?>>
extends java.lang.Object


Constructor Summary
SerializingStrategySupport(java.util.Collection<? extends SerializingStrategy<? extends T,?,?>> strategies)
           
 
Method Summary
 S findStrategy(java.lang.String type)
           
 S findStrategy(T object)
           
 java.util.Collection<? extends S> getStrategies()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializingStrategySupport

public SerializingStrategySupport(java.util.Collection<? extends SerializingStrategy<? extends T,?,?>> strategies)
Method Detail

findStrategy

@NotNull
public S findStrategy(@NotNull@NonNls
                              java.lang.String type)
                                                            throws NotFoundException
Throws:
NotFoundException

findStrategy

@NotNull
public S findStrategy(@NotNull
                              T object)
                                                            throws NotFoundException
Throws:
NotFoundException

getStrategies

@NotNull
public java.util.Collection<? extends S> getStrategies()


Copyright © 2009 cedarsoft GmbH. All Rights Reserved.