FileDocCategorySizeDatePackage
SimpleSerializerFactory.javaAPI DocApache Axis 1.41615Sat Apr 22 18:57:28 BST 2006org.apache.axis.encoding.ser

SimpleSerializerFactory

public class SimpleSerializerFactory extends BaseSerializerFactory
author
Glen Daniels (gdaniels@apache.org)

Fields Summary
private boolean
isBasicType
Constructors Summary
public SimpleSerializerFactory(Class javaType, QName xmlType)
Note that the factory is constructed with the QName and xmlType. This is important to allow distinction between primitive values and java.lang wrappers.


                                 
         
        super(SimpleSerializer.class, xmlType, javaType);
        this.isBasicType = JavaUtils.isBasic(javaType);
    
Methods Summary
public javax.xml.rpc.encoding.SerializergetSerializerAs(java.lang.String mechanismType)

        if (this.isBasicType) {
            return new SimpleSerializer(javaType, xmlType);
        } else {
            return super.getSerializerAs(mechanismType);
        }