com.cedarsoft.rest
Class DelegateJaxbMappings

java.lang.Object
  extended by com.cedarsoft.rest.DelegateJaxbMappings

public class DelegateJaxbMappings
extends Object


Constructor Summary
DelegateJaxbMappings()
           
 
Method Summary
<T,J extends JaxbObject,S extends JaxbStub<J>>
void
addMapping(Class<J> jaxbObjectType, Class<S> jaxbStubType, JaxbMapping<T,J,S> mapping)
           
<T,J extends JaxbObject,S extends JaxbStub<J>>
JaxbMapping<T,J,S>
getMapping(Class<J> jaxbObjectType)
           
<T,J extends JaxbObject,S extends JaxbStub<J>>
JaxbMapping<T,J,S>
getMappingForStub(Class<S> jaxbStubType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegateJaxbMappings

public DelegateJaxbMappings()
Method Detail

addMapping

public <T,J extends JaxbObject,S extends JaxbStub<J>> void addMapping(@NotNull
                                                                      Class<J> jaxbObjectType,
                                                                      @NotNull
                                                                      Class<S> jaxbStubType,
                                                                      @NotNull
                                                                      JaxbMapping<T,J,S> mapping)

getMapping

@NotNull
public <T,J extends JaxbObject,S extends JaxbStub<J>> JaxbMapping<T,J,S> getMapping(@NotNull
                                                                                            Class<J> jaxbObjectType)

getMappingForStub

@NotNull
public <T,J extends JaxbObject,S extends JaxbStub<J>> JaxbMapping<T,J,S> getMappingForStub(@NotNull
                                                                                                   Class<S> jaxbStubType)


Copyright © 2011 cedarsoft GmbH. All Rights Reserved.