Modifier and Type | Class and Description |
---|---|
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 and Description |
---|
TypeMarshaller() |
Modifier and Type | Method and Description |
---|---|
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) |
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.