1 16 17 package org.apache.axis.encoding.ser; 18 19 import javax.xml.namespace.QName ; 20 21 22 27 public class ArrayDeserializerFactory extends BaseDeserializerFactory { 28 private QName componentXmlType; 29 30 public ArrayDeserializerFactory() { 31 super(ArrayDeserializer.class); 32 } 33 34 38 public ArrayDeserializerFactory(QName componentXmlType) { 39 super(ArrayDeserializer.class); 40 this.componentXmlType = componentXmlType; 41 } 42 43 50 public javax.xml.rpc.encoding.Deserializer getDeserializerAs(String mechanismType) { 51 ArrayDeserializer dser = (ArrayDeserializer) super.getDeserializerAs(mechanismType); 52 dser.defaultItemType = componentXmlType; 53 return dser; 54 } 55 56 public void setComponentType(QName componentType) { 57 componentXmlType = componentType; 58 } 59 } | Popular Tags |