ArraySerializerFactorypublic class ArraySerializerFactory extends BaseSerializerFactory SerializerFactory for arrays |
Fields Summary |
---|
private QName | componentType | private QName | componentQName |
Constructors Summary |
---|
public ArraySerializerFactory()
this(Object[].class, Constants.SOAP_ARRAY);
| public ArraySerializerFactory(Class javaType, QName xmlType)
super(ArraySerializer.class, xmlType, javaType);
| public ArraySerializerFactory(QName componentType)
super(ArraySerializer.class, Constants.SOAP_ARRAY, Object[].class);
this.componentType = componentType;
| public ArraySerializerFactory(QName componentType, QName componentQName)
this(componentType);
this.componentQName = componentQName;
|
Methods Summary |
---|
public javax.xml.namespace.QName | getComponentQName()
return componentQName;
| public javax.xml.namespace.QName | getComponentType()
return componentType;
| protected org.apache.axis.encoding.Serializer | getGeneralPurpose(java.lang.String mechanismType)Obtains a serializer by invoking (javaType, xmlType)
on the serClass.
// Do something special only if we have an array component type
if (componentType == null)
return super.getGeneralPurpose(mechanismType);
else
return new ArraySerializer(javaType, xmlType, componentType, componentQName);
| public void | setComponentQName(javax.xml.namespace.QName componentQName)
this.componentQName = componentQName;
| public void | setComponentType(javax.xml.namespace.QName componentType)
this.componentType = componentType;
|
|