Errai 3.0.1-SNAPSHOT

org.jboss.errai.enterprise.rebind
Class TypeMarshaller.PrimitiveTypeMarshaller

java.lang.Object
  extended by org.jboss.errai.enterprise.rebind.TypeMarshaller.PrimitiveTypeMarshaller
Enclosing class:
TypeMarshaller

public static class TypeMarshaller.PrimitiveTypeMarshaller
extends Object

Works for all types that have a 'copy constructor', a toString() representation and a valueOf() method (all primitive wrapper types and java.lang.String). Will only be used in case text/plain was specified as mime type.


Constructor Summary
TypeMarshaller.PrimitiveTypeMarshaller()
           
 
Method Summary
static boolean canHandle(MetaClass type, String mimeType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeMarshaller.PrimitiveTypeMarshaller

public TypeMarshaller.PrimitiveTypeMarshaller()
Method Detail

canHandle

public static boolean canHandle(MetaClass type,
                                String mimeType)

Errai 3.0.1-SNAPSHOT

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