org.jboss.errai.enterprise.rebind
Class TypeMarshaller.PrimitiveTypeMarshaller
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeMarshaller.PrimitiveTypeMarshaller
public TypeMarshaller.PrimitiveTypeMarshaller()
canHandle
public static boolean canHandle(MetaClass type,
String mimeType)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.