org.cruxframework.crux.core.rebind.screen.resources
Class ResourcesHandlerProxyCreator

java.lang.Object
  extended by org.cruxframework.crux.core.rebind.AbstractProxyCreator
      extended by org.cruxframework.crux.core.rebind.screen.resources.ResourcesHandlerProxyCreator

public class ResourcesHandlerProxyCreator
extends AbstractProxyCreator

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.AbstractProxyCreator
cacheable, cacheableVersionFound, context, logger
 
Constructor Summary
ResourcesHandlerProxyCreator(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.GeneratorContext context, String resourceId, View view, String devive)
           
 
Method Summary
protected  void generateProxyFields(AbstractProxyCreator.SourcePrinter printer)
          Generate any fields required by the proxy.
protected  void generateProxyMethods(AbstractProxyCreator.SourcePrinter printer)
           
 String getProxyQualifiedName()
           
 String getProxySimpleName()
           
protected  AbstractProxyCreator.SourcePrinter getSourcePrinter()
           
 
Methods inherited from class org.cruxframework.crux.core.rebind.AbstractProxyCreator
cacheableVersionFound, create, findCacheableImplementationAndMarkForReuseIfAvailable, findCacheableImplementationAndMarkForReuseIfAvailable, generateLoggerField, generateMethodParameters, generateMethodTrhowsClause, generateProxyContructor, 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

ResourcesHandlerProxyCreator

public ResourcesHandlerProxyCreator(com.google.gwt.core.ext.TreeLogger logger,
                                    com.google.gwt.core.ext.GeneratorContext context,
                                    String resourceId,
                                    View view,
                                    String devive)
Method Detail

generateProxyFields

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

Overrides:
generateProxyFields in class AbstractProxyCreator
Throws:
CruxGeneratorException

generateProxyMethods

protected void generateProxyMethods(AbstractProxyCreator.SourcePrinter printer)
                             throws CruxGeneratorException
Overrides:
generateProxyMethods in class AbstractProxyCreator
Throws:
CruxGeneratorException

getProxyQualifiedName

public String getProxyQualifiedName()
Specified by:
getProxyQualifiedName in class AbstractProxyCreator
Returns:
the full qualified name of the proxy object.

getProxySimpleName

public String getProxySimpleName()
Specified by:
getProxySimpleName in class AbstractProxyCreator
Returns:
the simple name of the proxy object.

getSourcePrinter

protected AbstractProxyCreator.SourcePrinter getSourcePrinter()
Specified by:
getSourcePrinter in class AbstractProxyCreator
Returns:
a sourceWriter for the proxy class


Copyright © 2014. All rights reserved.