org.jboss.errai.marshalling.server.marshallers
Class DefaultDefinitionMarshaller
java.lang.Object
org.jboss.errai.marshalling.server.marshallers.DefaultDefinitionMarshaller
- All Implemented Interfaces:
- Marshaller<Object>, ServerMarshaller<Object>
public class DefaultDefinitionMarshaller
- extends Object
- implements ServerMarshaller<Object>
- Author:
- Mike Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDefinitionMarshaller
public DefaultDefinitionMarshaller(MappingDefinition definition)
setProperty
public static void setProperty(Object i,
Field f,
Object v)
getEmptyArray
public Object[] getEmptyArray()
- Description copied from interface:
Marshaller
- Returns an empty array of the type handled by this marshaller. Useful in conjunction with
List.toArray(T[])
.
- Specified by:
getEmptyArray
in interface Marshaller<Object>
- Returns:
- a one-dimensional zero-length array of the type handled by this marshaller.
demarshall
public Object demarshall(EJValue o,
MarshallingSession ctx)
- Specified by:
demarshall
in interface Marshaller<Object>
marshall
public String marshall(Object o,
MarshallingSession ctx)
- Specified by:
marshall
in interface Marshaller<Object>
marshall
public void marshall(OutputStream outstream,
Object o,
MarshallingSession mSession)
throws IOException
- Specified by:
marshall
in interface ServerMarshaller<Object>
- Throws:
IOException
getClassReference
public static Class getClassReference(EJObject oMap)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.