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);
}
Aggregations