Errai 3.0.1-SNAPSHOT

org.jboss.errai.marshalling.rebind
Class MarshallersGenerator

java.lang.Object
  extended by com.google.gwt.core.ext.Generator
      extended by org.jboss.errai.config.rebind.AbstractAsyncGenerator
          extended by org.jboss.errai.marshalling.rebind.MarshallersGenerator
All Implemented Interfaces:
AsyncCodeGenerator

public class MarshallersGenerator
extends AbstractAsyncGenerator

Author:
Mike Brock

Field Summary
static String SERVER_MARSHALLER_CLASS_NAME
           
static String SERVER_MARSHALLER_PACKAGE_NAME
           
 
Constructor Summary
MarshallersGenerator()
           
 
Method Summary
protected  String generate(com.google.gwt.core.ext.TreeLogger treeLogger, com.google.gwt.core.ext.GeneratorContext context)
          Called by AbstractAsyncGenerator.generateAsync(TreeLogger, GeneratorContext) to carry out the actual code generation.
 String generate(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.GeneratorContext context, String typeName)
           
 
Methods inherited from class org.jboss.errai.config.rebind.AbstractAsyncGenerator
generateAsync, startAsyncGeneratorsAndWaitFor
 
Methods inherited from class com.google.gwt.core.ext.Generator
escape
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER_MARSHALLER_PACKAGE_NAME

public static final String SERVER_MARSHALLER_PACKAGE_NAME
See Also:
Constant Field Values

SERVER_MARSHALLER_CLASS_NAME

public static final String SERVER_MARSHALLER_CLASS_NAME
See Also:
Constant Field Values
Constructor Detail

MarshallersGenerator

public MarshallersGenerator()
Method Detail

generate

public String generate(com.google.gwt.core.ext.TreeLogger logger,
                       com.google.gwt.core.ext.GeneratorContext context,
                       String typeName)
                throws com.google.gwt.core.ext.UnableToCompleteException
Specified by:
generate in class com.google.gwt.core.ext.Generator
Throws:
com.google.gwt.core.ext.UnableToCompleteException

generate

protected String generate(com.google.gwt.core.ext.TreeLogger treeLogger,
                          com.google.gwt.core.ext.GeneratorContext context)
Description copied from class: AbstractAsyncGenerator
Called by AbstractAsyncGenerator.generateAsync(TreeLogger, GeneratorContext) to carry out the actual code generation.

Specified by:
generate in class AbstractAsyncGenerator
context - the generator context to use.
Returns:
the generated code.

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.