Search in sources :

Example 1 with ArraySerializerFactory

use of org.apache.axis.encoding.ser.ArraySerializerFactory in project tomee by apache.

the class ArrayTypeInfo method register.

public void register(TypeMapping typeMapping) {
    // SerializerFactory ser = BaseSerializerFactory.createFactory(getSerFactoryClass(), getClazz(), getqName());
    // ((ArraySerializerFactory)ser).setComponentType(componentType);
    // ((ArraySerializerFactory)ser).setComponentQName(componentQName);
    // DeserializerFactory deser = BaseDeserializerFactory.createFactory(getDeserFactoryClass(), getClazz(), getqName());
    // ((ArrayDeserializerFactory)deser).setComponentType(componentType);
    ArraySerializerFactory ser = new ArraySerializerFactory(componentType, componentQName);
    ArrayDeserializerFactory deser = new ArrayDeserializerFactory();
    typeMapping.register(getClazz(), getqName(), ser, deser);
}
Also used : ArrayDeserializerFactory(org.apache.axis.encoding.ser.ArrayDeserializerFactory) ArraySerializerFactory(org.apache.axis.encoding.ser.ArraySerializerFactory)

Aggregations

ArrayDeserializerFactory (org.apache.axis.encoding.ser.ArrayDeserializerFactory)1 ArraySerializerFactory (org.apache.axis.encoding.ser.ArraySerializerFactory)1