Errai 3.0.1-SNAPSHOT

org.jboss.errai.enterprise.rebind
Class TypeMarshaller

java.lang.Object
  extended by org.jboss.errai.enterprise.rebind.TypeMarshaller

public class TypeMarshaller
extends Object

Generates the required Statements for type marshalling.

Author:
Christian Sadilek

Nested Class Summary
static class TypeMarshaller.PrimitiveTypeMarshaller
          Works for all types that have a 'copy constructor', a toString() representation and a valueOf() method (all primitive wrapper types and java.lang.String).
 
Constructor Summary
TypeMarshaller()
           
 
Method Summary
static Statement demarshal(MetaClass type, Statement statement, String accepts)
           
static Statement marshal(MetaClass type, Statement statement)
           
static Statement marshal(MetaClass type, Statement statement, String contentType)
           
static Statement marshal(Statement statement)
           
static Statement marshal(Statement statement, String contentType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeMarshaller

public TypeMarshaller()
Method Detail

marshal

public static Statement marshal(Statement statement)

marshal

public static Statement marshal(MetaClass type,
                                Statement statement)

marshal

public static Statement marshal(Statement statement,
                                String contentType)

marshal

public static Statement marshal(MetaClass type,
                                Statement statement,
                                String contentType)

demarshal

public static Statement demarshal(MetaClass type,
                                  Statement statement,
                                  String accepts)

Errai 3.0.1-SNAPSHOT

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