public class DefaultArrayMarshaller extends Object implements Marshaller<Object>
Constructor and Description |
---|
DefaultArrayMarshaller(MetaClass arrayType,
Marshaller<Object> outerMarshaller) |
Modifier and Type | Method and Description |
---|---|
Object |
demarshall(EJValue a0,
MarshallingSession a1) |
Object[] |
getEmptyArray()
Returns an empty array of the type handled by this marshaller.
|
Class<Object> |
getTypeHandled() |
String |
marshall(Object a0,
MarshallingSession a1) |
public DefaultArrayMarshaller(MetaClass arrayType, Marshaller<Object> outerMarshaller)
public Object demarshall(EJValue a0, MarshallingSession a1)
demarshall
in interface Marshaller<Object>
public String marshall(Object a0, MarshallingSession a1)
marshall
in interface Marshaller<Object>
public Object[] getEmptyArray()
Marshaller
List.toArray(T[])
.getEmptyArray
in interface Marshaller<Object>
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.