org.jboss.errai.enterprise.rebind
Class TypeMarshaller
java.lang.Object
org.jboss.errai.enterprise.rebind.TypeMarshaller
public class TypeMarshaller
- extends Object
Generates the required Statement
s 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). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeMarshaller
public TypeMarshaller()
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)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.