public class DefaultDefinitionMarshaller extends Object implements ServerMarshaller<Object>
Constructor and Description |
---|
DefaultDefinitionMarshaller(MappingDefinition definition) |
Modifier and Type | Method and Description |
---|---|
Object |
demarshall(EJValue o,
MarshallingSession ctx) |
static Class |
getClassReference(EJObject oMap) |
Object[] |
getEmptyArray()
Returns an empty array of the type handled by this marshaller.
|
String |
marshall(Object o,
MarshallingSession ctx) |
void |
marshall(OutputStream outstream,
Object o,
MarshallingSession mSession) |
static void |
setProperty(Object i,
Field f,
Object v) |
public DefaultDefinitionMarshaller(MappingDefinition definition)
public Object[] getEmptyArray()
Marshaller
List.toArray(T[])
.getEmptyArray
in interface Marshaller<Object>
public Object demarshall(EJValue o, MarshallingSession ctx)
demarshall
in interface Marshaller<Object>
public String marshall(Object o, MarshallingSession ctx)
marshall
in interface Marshaller<Object>
public void marshall(OutputStream outstream, Object o, MarshallingSession mSession) throws IOException
marshall
in interface ServerMarshaller<Object>
IOException
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.