org.cruxframework.crux.core.rebind.formatter
Class RegisteredClientFormattersProxyCreator

java.lang.Object
  extended by org.cruxframework.crux.core.rebind.AbstractProxyCreator
      extended by org.cruxframework.crux.core.rebind.AbstractInterfaceWrapperProxyCreator
          extended by org.cruxframework.crux.core.rebind.formatter.RegisteredClientFormattersProxyCreator

public class RegisteredClientFormattersProxyCreator
extends AbstractInterfaceWrapperProxyCreator

Author:
Thiago da Rosa de Bustamante

Nested Class Summary
 
Nested classes/interfaces inherited from class org.cruxframework.crux.core.rebind.AbstractProxyCreator
AbstractProxyCreator.SourcePrinter
 
Field Summary
 
Fields inherited from class org.cruxframework.crux.core.rebind.AbstractInterfaceWrapperProxyCreator
baseIntf
 
Fields inherited from class org.cruxframework.crux.core.rebind.AbstractProxyCreator
cacheable, cacheableVersionFound, context, logger
 
Constructor Summary
RegisteredClientFormattersProxyCreator(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.GeneratorContext context)
          Constructor
 
Method Summary
protected  void generateProxyContructor(AbstractProxyCreator.SourcePrinter srcWriter)
          Generate the proxy constructor and delegate to the superclass constructor using the default address for the RemoteService.
protected  void generateProxyFields(AbstractProxyCreator.SourcePrinter srcWriter)
          Generate any fields required by the proxy.
protected  void generateProxyMethods(AbstractProxyCreator.SourcePrinter srcWriter)
           
protected  String[] getImports()
           
 
Methods inherited from class org.cruxframework.crux.core.rebind.AbstractInterfaceWrapperProxyCreator
findCacheableImplementationAndMarkForReuseIfAvailable, getDeviceFeatures, getModule, getProxyQualifiedName, getProxySimpleName, getScreens, getSourcePrinter, getUserAgent, getViews
 
Methods inherited from class org.cruxframework.crux.core.rebind.AbstractProxyCreator
cacheableVersionFound, create, findCacheableImplementationAndMarkForReuseIfAvailable, generateLoggerField, generateMethodParameters, generateMethodTrhowsClause, generateProxyWrapperMethodDeclaration, generateSubTypes, getJsniSimpleSignature, isAlreadyGenerated, isCacheable, isCrux2OldInterfacesCompatibilityEnabled, logDebugMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegisteredClientFormattersProxyCreator

public RegisteredClientFormattersProxyCreator(com.google.gwt.core.ext.TreeLogger logger,
                                              com.google.gwt.core.ext.GeneratorContext context)
Constructor

Parameters:
logger -
context -
Method Detail

getImports

protected String[] getImports()
Specified by:
getImports in class AbstractInterfaceWrapperProxyCreator
Returns:
the list of imports required by proxy
See Also:
AbstractInterfaceWrapperProxyCreator.getImports()

generateProxyContructor

protected void generateProxyContructor(AbstractProxyCreator.SourcePrinter srcWriter)
                                throws CruxGeneratorException
Description copied from class: AbstractProxyCreator
Generate the proxy constructor and delegate to the superclass constructor using the default address for the RemoteService.

Overrides:
generateProxyContructor in class AbstractProxyCreator
Throws:
CruxGeneratorException
See Also:
org.cruxframework.crux.core.rebind.AbstractProxyCreator#generateProxyContructor(com.google.gwt.user.rebind.SourcePrinter)

generateProxyFields

protected void generateProxyFields(AbstractProxyCreator.SourcePrinter srcWriter)
                            throws CruxGeneratorException
Description copied from class: AbstractProxyCreator
Generate any fields required by the proxy.

Overrides:
generateProxyFields in class AbstractProxyCreator
Throws:
CruxGeneratorException
See Also:
org.cruxframework.crux.core.rebind.AbstractProxyCreator#generateProxyFields(com.google.gwt.user.rebind.SourcePrinter)

generateProxyMethods

protected void generateProxyMethods(AbstractProxyCreator.SourcePrinter srcWriter)
                             throws CruxGeneratorException
Overrides:
generateProxyMethods in class AbstractProxyCreator
Throws:
CruxGeneratorException
See Also:
org.cruxframework.crux.core.rebind.AbstractProxyCreator#generateProxyMethods(com.google.gwt.user.rebind.SourcePrinter)


Copyright © 2014. All rights reserved.