Class SimpleSerializerFactory

    • Constructor Detail

      • SimpleSerializerFactory

        public SimpleSerializerFactory​(java.lang.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.
    • Method Detail

      • getSerializerAs

        public Serializer getSerializerAs​(java.lang.String mechanismType)
                                   throws JAXRPCException
        Description copied from interface: SerializerFactory
        Returns a Serializer for the specified XML processing mechanism type.
        Specified by:
        getSerializerAs in interface SerializerFactory
        Overrides:
        getSerializerAs in class BaseSerializerFactory
        Parameters:
        mechanismType - - XML processing mechanism type [TBD: definition of valid constants]
        Returns:
        a Serializer for the specified XML processing mechanism type
        Throws:
        JAXRPCException - if SerializerFactory does not support the specified XML processing mechanism